you stop at the width of the port, then measure down the middle. for instance, if your part was 6" wide, stop 6" from the rear wall and make your turn. subtract the width of your port from the overall length for your port wall. say it was 6 wide and you make one turn and needed it to be 30", you would have 24" of port wall. hope that make sense lol