skip template conbstrains generator if there is no atoms with bfractor
bugfix for wrong templates