Yeah, it would be better to derive from page size. I mostly pushed this PR up just so I could use the GitHub diff tool. :)