using the smaller of the two dimensions as basis for the circle radius
Merge pull request #1 from getu-lar/master

using the smaller of the two dimensions as basis for the circle radius