Explicity cast start and step to int in `regular_grid`

Addresses issues described in #851.