set everything to zero at a jump