imrpoved execution order
get point within sphere