Fixed chunk calculation.