merge all levels