Simplified the getBuildingsWithinReach(Flag) method