AN OPTIMIZATION MODEL FOR A HIERARCHICAL SPATIAL SYSTEM