Improving layout's paths