Avoid trying to step by zero in small cubes

Minor bugfix - for tests, we want small cubes, and small cubes crashed the gui initialization because python division was yielding step sizes of zero.