Create a median range with lower and upper bounds. Useful for creating paginations.