adding shared-mem-size