Joint optimization of level of repair analysis and spare parts stocks door