partially finished (and totally not working properly) attempt at alternating bursts of time between the path and the tree modulation cycles