Fixed bounds calculations.