Designing lines with gabions in a slope