Be sure the di_size in a map header has the correct value.