You cannot generate a maze above 30 squares to prevent heavy lag, or in some cases a server crash. For an example of how many of the base entities the size 30 will create, here is the equation for one floor. ((30^2)1) Beware of making large mazes, as this can cause lag on the server and in the worst cases, even a crash.
I will be working on optimization of the code to reduce the stress put on the server...