There is unnecessary space at the bottom of the image This problem can be resolved by modifying the `merge_all` function.