check scalability for base case, has a bug in merge step