split step counter into clock and substep