A small optimization. thnx @staabm