Mitigate floating point precicion issues in rolling waves.