Used BH only to build sets

Resolved #1148