Structure determination of a chemical compound