smoothen, bond_length and write_... added