add boundingBox method to PDFScanner