new algo started for shared mem qs