RF: changed the type def for a variable in the cython method