* allow to create amounts of dimension zones that aren't powers of two (patch by Devin Anderson, #89, slightly modified)