SmallGroupFinder prototype and bug fix