page apnx algorithm to search for all tags with pagebreak in them.