Simplify tick loop to help debugging.