merged instances into stages