New multiple structure handling. New approach to distance calculation. Robust indexing.