updated to be consistent with changes made in findBestAperture