first implementation of mortaring (brute force - still need to prune trace element candidates to speed it up); cf. #109