add profile into merge sort buttom up