Gh61 min max width logic

issue #61