Stochastic allocation is the main characteristic of processes which can be described in wooden structures. Random distribution of stresses and deformations in such structures is mostly based on timber imperfections, such as different curvature of sticks, presence of knots, twigs and gnarls. Due to restoration works using of test methods and experiments in wooden structures, especially in architectural monuments, is limited because of high labor contribution and restrictions for protection of historic cultural heritage. Therefore, for decreasing efforts application of statistical methods with help of software tools is necessary and highly important in case of restoration of wooden structures. In particular, this article describes solution of design problem in choosing the optimal step of wall dowels with help of Monte Carlo method by the time of restoration in the Church of the Transfiguration on Kizhi Island. For analysis of stresses in cribbed panel wall an analytical model, which describes structural behavior sticks and dowels according to all imperfections, with three different dowels steps (0.67 m, 1.0 m and 1.67 m) was created in SCAD software. Stick curvature has been changed longitudinal direction and after that calculation of stresses was performed. As the result the most optimal dowel step is one meter, such as it produces minimal stresses due to the minimum intervention in the structure.