I was a bit confused about boolean types in Cython... Thanks for this suggestion :)