Fit all terms by recursively decreasing the size until it fits