BP2 - neeed to tweak code for better performance
Fix for compilation config for MPIR (MD for debug instead of MTd)