Match Each Step With Layer