if the code part of a node is too long, truncate it.