Formatting
Improved implementation of getRangeBounds().