New retiming algorithm for builder.py

I implemented a new retiming algorithm for builder.py to explicitely define what happens,
when you define frame4frame+syllable+retime effects.