Alignment Pattern Finder class edited