How to avoid cutting corners past high-penalty nodes?

Hey all,

I’m making a top down 2d colony simulator. Currently to avoid any player confusion/soft locking, I make wall tiles give a very high penalty instead of being impossible to move through, so that colonists cannot lock themselves in rooms they complete etc.

However, I also want to utilize the “don’t cut corners” functionality offered in grid graph settings, but this seems to only work if the tiles at the corners are impossible to move through.

Is there any clear way to utilize “don’t cut corners” with high penalty nodes? Seems like the only option will be to make walls impossible to move through.