Added DY shape variation (letting r_{in,out} float, constrained or unconstrained, upon request)