ZHT with compare and swap operation