Revert "Removing addition of minSpareRows"

This reverts commit 824282f09189637ca91bb3d06c7a7ac522b27f88.
Merge pull request #17 from Areson/bug-undoFixSpareRows

Revert "Removing addition of minSpareRows"