By: ValentinHirschi <valentin.hirschi@gmail.com>
thread conditional context through canonical sampling maps