Improving Performance Of Highly-Programmable Concurrent Applications By Leveraging Parallel Nesting And Weaker Isolation Levels