Gas outflow into vacuum over a forward- and backward-facing step in a wide range of rarefaction