remove peg implemented for convex shapes, commit before merging
Commit after merging