adding offspecular reduction library