page size test
remove redundant import
refactor pdf stream reader