col counts caculation optimized
recording the page number you have read