Fixing Indexes and Free Slots for atomics