Avoid divide by zero in guidance heuristic