Added bottom up merge