Applied small optimization