Make merge vars stack local