Replaced the branched lookup of directProd by a deterministic array read.

With branch misses, the pipelines can break.