By: ValentinHirschi <valentin.hirschi@gmail.com>
Avoid unused native argument copies during contour registration