Modification of  GetFieldSize() method