added maprect to levelgenerator