It’s tricky. There is an explanation of one method here:
and here:
mikeil (BOB member since 2015-02-18)