Implemented support for atomic counter buffers. Merge from branch voxel