somp optimizations