lib: 25% mul() speed improvement