let buffer be 4 pages by default