Implemented re-insertion on overflow.