fixed error in subdivision, still crashing occationally on geodesic calculation