add weight func 1. distance, 2. normals, 3. weighted dis+norm