Change to only one layer instead of a layer per agent.