Added miss counter.
Use one CAS instead of 3 for each alloc call.