using Release mode in most places to economise memory usage
Merge pull request #154 from slayoo/master

using Release mode in most places to economise memory usage