I think the c code now works with the new python implementation