PDFBOX-4892: revert last commit, values is reused and gets another length which results in out of bounds exception with PDRange