avoid mongodb document overflow due to slot history