Modeling curved staircase made of wood and railing