Agent-based modelling for early-stage optimization of spatial structures. (March 2023)