Simplified the way it handles non-integer increments.