adapted BlockForm, added minBlocks setting