Supporting custom temp page sizes