Incorrect map gen logic