small changes in GetSize