avoid a constant folding that can use too much memory

Closes PR 13738
raco setup: fix subcollection traversal

Closes PR 13740
fix place-channel test