Bug fix.  Check if data type and then compute the size.