Urban fabrics as a tool of urban performance mitigation. Algorithmic approach for bridging building geometry with urban performance optimisation