translated perebor -> layout1d