use average ratio better to create even gids
use average ratio better to create even gids
maxRowHeight option added