lightweight matching of spatial parts