Performance bug fix

range(0,16777215) makes REAL list with 16M elements
Merge pull request #1 from stamparm/patch-1

Performance bug fix