Optimization of spatial infrastructure for EV charging