Speeding it up using cython
Merge branch 'optimization'

Cython becomes the default implementation for getSize