looks like we weren't calculating the length correctly. @sbezboro