Multigrain shared memory (ACM transactions on computer systems, 2000)