64bit pointer is atomicity, so remove flags array