minimal and maximal aspect ratio support minor improvement
minimal and maximal aspect ratio support demo