Use global pool variable in resize methods