Added method to calculate Maximum allowable rows to be virtually render.