recursively optimize the tracks
sync up
create merge track function
create merge track function
update stats now updates all derived fields
update stats now updates all derived fields
merge parent and child tracks