The junction box is used to keep the group of multiple wires at a reasonable distance before the wires in the electrical box in the US which forces the wires to stuff and bend in the box when you position the box. So you have to see that the junction box should be located at the precise length of the floor. EzBoxPro will help you with this
View Site:- https://ezboxpro.com/how-to-install-ezboxpro/