Find the best distance to choose an edge, not just the first near zero
Added option to remove wood as in real life
doc and zip updated with through mortise