ready for deborah with fixes on resizing and not deleting all reps even in a different instrument or measure