store len(alignedPoints) in a var for retrieval, refs #89
Merge pull request #90 from obfuscurity/minor_alignedPoints_optimization

Store len(alignedPoints) in a var for retrieval