Fixed edge case for paging fit algorithm