fixed error with paging (was off by one because multiplication had higher presidence