re-zeroes every z level to prevent drift