Added brackets for const lambdas Converted const lambdas with multiple instructions to functions
Related to #19