tail, head overflow case fix
all tests are green
tail, head overflow concurrent case fix
all tests are green