In reply to cgales: Thanks for the response @cgales. I have come across the solution that you mentioned while doing a little google search. Is there any work around if I do not have privilege of making change to the C implementation?