Correlation of thermal expansion with the molecular width network dimensionality and bending in crystals