a bit of optimization in em(), mult() and related functions