The initial version. The same one which is in the thesis.