Range check when building
Win condition