Construct a plane at certain points on a mesh


I want to make boxes at certain points on a tarrain (mesh).
I tried to find the normal vectors for the mesh from these points, and make planes from the plane normals. this works for 9 of 10 points. do anyone have a better solution for this? thanks

PlaneOnMesh (244.7 KB)
Must be bored.