write the node width in the chain lists
fix a bug in steps