Add optimization of occult constants

Placed after deconv, because it could be done inside deconv as well,
if we would use Seltenreich's version.