add buttom up for merge sorting