First draft of patching variant to find the best matching one. Refs #23