set maze max size