dir structure merge