condense mayer-vietoris into one file