synchronization with C++ version
Merge branch 'master' into multidirs
Merge branch 'multidirs' into beta