fixed shared memory usage in m.cu, but hash_insert suffers performance degradation