Worked on max mtime after resolving includes + refactored getMergedTree()
Added permutation filter for both merged methods