walls to shortpath