~polymorphic~ bags - update 5

working on rebalance function