[Truffle] Move array building into a node.