Remove runtime package dependency, properly get max int.
Remove math dependency
Merge pull request #54 from trinchan/master

Remove runtime package dependency when getting maximum cell indices