A Spatially Localized Architecture for Fast and Modular Computation at the Molecular Scale