You need to connect the wires in distribution boxes. Otherwise, it will be problematic to eliminate problems in a certain area. According to the rules, in each room it is worth fixing a separate box. Only if there are a large number of electrical appliances in one room, there can be several boxes, since all wires cannot fit in one box.