huge speed boost with cython
improved setup