Merge sort had a bug. Forgot to multiply the lenghts.