dynamic amount of layout steps