updated mdat

Updated mdat to have one constructor and call the SetSize method.