Uses typed array for topology arrays