added aspect fit and aspect fill computation