- improve behaviour of floorWithEpsilon helper in bucket code, and use in more places so that near-integral values are rounded correctly.
- improve behaviour of floorWithEpsilon helper in bucket code, and use in more places so that near-integral values are rounded correctly.