use Integer? for cpsize.