some optimizations to strassen