We fill the opening with mounting foam without removing pieces of bars. Then, when the foam dries, it is necessary to finish this area with gypsum, and then putty. All the cracks between the window and the windowsill must be filled with a special sealant. If you comply with all these rules, you can save a lot of money.