try to minimize atomic ops + back to batch size = 1024