Fixed formating and removed reMerge1(); from code since it is not used
anymore.