Adjusted indentation and renamed function to smallest-triple.