minor improvements to min/max aspect ratio