minSize from provided sizes

create minSize Dimension from provided width and height
Merge pull request #272 from Zavael/master

minSize from provided sizes