Computation of initial conditions for a thin disc as an extension of Dehnen algorithm