shared mem LR working