improve inserting efficiency