Threaded inversion algorithm
Merge remote-tracking branch 'origin/master'