Added ability to set constraints on the output buffer.