calculate the burriedness of each grid point
optimized the speed to find grid points in large proteins