Retreat 30 mm from each door of the lower edge and make a mark with a pencil on the side bars of the box. After that, carefully cut all the excess of the beam. If the door is installed in the room with a large slope of the floor, then the gap must be calculated separately using the level and roulette.