allow mazes to vary in width and height