A small optimization