Optimal Economic Growth Through Capital Accumulation in a Spatially Heterogeneous Environment