1. A method comprising: computing latencies of a plurality of expression trees in a basic block; selecting a first and a second expression tree from the plurality of expression trees based on the computed latencies, wherein the first expression tree is isomorphic and independent to the second expression tree; generating vectorization code based on the first and second expression trees, wherein at least one of the computing, the selecting and the generating are executed on a digital device.