Algoritm places the component