Almost exact Mendelian randomization