Well, I'll explain lol. The heightmap has to be 513x513. That's the actual file for the map terrain. When you use it in-game, theres technically not a limit to how tall or wide it can be. In map maker, it starts you off at 5,000 wide. The two really aren't connected.