Block creation algorithms

new algorithm "Similar Elements", the most fine-grained. Preference
pages for algorithm selection