Compacted the merge method in GAConfiguration