Add boundary and modified orientation