Fixed so that static pages can be of different sizes