Get real size to function