verify boundaries on MapAt()