Molecular modelling of the crystal structures of long-chain compounds door