We consider very simple model of N agents in Rn, each agent communicating with two neighbors. Neither total number N of agents nor any “centralized” information is available to an individual agent. Linear algorithms of control are presented which guarantee that the agents will be located equidistantly on a straight line, defined by boundary points. Various extensions of the model are discussed.