When used over water, OnPasteFinished returns an invalid Y. It returns the distance between the water level and the bottom plus the h parameter.
For example, on grid A0 where the height between the surface and the bottom is around 50, during pasting, h -50 is used; then OnPasteFinished returns -99.99.
Using the same parameters but using it over the ground, it returns correct values.