root_imbalance function

Root imbalance