Add pressure-barrier option, fix issue #28