An Optimal Approach to Design of Joinery for Renovation of Panel Buildings