two another traverse by layer algo