Efficient bucket insertion