Prevent bogus map sizes