minSize from provided sizes

create minSize Dimension from provided width and height. If minsize is provided inside hints, it still gets overwritten
it was not tested, tests failed at aztec barcode