Fixed Brute and added tests to check if it works when multiple merging is done same time