Need to resolve order dependencies, but almost works when manually fixed. Put "cdef struct IntPoint" immediately after long64.