Add memory ordering between todo marker and dimensions (GH-97)