add caculate size