Make bounds-x and bounds-y functions easier to read.