finished minHBLT, fixed flaws and fixed main for -il