Added geodesic support for shapes