Integrate the `rectangular_patch` machinery from the test directory somehow in `rectangular_shape.jl`