tail, head overflow concurrent case fix
all tests are green