I suspect this has to do with processbyte not taking log length into account. Actually thats probably what it is. This is an edge case but do fix!