the beam had sunk close to the water before it reached the piling , and the men on the piling were hauling hard , trying to pull it up before the water grabbed the end and swung it out of their grasp .