"Casting rays and extracting bathymetry values" hangs