changed reproject_fuzzy to a procedure and take config from calling parameters