fanout logic for layout. almost done.
5 files changed