working prototype for editing large geometries, needs more work though