Added Release build configuration and tweaked the implementation for heavy lifting