optimize the SlotMap class