diff -Nru pyresample-1.9.3/.bumpversion.cfg pyresample-1.10.1/.bumpversion.cfg --- pyresample-1.9.3/.bumpversion.cfg 2018-06-08 20:33:37.000000000 +0000 +++ pyresample-1.10.1/.bumpversion.cfg 2018-07-03 08:44:15.000000000 +0000 @@ -1,9 +1,9 @@ [bumpversion] -current_version = 1.9.3.gamma0 +current_version = 1.10.1 commit = True tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)((?P
[a-z]+)(?P\d+))?(\.(?Pdev)(?P\d+))?
-serialize = 
+serialize =
 	{major}.{minor}.{patch}{pre}{num}.{release}{dev}
 	{major}.{minor}.{patch}{pre}{num}
 	{major}.{minor}.{patch}.{release}{dev}
@@ -13,12 +13,12 @@
 
 [bumpversion:part:release]
 optional_value = gamma
-values = 
+values =
 	dev
 	gamma
 
 [bumpversion:part:dev]
-values = 
+values =
 	0
 	1
 	2
@@ -28,9 +28,8 @@
 
 [bumpversion:part:pre]
 optional_value = final
-values = 
+values =
 	a
 	b
 	rc
 	final
-
diff -Nru pyresample-1.9.3/CHANGELOG.md pyresample-1.10.1/CHANGELOG.md
--- pyresample-1.9.3/CHANGELOG.md	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/CHANGELOG.md	2018-07-03 08:44:15.000000000 +0000
@@ -1,4 +1,30 @@
+
+
 ###############################################################################
+## Version 1.10.1 (2018/07/03)
+
+
+### Pull Requests Merged
+
+#### Bugs fixed
+
+* [PR 130](https://github.com/pytroll/pyresample/pull/130) - Fix log message not to rely on the proj key
+* [PR 129](https://github.com/pytroll/pyresample/pull/129) - Ignore proj dicts with no  key for slicing
+
+In this release 2 pull requests were closed.
+
+
+## Version 1.10.0 (2018/06/25)
+
+### Pull Requests Merged
+
+#### Features added
+
+* [PR 128](https://github.com/pytroll/pyresample/pull/128) - Add option to provide KDTree's 'mask' argument when querying
+
+In this release 1 pull request was closed.
+
+
 ## Version 1.9.3 (2018/06/08)
 
 ### Issues Closed
@@ -15,12 +41,11 @@
 * [PR 125](https://github.com/pytroll/pyresample/pull/125) - Fix area slices not working for non-geos projections
 * [PR 119](https://github.com/pytroll/pyresample/pull/119) - Add hashing to StackedAreaDefinitions
 
-In this release 1 pull requests were closed.
+In this release 1 pull request was closed.
 
 
 ## Version 1.9.2 (2018/05/13)
 
-
 ### Pull Requests Merged
 
 #### Bugs fixed
@@ -36,7 +61,6 @@
 
 ## Version 1.9.1 (2018/05/03)
 
-
 ### Pull Requests Merged
 
 #### Features added
diff -Nru pyresample-1.9.3/debian/changelog pyresample-1.10.1/debian/changelog
--- pyresample-1.9.3/debian/changelog	2018-06-12 12:55:34.000000000 +0000
+++ pyresample-1.10.1/debian/changelog	2018-07-14 11:50:40.000000000 +0000
@@ -1,3 +1,25 @@
+pyresample (1.10.1-1) unstable; urgency=medium
+
+  [ Bas Couwenberg ]
+  * Bump Standards-Version to 4.1.5, no changes.
+
+  [ Antonio Valentino ]
+  * New upstream release.
+  * debian/control
+    - require pykdtree >= 1.3.1.
+  * debian/patches
+    - drop test_spherical.patch, applied upstrem.
+    - refresh remaining patches.
+    - new 0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch:
+      skip tests requiring dask if dask is not available.
+    - new 0004-Regenerate-cython-extensions.patch
+      Fixes a FTBFS with Python 3.7 (Closes: #903530).
+    - New debian/patches/0005-Fix-StopIteration-handling.patch.
+      Fix StopIteration handling for compatibility with Python 3.7 and
+      PEP 479. See also https://github.com/pytroll/pyresample/pull/134.
+
+ -- Antonio Valentino   Sat, 14 Jul 2018 11:50:40 +0000
+
 pyresample (1.9.3-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru pyresample-1.9.3/debian/control pyresample-1.10.1/debian/control
--- pyresample-1.9.3/debian/control	2018-06-12 12:55:34.000000000 +0000
+++ pyresample-1.10.1/debian/control	2018-07-08 20:21:45.000000000 +0000
@@ -11,8 +11,8 @@
                python3-setuptools,
                python-numpy,
                python3-numpy,
-               python-pykdtree,
-               python3-pykdtree,
+               python-pykdtree (>= 1.3.1),
+               python3-pykdtree (>= 1.3.1),
                python-pyproj,
                python3-pyproj,
                python-configobj,
@@ -35,7 +35,7 @@
                python3-scipy,
                cython,
                cython3
-Standards-Version: 4.1.4
+Standards-Version: 4.1.5
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pyresample
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pyresample.git
 Homepage: https://github.com/pytroll/pyresample
@@ -49,7 +49,7 @@
          python-numpy,
          python-pyproj,
          python-yaml,
-         python-pykdtree,
+         python-pykdtree (>= 1.3.1),
          python-six,
          python-pyresample-test
 Recommends: python-numexpr,
@@ -78,7 +78,7 @@
          python3-numpy,
          python3-pyproj,
          python3-yaml,
-         python3-pykdtree,
+         python3-pykdtree (>= 1.3.1),
          python3-six,
          python-pyresample-test
 Recommends: python3-numexpr,
diff -Nru pyresample-1.9.3/debian/patches/0002-fix-proj4-initialization.patch pyresample-1.10.1/debian/patches/0002-fix-proj4-initialization.patch
--- pyresample-1.9.3/debian/patches/0002-fix-proj4-initialization.patch	2018-06-12 12:55:34.000000000 +0000
+++ pyresample-1.10.1/debian/patches/0002-fix-proj4-initialization.patch	2018-07-08 20:21:45.000000000 +0000
@@ -21,7 +21,7 @@
    YSIZE: 480
    AREA_EXTENT:  (-20037508.342789244, -10018754.171394622, 20037508.342789244, 10018754.171394622)
 diff --git a/pyresample/test/test_geometry.py b/pyresample/test/test_geometry.py
-index d90ae97..449eb2c 100644
+index 15c0813..0077a31 100644
 --- a/pyresample/test/test_geometry.py
 +++ b/pyresample/test/test_geometry.py
 @@ -401,7 +401,7 @@ class Test(unittest.TestCase):
diff -Nru pyresample-1.9.3/debian/patches/0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch pyresample-1.10.1/debian/patches/0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch
--- pyresample-1.9.3/debian/patches/0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch	1970-01-01 00:00:00.000000000 +0000
+++ pyresample-1.10.1/debian/patches/0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch	2018-07-11 10:38:04.000000000 +0000
@@ -0,0 +1,32 @@
+From: Antonio Valentino 
+Date: Wed, 11 Jul 2018 06:50:33 +0000
+Subject: Skip TestXArrayResamplerNN if dask is not available
+
+---
+ pyresample/test/test_kd_tree.py | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/pyresample/test/test_kd_tree.py b/pyresample/test/test_kd_tree.py
+index dcb3943..fbf91ef 100644
+--- a/pyresample/test/test_kd_tree.py
++++ b/pyresample/test/test_kd_tree.py
+@@ -14,6 +14,11 @@ if sys.version_info < (2, 7):
+ else:
+     import unittest
+ 
++try:
++    import dask.array as da
++except ImportError:
++    da = None
++
+ 
+ class Test(unittest.TestCase):
+ 
+@@ -696,6 +701,7 @@ class Test(unittest.TestCase):
+         self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
+ 
+ 
++@unittest.skipIf(not da, 'dask not available')
+ class TestXArrayResamplerNN(unittest.TestCase):
+     """Test the XArrayResamplerNN class."""
+ 
diff -Nru pyresample-1.9.3/debian/patches/0004-Regenerate-cython-extensions.patch pyresample-1.10.1/debian/patches/0004-Regenerate-cython-extensions.patch
--- pyresample-1.9.3/debian/patches/0004-Regenerate-cython-extensions.patch	1970-01-01 00:00:00.000000000 +0000
+++ pyresample-1.10.1/debian/patches/0004-Regenerate-cython-extensions.patch	2018-07-11 10:38:05.000000000 +0000
@@ -0,0 +1,51362 @@
+From: Antonio Valentino 
+Date: Wed, 11 Jul 2018 06:30:34 +0000
+Subject: Regenerate cython extensions
+
+Compatibility with Python 3.7.
+See also https://github.com/pytroll/pyresample/issues/133
+---
+ pyresample/ewa/_fornav.cpp | 12634 +++++++++++++++++++++++++++----------------
+ pyresample/ewa/_ll2cr.c    | 12554 ++++++++++++++++++++++++++----------------
+ 2 files changed, 16078 insertions(+), 9110 deletions(-)
+
+diff --git a/pyresample/ewa/_fornav.cpp b/pyresample/ewa/_fornav.cpp
+index b3caa15..eac87d2 100644
+--- a/pyresample/ewa/_fornav.cpp
++++ b/pyresample/ewa/_fornav.cpp
+@@ -1,17 +1,26 @@
+-/* Generated by Cython 0.24 */
++/* Generated by Cython 0.28.2 */
+ 
+ /* BEGIN: Cython Metadata
+ {
+     "distutils": {
+         "depends": [
+             "pyresample/ewa/_fornav_templates.h"
+-        ], 
++        ],
+         "extra_compile_args": [
+-            "-O3", 
++            "-O3",
+             "-Wno-unused-function"
+-        ], 
+-        "language": "c++"
+-    }
++        ],
++        "include_dirs": [
++            "pyresample/ewa"
++        ],
++        "language": "c++",
++        "name": "pyresample.ewa._fornav",
++        "sources": [
++            "pyresample/ewa/_fornav.pyx",
++            "pyresample/ewa/_fornav_templates.cpp"
++        ]
++    },
++    "module_name": "pyresample.ewa._fornav"
+ }
+ END: Cython Metadata */
+ 
+@@ -19,10 +28,11 @@ END: Cython Metadata */
+ #include "Python.h"
+ #ifndef Py_PYTHON_H
+     #error Python headers needed to compile C extensions, please install development version of Python.
+-#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
+-    #error Cython requires Python 2.6+ or Python 3.2+.
++#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
++    #error Cython requires Python 2.6+ or Python 3.3+.
+ #else
+-#define CYTHON_ABI "0_24"
++#define CYTHON_ABI "0_28_2"
++#define CYTHON_FUTURE_DIVISION 0
+ #include 
+ #ifndef offsetof
+   #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
+@@ -44,6 +54,12 @@ END: Cython Metadata */
+ #ifndef DL_EXPORT
+   #define DL_EXPORT(t) t
+ #endif
++#define __PYX_COMMA ,
++#ifndef HAVE_LONG_LONG
++  #if PY_VERSION_HEX >= 0x02070000
++    #define HAVE_LONG_LONG
++  #endif
++#endif
+ #ifndef PY_LONG_LONG
+   #define PY_LONG_LONG LONG_LONG
+ #endif
+@@ -52,13 +68,138 @@ END: Cython Metadata */
+ #endif
+ #ifdef PYPY_VERSION
+   #define CYTHON_COMPILING_IN_PYPY 1
++  #define CYTHON_COMPILING_IN_PYSTON 0
++  #define CYTHON_COMPILING_IN_CPYTHON 0
++  #undef CYTHON_USE_TYPE_SLOTS
++  #define CYTHON_USE_TYPE_SLOTS 0
++  #undef CYTHON_USE_PYTYPE_LOOKUP
++  #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #if PY_VERSION_HEX < 0x03050000
++    #undef CYTHON_USE_ASYNC_SLOTS
++    #define CYTHON_USE_ASYNC_SLOTS 0
++  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
++    #define CYTHON_USE_ASYNC_SLOTS 1
++  #endif
++  #undef CYTHON_USE_PYLIST_INTERNALS
++  #define CYTHON_USE_PYLIST_INTERNALS 0
++  #undef CYTHON_USE_UNICODE_INTERNALS
++  #define CYTHON_USE_UNICODE_INTERNALS 0
++  #undef CYTHON_USE_UNICODE_WRITER
++  #define CYTHON_USE_UNICODE_WRITER 0
++  #undef CYTHON_USE_PYLONG_INTERNALS
++  #define CYTHON_USE_PYLONG_INTERNALS 0
++  #undef CYTHON_AVOID_BORROWED_REFS
++  #define CYTHON_AVOID_BORROWED_REFS 1
++  #undef CYTHON_ASSUME_SAFE_MACROS
++  #define CYTHON_ASSUME_SAFE_MACROS 0
++  #undef CYTHON_UNPACK_METHODS
++  #define CYTHON_UNPACK_METHODS 0
++  #undef CYTHON_FAST_THREAD_STATE
++  #define CYTHON_FAST_THREAD_STATE 0
++  #undef CYTHON_FAST_PYCALL
++  #define CYTHON_FAST_PYCALL 0
++  #undef CYTHON_PEP489_MULTI_PHASE_INIT
++  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
++  #undef CYTHON_USE_TP_FINALIZE
++  #define CYTHON_USE_TP_FINALIZE 0
++#elif defined(PYSTON_VERSION)
++  #define CYTHON_COMPILING_IN_PYPY 0
++  #define CYTHON_COMPILING_IN_PYSTON 1
+   #define CYTHON_COMPILING_IN_CPYTHON 0
++  #ifndef CYTHON_USE_TYPE_SLOTS
++    #define CYTHON_USE_TYPE_SLOTS 1
++  #endif
++  #undef CYTHON_USE_PYTYPE_LOOKUP
++  #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #undef CYTHON_USE_ASYNC_SLOTS
++  #define CYTHON_USE_ASYNC_SLOTS 0
++  #undef CYTHON_USE_PYLIST_INTERNALS
++  #define CYTHON_USE_PYLIST_INTERNALS 0
++  #ifndef CYTHON_USE_UNICODE_INTERNALS
++    #define CYTHON_USE_UNICODE_INTERNALS 1
++  #endif
++  #undef CYTHON_USE_UNICODE_WRITER
++  #define CYTHON_USE_UNICODE_WRITER 0
++  #undef CYTHON_USE_PYLONG_INTERNALS
++  #define CYTHON_USE_PYLONG_INTERNALS 0
++  #ifndef CYTHON_AVOID_BORROWED_REFS
++    #define CYTHON_AVOID_BORROWED_REFS 0
++  #endif
++  #ifndef CYTHON_ASSUME_SAFE_MACROS
++    #define CYTHON_ASSUME_SAFE_MACROS 1
++  #endif
++  #ifndef CYTHON_UNPACK_METHODS
++    #define CYTHON_UNPACK_METHODS 1
++  #endif
++  #undef CYTHON_FAST_THREAD_STATE
++  #define CYTHON_FAST_THREAD_STATE 0
++  #undef CYTHON_FAST_PYCALL
++  #define CYTHON_FAST_PYCALL 0
++  #undef CYTHON_PEP489_MULTI_PHASE_INIT
++  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
++  #undef CYTHON_USE_TP_FINALIZE
++  #define CYTHON_USE_TP_FINALIZE 0
+ #else
+   #define CYTHON_COMPILING_IN_PYPY 0
++  #define CYTHON_COMPILING_IN_PYSTON 0
+   #define CYTHON_COMPILING_IN_CPYTHON 1
++  #ifndef CYTHON_USE_TYPE_SLOTS
++    #define CYTHON_USE_TYPE_SLOTS 1
++  #endif
++  #if PY_VERSION_HEX < 0x02070000
++    #undef CYTHON_USE_PYTYPE_LOOKUP
++    #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
++    #define CYTHON_USE_PYTYPE_LOOKUP 1
++  #endif
++  #if PY_MAJOR_VERSION < 3
++    #undef CYTHON_USE_ASYNC_SLOTS
++    #define CYTHON_USE_ASYNC_SLOTS 0
++  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
++    #define CYTHON_USE_ASYNC_SLOTS 1
++  #endif
++  #if PY_VERSION_HEX < 0x02070000
++    #undef CYTHON_USE_PYLONG_INTERNALS
++    #define CYTHON_USE_PYLONG_INTERNALS 0
++  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
++    #define CYTHON_USE_PYLONG_INTERNALS 1
++  #endif
++  #ifndef CYTHON_USE_PYLIST_INTERNALS
++    #define CYTHON_USE_PYLIST_INTERNALS 1
++  #endif
++  #ifndef CYTHON_USE_UNICODE_INTERNALS
++    #define CYTHON_USE_UNICODE_INTERNALS 1
++  #endif
++  #if PY_VERSION_HEX < 0x030300F0
++    #undef CYTHON_USE_UNICODE_WRITER
++    #define CYTHON_USE_UNICODE_WRITER 0
++  #elif !defined(CYTHON_USE_UNICODE_WRITER)
++    #define CYTHON_USE_UNICODE_WRITER 1
++  #endif
++  #ifndef CYTHON_AVOID_BORROWED_REFS
++    #define CYTHON_AVOID_BORROWED_REFS 0
++  #endif
++  #ifndef CYTHON_ASSUME_SAFE_MACROS
++    #define CYTHON_ASSUME_SAFE_MACROS 1
++  #endif
++  #ifndef CYTHON_UNPACK_METHODS
++    #define CYTHON_UNPACK_METHODS 1
++  #endif
++  #ifndef CYTHON_FAST_THREAD_STATE
++    #define CYTHON_FAST_THREAD_STATE 1
++  #endif
++  #ifndef CYTHON_FAST_PYCALL
++    #define CYTHON_FAST_PYCALL 1
++  #endif
++  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
++    #define CYTHON_PEP489_MULTI_PHASE_INIT (0 && PY_VERSION_HEX >= 0x03050000)
++  #endif
++  #ifndef CYTHON_USE_TP_FINALIZE
++    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
++  #endif
+ #endif
+-#if !defined(CYTHON_USE_PYLONG_INTERNALS) && CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x02070000
+-  #define CYTHON_USE_PYLONG_INTERNALS 1
++#if !defined(CYTHON_FAST_PYCCALL)
++#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
+ #endif
+ #if CYTHON_USE_PYLONG_INTERNALS
+   #include "longintrepr.h"
+@@ -66,6 +207,117 @@ END: Cython Metadata */
+   #undef BASE
+   #undef MASK
+ #endif
++#ifndef __has_attribute
++  #define __has_attribute(x) 0
++#endif
++#ifndef __has_cpp_attribute
++  #define __has_cpp_attribute(x) 0
++#endif
++#ifndef CYTHON_RESTRICT
++  #if defined(__GNUC__)
++    #define CYTHON_RESTRICT __restrict__
++  #elif defined(_MSC_VER) && _MSC_VER >= 1400
++    #define CYTHON_RESTRICT __restrict
++  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++    #define CYTHON_RESTRICT restrict
++  #else
++    #define CYTHON_RESTRICT
++  #endif
++#endif
++#ifndef CYTHON_UNUSED
++# if defined(__GNUC__)
++#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
++#     define CYTHON_UNUSED __attribute__ ((__unused__))
++#   else
++#     define CYTHON_UNUSED
++#   endif
++# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
++#   define CYTHON_UNUSED __attribute__ ((__unused__))
++# else
++#   define CYTHON_UNUSED
++# endif
++#endif
++#ifndef CYTHON_MAYBE_UNUSED_VAR
++#  if defined(__cplusplus)
++     template void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
++#  else
++#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
++#  endif
++#endif
++#ifndef CYTHON_NCP_UNUSED
++# if CYTHON_COMPILING_IN_CPYTHON
++#  define CYTHON_NCP_UNUSED
++# else
++#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
++# endif
++#endif
++#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
++#ifdef _MSC_VER
++    #ifndef _MSC_STDINT_H_
++        #if _MSC_VER < 1300
++           typedef unsigned char     uint8_t;
++           typedef unsigned int      uint32_t;
++        #else
++           typedef unsigned __int8   uint8_t;
++           typedef unsigned __int32  uint32_t;
++        #endif
++    #endif
++#else
++   #include 
++#endif
++#ifndef CYTHON_FALLTHROUGH
++  #if defined(__cplusplus) && __cplusplus >= 201103L
++    #if __has_cpp_attribute(fallthrough)
++      #define CYTHON_FALLTHROUGH [[fallthrough]]
++    #elif __has_cpp_attribute(clang::fallthrough)
++      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
++    #elif __has_cpp_attribute(gnu::fallthrough)
++      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
++    #endif
++  #endif
++  #ifndef CYTHON_FALLTHROUGH
++    #if __has_attribute(fallthrough)
++      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
++    #else
++      #define CYTHON_FALLTHROUGH
++    #endif
++  #endif
++  #if defined(__clang__ ) && defined(__apple_build_version__)
++    #if __apple_build_version__ < 7000000
++      #undef  CYTHON_FALLTHROUGH
++      #define CYTHON_FALLTHROUGH
++    #endif
++  #endif
++#endif
++
++#ifndef __cplusplus
++  #error "Cython files generated with the C++ option must be compiled with a C++ compiler."
++#endif
++#ifndef CYTHON_INLINE
++  #if defined(__clang__)
++    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
++  #else
++    #define CYTHON_INLINE inline
++  #endif
++#endif
++template
++void __Pyx_call_destructor(T& x) {
++    x.~T();
++}
++template
++class __Pyx_FakeReference {
++  public:
++    __Pyx_FakeReference() : ptr(NULL) { }
++    __Pyx_FakeReference(const T& ref) : ptr(const_cast(&ref)) { }
++    T *operator->() { return ptr; }
++    T *operator&() { return ptr; }
++    operator T&() { return *ptr; }
++    template bool operator ==(U other) { return *ptr == other; }
++    template bool operator !=(U other) { return *ptr != other; }
++  private:
++    T *ptr;
++};
++
+ #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
+   #define Py_OptimizeFlag 0
+ #endif
+@@ -94,24 +346,116 @@ END: Cython Metadata */
+ #ifndef Py_TPFLAGS_HAVE_FINALIZE
+   #define Py_TPFLAGS_HAVE_FINALIZE 0
+ #endif
++#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
++  #ifndef METH_FASTCALL
++     #define METH_FASTCALL 0x80
++  #endif
++  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs);
++  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
++                                                          Py_ssize_t nargs, PyObject *kwnames);
++#else
++  #define __Pyx_PyCFunctionFast _PyCFunctionFast
++  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
++#endif
++#if CYTHON_FAST_PYCCALL
++#define __Pyx_PyFastCFunction_Check(func)\
++    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)))))
++#else
++#define __Pyx_PyFastCFunction_Check(func) 0
++#endif
++#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
++  #define PyObject_Malloc(s)   PyMem_Malloc(s)
++  #define PyObject_Free(p)     PyMem_Free(p)
++  #define PyObject_Realloc(p)  PyMem_Realloc(p)
++#endif
++#if CYTHON_COMPILING_IN_PYSTON
++  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
++  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
++#else
++  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
++  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
++#endif
++#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
++  #define __Pyx_PyThreadState_Current PyThreadState_GET()
++#elif PY_VERSION_HEX >= 0x03060000
++  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
++#elif PY_VERSION_HEX >= 0x03000000
++  #define __Pyx_PyThreadState_Current PyThreadState_GET()
++#else
++  #define __Pyx_PyThreadState_Current _PyThreadState_Current
++#endif
++#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
++#include "pythread.h"
++#define Py_tss_NEEDS_INIT 0
++typedef int Py_tss_t;
++static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
++  *key = PyThread_create_key();
++  return 0; // PyThread_create_key reports success always
++}
++static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
++  Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
++  *key = Py_tss_NEEDS_INIT;
++  return key;
++}
++static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
++  PyObject_Free(key);
++}
++static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) {
++  return *key != Py_tss_NEEDS_INIT;
++}
++static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) {
++  PyThread_delete_key(*key);
++  *key = Py_tss_NEEDS_INIT;
++}
++static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) {
++  return PyThread_set_key_value(*key, value);
++}
++static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
++  return PyThread_get_key_value(*key);
++}
++#endif // TSS (Thread Specific Storage) API
++#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
++#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
++#else
++#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
++#endif
++#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
++  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
++  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
++#else
++  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
++  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
++#endif
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
++#define __Pyx_PyDict_GetItemStr(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
++#else
++#define __Pyx_PyDict_GetItemStr(dict, name)  PyDict_GetItem(dict, name)
++#endif
+ #if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
+   #define CYTHON_PEP393_ENABLED 1
+   #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
+                                               0 : _PyUnicode_Ready((PyObject *)(op)))
+   #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
+   #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
++  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
+   #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
+   #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
+   #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
++  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
+   #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
+ #else
+   #define CYTHON_PEP393_ENABLED 0
++  #define PyUnicode_1BYTE_KIND  1
++  #define PyUnicode_2BYTE_KIND  2
++  #define PyUnicode_4BYTE_KIND  4
+   #define __Pyx_PyUnicode_READY(op)       (0)
+   #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
+   #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
++  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
+   #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
+   #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
+   #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
++  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
+   #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
+ #endif
+ #if CYTHON_COMPILING_IN_PYPY
+@@ -125,14 +469,12 @@ END: Cython Metadata */
+ #if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
+   #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
+ #endif
++#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
++  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
++#endif
+ #if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
+   #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
+ #endif
+-#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
+-  #define PyObject_Malloc(s)   PyMem_Malloc(s)
+-  #define PyObject_Free(p)     PyMem_Free(p)
+-  #define PyObject_Realloc(p)  PyMem_Realloc(p)
+-#endif
+ #define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
+ #define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
+ #if PY_MAJOR_VERSION >= 3
+@@ -160,7 +502,11 @@ END: Cython Metadata */
+ #ifndef PySet_CheckExact
+   #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
+ #endif
+-#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
++#if CYTHON_ASSUME_SAFE_MACROS
++  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
++#else
++  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
++#endif
+ #if PY_MAJOR_VERSION >= 3
+   #define PyIntObject                  PyLongObject
+   #define PyInt_Type                   PyLong_Type
+@@ -195,56 +541,27 @@ END: Cython Metadata */
+   #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
+ #endif
+ #if PY_MAJOR_VERSION >= 3
+-  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
++  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : (Py_INCREF(func), func))
+ #else
+   #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
+ #endif
+-#if PY_VERSION_HEX >= 0x030500B1
+-#define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
+-#define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
+-#elif CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
+-typedef struct {
+-    unaryfunc am_await;
+-    unaryfunc am_aiter;
+-    unaryfunc am_anext;
+-} __Pyx_PyAsyncMethodsStruct;
+-#define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
+-#else
+-#define __Pyx_PyType_AsAsync(obj) NULL
+-#endif
+-#ifndef CYTHON_RESTRICT
+-  #if defined(__GNUC__)
+-    #define CYTHON_RESTRICT __restrict__
+-  #elif defined(_MSC_VER) && _MSC_VER >= 1400
+-    #define CYTHON_RESTRICT __restrict
+-  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+-    #define CYTHON_RESTRICT restrict
++#if CYTHON_USE_ASYNC_SLOTS
++  #if PY_VERSION_HEX >= 0x030500B1
++    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
++    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
+   #else
+-    #define CYTHON_RESTRICT
++    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
+   #endif
++#else
++  #define __Pyx_PyType_AsAsync(obj) NULL
+ #endif
+-#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
+-
+-#ifndef __cplusplus
+-  #error "Cython files generated with the C++ option must be compiled with a C++ compiler."
+-#endif
+-#ifndef CYTHON_INLINE
+-  #define CYTHON_INLINE inline
++#ifndef __Pyx_PyAsyncMethodsStruct
++    typedef struct {
++        unaryfunc am_await;
++        unaryfunc am_aiter;
++        unaryfunc am_anext;
++    } __Pyx_PyAsyncMethodsStruct;
+ #endif
+-template
+-void __Pyx_call_destructor(T& x) {
+-    x.~T();
+-}
+-template
+-class __Pyx_FakeReference {
+-  public:
+-    __Pyx_FakeReference() : ptr(NULL) { }
+-    __Pyx_FakeReference(const T& ref) : ptr(const_cast(&ref)) { }
+-    T *operator->() { return ptr; }
+-    operator T&() { return *ptr; }
+-  private:
+-    T *ptr;
+-};
+ 
+ #if defined(WIN32) || defined(MS_WINDOWS)
+   #define _USE_MATH_DEFINES
+@@ -259,6 +576,11 @@ static CYTHON_INLINE float __PYX_NAN() {
+   return value;
+ }
+ #endif
++#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
++#define __Pyx_truncl trunc
++#else
++#define __Pyx_truncl truncl
++#endif
+ 
+ 
+ #define __PYX_ERR(f_index, lineno, Ln_error) \
+@@ -266,14 +588,6 @@ static CYTHON_INLINE float __PYX_NAN() {
+   __pyx_filename = __pyx_f[f_index]; __pyx_lineno = lineno; __pyx_clineno = __LINE__; goto Ln_error; \
+ }
+ 
+-#if PY_MAJOR_VERSION >= 3
+-  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
+-  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
+-#else
+-  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
+-  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
+-#endif
+-
+ #ifndef __PYX_EXTERN_C
+   #ifdef __cplusplus
+     #define __PYX_EXTERN_C extern "C"
+@@ -284,42 +598,23 @@ static CYTHON_INLINE float __PYX_NAN() {
+ 
+ #define __PYX_HAVE__pyresample__ewa___fornav
+ #define __PYX_HAVE_API__pyresample__ewa___fornav
+-#include "string.h"
+-#include "stdio.h"
+-#include "stdlib.h"
++/* Early includes */
++#include 
++#include 
+ #include "numpy/arrayobject.h"
+ #include "numpy/ufuncobject.h"
+-#include "_fornav_templates.h"
+ #include "pythread.h"
++#include 
++#include "_fornav_templates.h"
+ #include "pystate.h"
+ #ifdef _OPENMP
+ #include 
+ #endif /* _OPENMP */
+ 
+-#ifdef PYREX_WITHOUT_ASSERTIONS
++#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
+ #define CYTHON_WITHOUT_ASSERTIONS
+ #endif
+ 
+-#ifndef CYTHON_UNUSED
+-# if defined(__GNUC__)
+-#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+-#     define CYTHON_UNUSED __attribute__ ((__unused__))
+-#   else
+-#     define CYTHON_UNUSED
+-#   endif
+-# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
+-#   define CYTHON_UNUSED __attribute__ ((__unused__))
+-# else
+-#   define CYTHON_UNUSED
+-# endif
+-#endif
+-#ifndef CYTHON_NCP_UNUSED
+-# if CYTHON_COMPILING_IN_CPYTHON
+-#  define CYTHON_NCP_UNUSED
+-# else
+-#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
+-# endif
+-#endif
+ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
+                 const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;
+ 
+@@ -347,8 +642,8 @@ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* enc
+     #define __Pyx_sst_abs(value) abs(value)
+ #elif SIZEOF_LONG >= SIZEOF_SIZE_T
+     #define __Pyx_sst_abs(value) labs(value)
+-#elif defined (_MSC_VER) && defined (_M_X64)
+-    #define __Pyx_sst_abs(value) _abs64(value)
++#elif defined (_MSC_VER)
++    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
+ #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+     #define __Pyx_sst_abs(value) llabs(value)
+ #elif defined (__GNUC__)
+@@ -356,8 +651,8 @@ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* enc
+ #else
+     #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
+ #endif
+-static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
+-static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
++static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
++static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
+ #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
+ #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
+ #define __Pyx_PyBytes_FromString        PyBytes_FromString
+@@ -370,23 +665,27 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
+     #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
+     #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
+ #endif
+-#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
+-#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
+ #define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
+ #define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
+ #define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
+ #define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
+ #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
+-#if PY_MAJOR_VERSION < 3
+-static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
+-{
++static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
+     const Py_UNICODE *u_end = u;
+     while (*u_end++) ;
+     return (size_t)(u_end - u - 1);
+ }
+-#else
+-#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
+-#endif
+ #define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
+ #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
+ #define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
+@@ -395,9 +694,11 @@ static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
+ #define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
+ static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
+ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
++#define __Pyx_PySequence_Tuple(obj)\
++    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
+ static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
+ static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS
+ #define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
+ #else
+ #define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
+@@ -493,10 +794,12 @@ bad:
+   #define likely(x)   (x)
+   #define unlikely(x) (x)
+ #endif /* __GNUC__ */
++static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }
+ 
+-static PyObject *__pyx_m;
++static PyObject *__pyx_m = NULL;
+ static PyObject *__pyx_d;
+ static PyObject *__pyx_b;
++static PyObject *__pyx_cython_runtime;
+ static PyObject *__pyx_empty_tuple;
+ static PyObject *__pyx_empty_bytes;
+ static PyObject *__pyx_empty_unicode;
+@@ -505,7 +808,7 @@ static int __pyx_clineno = 0;
+ static const char * __pyx_cfilenm= __FILE__;
+ static const char *__pyx_filename;
+ 
+-/* None.proto */
++/* Header.proto */
+ #if !defined(CYTHON_CCOMPLEX)
+   #if defined(__cplusplus)
+     #define CYTHON_CCOMPLEX 1
+@@ -572,6 +875,18 @@ typedef struct {
+   char is_valid_array;
+ } __Pyx_BufFmt_Context;
+ 
++/* ForceInitThreads.proto */
++#ifndef __PYX_FORCE_INIT_THREADS
++  #define __PYX_FORCE_INIT_THREADS 0
++#endif
++
++/* NoFastGil.proto */
++#define __Pyx_PyGILState_Ensure PyGILState_Ensure
++#define __Pyx_PyGILState_Release PyGILState_Release
++#define __Pyx_FastGIL_Remember()
++#define __Pyx_FastGIL_Forget()
++#define __Pyx_FastGilFuncInit()
++
+ /* Atomics.proto */
+ #include 
+ #ifndef CYTHON_ATOMICS
+@@ -630,9 +945,10 @@ typedef struct {
+   Py_ssize_t strides[8];
+   Py_ssize_t suboffsets[8];
+ } __Pyx_memviewslice;
++#define __Pyx_MemoryView_Len(m)  (m.shape[0])
+ 
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":725
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":730
+  * # in Cython to enable them only on the right systems.
+  * 
+  * ctypedef npy_int8       int8_t             # <<<<<<<<<<<<<<
+@@ -641,7 +957,7 @@ typedef struct {
+  */
+ typedef npy_int8 __pyx_t_5numpy_int8_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":726
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":731
+  * 
+  * ctypedef npy_int8       int8_t
+  * ctypedef npy_int16      int16_t             # <<<<<<<<<<<<<<
+@@ -650,7 +966,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
+  */
+ typedef npy_int16 __pyx_t_5numpy_int16_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":727
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":732
+  * ctypedef npy_int8       int8_t
+  * ctypedef npy_int16      int16_t
+  * ctypedef npy_int32      int32_t             # <<<<<<<<<<<<<<
+@@ -659,7 +975,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
+  */
+ typedef npy_int32 __pyx_t_5numpy_int32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":728
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":733
+  * ctypedef npy_int16      int16_t
+  * ctypedef npy_int32      int32_t
+  * ctypedef npy_int64      int64_t             # <<<<<<<<<<<<<<
+@@ -668,7 +984,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
+  */
+ typedef npy_int64 __pyx_t_5numpy_int64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":732
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":737
+  * #ctypedef npy_int128     int128_t
+  * 
+  * ctypedef npy_uint8      uint8_t             # <<<<<<<<<<<<<<
+@@ -677,7 +993,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
+  */
+ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":733
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":738
+  * 
+  * ctypedef npy_uint8      uint8_t
+  * ctypedef npy_uint16     uint16_t             # <<<<<<<<<<<<<<
+@@ -686,7 +1002,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
+  */
+ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":734
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":739
+  * ctypedef npy_uint8      uint8_t
+  * ctypedef npy_uint16     uint16_t
+  * ctypedef npy_uint32     uint32_t             # <<<<<<<<<<<<<<
+@@ -695,7 +1011,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
+  */
+ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":735
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":740
+  * ctypedef npy_uint16     uint16_t
+  * ctypedef npy_uint32     uint32_t
+  * ctypedef npy_uint64     uint64_t             # <<<<<<<<<<<<<<
+@@ -704,7 +1020,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
+  */
+ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":739
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":744
+  * #ctypedef npy_uint128    uint128_t
+  * 
+  * ctypedef npy_float32    float32_t             # <<<<<<<<<<<<<<
+@@ -713,7 +1029,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
+  */
+ typedef npy_float32 __pyx_t_5numpy_float32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":740
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":745
+  * 
+  * ctypedef npy_float32    float32_t
+  * ctypedef npy_float64    float64_t             # <<<<<<<<<<<<<<
+@@ -722,7 +1038,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
+  */
+ typedef npy_float64 __pyx_t_5numpy_float64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":749
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":754
+  * # The int types are mapped a bit surprising --
+  * # numpy.int corresponds to 'l' and numpy.long to 'q'
+  * ctypedef npy_long       int_t             # <<<<<<<<<<<<<<
+@@ -731,7 +1047,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
+  */
+ typedef npy_long __pyx_t_5numpy_int_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":750
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":755
+  * # numpy.int corresponds to 'l' and numpy.long to 'q'
+  * ctypedef npy_long       int_t
+  * ctypedef npy_longlong   long_t             # <<<<<<<<<<<<<<
+@@ -740,7 +1056,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
+  */
+ typedef npy_longlong __pyx_t_5numpy_long_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":751
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":756
+  * ctypedef npy_long       int_t
+  * ctypedef npy_longlong   long_t
+  * ctypedef npy_longlong   longlong_t             # <<<<<<<<<<<<<<
+@@ -749,7 +1065,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
+  */
+ typedef npy_longlong __pyx_t_5numpy_longlong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":753
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":758
+  * ctypedef npy_longlong   longlong_t
+  * 
+  * ctypedef npy_ulong      uint_t             # <<<<<<<<<<<<<<
+@@ -758,7 +1074,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
+  */
+ typedef npy_ulong __pyx_t_5numpy_uint_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":754
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":759
+  * 
+  * ctypedef npy_ulong      uint_t
+  * ctypedef npy_ulonglong  ulong_t             # <<<<<<<<<<<<<<
+@@ -767,7 +1083,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
+  */
+ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":755
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":760
+  * ctypedef npy_ulong      uint_t
+  * ctypedef npy_ulonglong  ulong_t
+  * ctypedef npy_ulonglong  ulonglong_t             # <<<<<<<<<<<<<<
+@@ -776,7 +1092,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
+  */
+ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":757
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":762
+  * ctypedef npy_ulonglong  ulonglong_t
+  * 
+  * ctypedef npy_intp       intp_t             # <<<<<<<<<<<<<<
+@@ -785,7 +1101,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
+  */
+ typedef npy_intp __pyx_t_5numpy_intp_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":758
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":763
+  * 
+  * ctypedef npy_intp       intp_t
+  * ctypedef npy_uintp      uintp_t             # <<<<<<<<<<<<<<
+@@ -794,7 +1110,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
+  */
+ typedef npy_uintp __pyx_t_5numpy_uintp_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":760
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":765
+  * ctypedef npy_uintp      uintp_t
+  * 
+  * ctypedef npy_double     float_t             # <<<<<<<<<<<<<<
+@@ -803,7 +1119,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
+  */
+ typedef npy_double __pyx_t_5numpy_float_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":761
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":766
+  * 
+  * ctypedef npy_double     float_t
+  * ctypedef npy_double     double_t             # <<<<<<<<<<<<<<
+@@ -812,7 +1128,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
+  */
+ typedef npy_double __pyx_t_5numpy_double_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":762
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":767
+  * ctypedef npy_double     float_t
+  * ctypedef npy_double     double_t
+  * ctypedef npy_longdouble longdouble_t             # <<<<<<<<<<<<<<
+@@ -820,7 +1136,7 @@ typedef npy_double __pyx_t_5numpy_double_t;
+  * ctypedef npy_cfloat      cfloat_t
+  */
+ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+-/* None.proto */
++/* Declarations.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     typedef ::std::complex< float > __pyx_t_float_complex;
+@@ -830,8 +1146,9 @@ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+ #else
+     typedef struct { float real, imag; } __pyx_t_float_complex;
+ #endif
++static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float);
+ 
+-/* None.proto */
++/* Declarations.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     typedef ::std::complex< double > __pyx_t_double_complex;
+@@ -841,6 +1158,7 @@ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+ #else
+     typedef struct { double real, imag; } __pyx_t_double_complex;
+ #endif
++static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double);
+ 
+ 
+ /*--- Type declarations ---*/
+@@ -855,7 +1173,7 @@ struct __pyx_MemviewEnum_obj;
+ struct __pyx_memoryview_obj;
+ struct __pyx_memoryviewslice_obj;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":764
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":769
+  * ctypedef npy_longdouble longdouble_t
+  * 
+  * ctypedef npy_cfloat      cfloat_t             # <<<<<<<<<<<<<<
+@@ -864,7 +1182,7 @@ struct __pyx_memoryviewslice_obj;
+  */
+ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":765
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":770
+  * 
+  * ctypedef npy_cfloat      cfloat_t
+  * ctypedef npy_cdouble     cdouble_t             # <<<<<<<<<<<<<<
+@@ -873,7 +1191,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
+  */
+ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":766
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":771
+  * ctypedef npy_cfloat      cfloat_t
+  * ctypedef npy_cdouble     cdouble_t
+  * ctypedef npy_clongdouble clongdouble_t             # <<<<<<<<<<<<<<
+@@ -882,7 +1200,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
+  */
+ typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":768
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":773
+  * ctypedef npy_clongdouble clongdouble_t
+  * 
+  * ctypedef npy_cdouble     complex_t             # <<<<<<<<<<<<<<
+@@ -1019,7 +1337,7 @@ struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr {
+ };
+ 
+ 
+-/* "View.MemoryView":103
++/* "View.MemoryView":104
+  * 
+  * @cname("__pyx_array")
+  * cdef class array:             # <<<<<<<<<<<<<<
+@@ -1044,7 +1362,7 @@ struct __pyx_array_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":275
++/* "View.MemoryView":278
+  * 
+  * @cname('__pyx_MemviewEnum')
+  * cdef class Enum(object):             # <<<<<<<<<<<<<<
+@@ -1057,7 +1375,7 @@ struct __pyx_MemviewEnum_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":326
++/* "View.MemoryView":329
+  * 
+  * @cname('__pyx_memoryview')
+  * cdef class memoryview(object):             # <<<<<<<<<<<<<<
+@@ -1080,7 +1398,7 @@ struct __pyx_memoryview_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":951
++/* "View.MemoryView":960
+  * 
+  * @cname('__pyx_memoryviewslice')
+  * cdef class _memoryviewslice(memoryview):             # <<<<<<<<<<<<<<
+@@ -1097,7 +1415,7 @@ struct __pyx_memoryviewslice_obj {
+ 
+ 
+ 
+-/* "View.MemoryView":103
++/* "View.MemoryView":104
+  * 
+  * @cname("__pyx_array")
+  * cdef class array:             # <<<<<<<<<<<<<<
+@@ -1111,7 +1429,7 @@ struct __pyx_vtabstruct_array {
+ static struct __pyx_vtabstruct_array *__pyx_vtabptr_array;
+ 
+ 
+-/* "View.MemoryView":326
++/* "View.MemoryView":329
+  * 
+  * @cname('__pyx_memoryview')
+  * cdef class memoryview(object):             # <<<<<<<<<<<<<<
+@@ -1131,7 +1449,7 @@ struct __pyx_vtabstruct_memoryview {
+ static struct __pyx_vtabstruct_memoryview *__pyx_vtabptr_memoryview;
+ 
+ 
+-/* "View.MemoryView":951
++/* "View.MemoryView":960
+  * 
+  * @cname('__pyx_memoryviewslice')
+  * cdef class _memoryviewslice(memoryview):             # <<<<<<<<<<<<<<
+@@ -1209,17 +1527,8 @@ static struct __pyx_vtabstruct__memoryviewslice *__pyx_vtabptr__memoryviewslice;
+ #define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
+ 
+ /* PyObjectGetAttrStr.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
+-    PyTypeObject* tp = Py_TYPE(obj);
+-    if (likely(tp->tp_getattro))
+-        return tp->tp_getattro(obj, attr_name);
+-#if PY_MAJOR_VERSION < 3
+-    if (likely(tp->tp_getattr))
+-        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
+-#endif
+-    return PyObject_GetAttr(obj, attr_name);
+-}
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
+ #else
+ #define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
+ #endif
+@@ -1235,25 +1544,37 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
+ #endif
+ 
+ /* PyThreadStateGet.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
+ #define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
+-#define __Pyx_PyThreadState_assign  __pyx_tstate = PyThreadState_GET();
++#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
++#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
+ #else
+ #define __Pyx_PyThreadState_declare
+ #define __Pyx_PyThreadState_assign
++#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
+ #endif
+ 
+ /* PyErrFetchRestore.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
+ #define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
+ #define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
+ #define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
+ #define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
+ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
+ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++#if CYTHON_COMPILING_IN_CPYTHON
++#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
++#else
++#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
++#endif
+ #else
++#define __Pyx_PyErr_Clear() PyErr_Clear()
++#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
+ #define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
+ #define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
++#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
++#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
+ #define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
+ #define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
+ #endif
+@@ -1273,63 +1594,49 @@ static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\
+     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\
+     const char* function_name);
+ 
+-/* Import.proto */
+-static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);
++/* PyDictContains.proto */
++static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) {
++    int result = PyDict_Contains(dict, item);
++    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
++}
+ 
+-/* SaveResetException.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_ExceptionSave(type, value, tb)  __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
+-static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+-#define __Pyx_ExceptionReset(type, value, tb)  __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
+-static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
++/* DictGetItem.proto */
++#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
++static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key);
++#define __Pyx_PyObject_Dict_GetItem(obj, name)\
++    (likely(PyDict_CheckExact(obj)) ?\
++     __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name))
+ #else
+-#define __Pyx_ExceptionSave(type, value, tb)   PyErr_GetExcInfo(type, value, tb)
+-#define __Pyx_ExceptionReset(type, value, tb)  PyErr_SetExcInfo(type, value, tb)
++#define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
++#define __Pyx_PyObject_Dict_GetItem(obj, name)  PyObject_GetItem(obj, name)
+ #endif
+ 
+-/* PyErrExceptionMatches.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
+-static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
++/* PyCFunctionFastCall.proto */
++#if CYTHON_FAST_PYCCALL
++static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
+ #else
+-#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
++#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
+ #endif
+ 
+-/* GetException.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_GetException(type, value, tb)  __Pyx__GetException(__pyx_tstate, type, value, tb)
+-static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++/* PyFunctionFastCall.proto */
++#if CYTHON_FAST_PYCALL
++#define __Pyx_PyFunction_FastCall(func, args, nargs)\
++    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
++#if 1 || PY_VERSION_HEX < 0x030600B1
++static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
+ #else
+-static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
++#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
++#endif
+ #endif
+ 
+-/* PyDictContains.proto */
+-static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) {
+-    int result = PyDict_Contains(dict, item);
+-    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
+-}
+-
+-/* DictGetItem.proto */
+-#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
+-static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
+-    PyObject *value;
+-    value = PyDict_GetItemWithError(d, key);
+-    if (unlikely(!value)) {
+-        if (!PyErr_Occurred()) {
+-            PyObject* args = PyTuple_Pack(1, key);
+-            if (likely(args))
+-                PyErr_SetObject(PyExc_KeyError, args);
+-            Py_XDECREF(args);
+-        }
+-        return NULL;
+-    }
+-    Py_INCREF(value);
+-    return value;
+-}
+-#else
+-    #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
++/* PyObjectCallMethO.proto */
++#if CYTHON_COMPILING_IN_CPYTHON
++static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
+ #endif
+ 
++/* PyObjectCallOneArg.proto */
++static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
++
+ /* UnicodeAsUCS4.proto */
+ static CYTHON_INLINE Py_UCS4 __Pyx_PyUnicode_AsPy_UCS4(PyObject*);
+ 
+@@ -1348,18 +1655,13 @@ static long __Pyx__PyObject_Ord(PyObject* c);
+     __Pyx_SetItemInt_Fast(o, (Py_ssize_t)i, v, is_list, wraparound, boundscheck) :\
+     (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) :\
+                __Pyx_SetItemInt_Generic(o, to_py_func(i), v)))
+-static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
++static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
+ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v,
+                                                int is_list, int wraparound, int boundscheck);
+ 
+ /* IterFinish.proto */
+ static CYTHON_INLINE int __Pyx_IterFinish(void);
+ 
+-/* PyObjectCallMethO.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
+-#endif
+-
+ /* PyObjectCallNoArg.proto */
+ #if CYTHON_COMPILING_IN_CPYTHON
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
+@@ -1367,9 +1669,6 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
+ #define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
+ #endif
+ 
+-/* PyObjectCallOneArg.proto */
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);
+-
+ /* PyObjectCallMethod0.proto */
+ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name);
+ 
+@@ -1389,8 +1688,16 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);
+ static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index);
+ 
+ /* UnpackTuple2.proto */
+-static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** value1, PyObject** value2,
+-                                             int is_tuple, int has_known_size, int decref_tuple);
++#define __Pyx_unpack_tuple2(tuple, value1, value2, is_tuple, has_known_size, decref_tuple)\
++    (likely(is_tuple || PyTuple_Check(tuple)) ?\
++        (likely(has_known_size || PyTuple_GET_SIZE(tuple) == 2) ?\
++            __Pyx_unpack_tuple2_exact(tuple, value1, value2, decref_tuple) :\
++            (__Pyx_UnpackTupleError(tuple, 2), -1)) :\
++        __Pyx_unpack_tuple2_generic(tuple, value1, value2, has_known_size, decref_tuple))
++static CYTHON_INLINE int __Pyx_unpack_tuple2_exact(
++    PyObject* tuple, PyObject** value1, PyObject** value2, int decref_tuple);
++static int __Pyx_unpack_tuple2_generic(
++    PyObject* tuple, PyObject** value1, PyObject** value2, int has_known_size, int decref_tuple);
+ 
+ /* dict_iter.proto */
+ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name,
+@@ -1398,8 +1705,30 @@ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict,
+ static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos,
+                                               PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict);
+ 
++/* GetItemInt.proto */
++#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
++    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
++               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
++#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
++    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
++                                                              int wraparound, int boundscheck);
++#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
++    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
++                                                              int wraparound, int boundscheck);
++static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
++                                                     int is_list, int wraparound, int boundscheck);
++
+ /* ListAppend.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
+ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
+     PyListObject* L = (PyListObject*) list;
+     Py_ssize_t len = Py_SIZE(list);
+@@ -1416,42 +1745,34 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
+ #endif
+ 
+ /* ArgTypeTest.proto */
+-static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+-    const char *name, int exact);
++#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\
++    ((likely((Py_TYPE(obj) == type) | (none_allowed && (obj == Py_None)))) ? 1 :\
++        __Pyx__ArgTypeTest(obj, type, name, exact))
++static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact);
+ 
+ /* None.proto */
+ static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname);
+ 
++/* IsLittleEndian.proto */
++static CYTHON_INLINE int __Pyx_Is_Little_Endian(void);
++
+ /* BufferFormatCheck.proto */
+-static CYTHON_INLINE int  __Pyx_GetBufferAndValidate(Py_buffer* buf, PyObject* obj,
+-    __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
+-static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
+ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts);
+ static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
+                               __Pyx_BufFmt_StackElem* stack,
+-                              __Pyx_TypeInfo* type); // PROTO
+-
+-/* GetItemInt.proto */
+-#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
+-    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
+-               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
+-#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
+-    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
+-                                                              int wraparound, int boundscheck);
+-#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
+-    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
+-                                                              int wraparound, int boundscheck);
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+-                                                     int is_list, int wraparound, int boundscheck);
++                              __Pyx_TypeInfo* type);
++
++/* BufferGetAndValidate.proto */
++#define __Pyx_GetBufferAndValidate(buf, obj, dtype, flags, nd, cast, stack)\
++    ((obj == Py_None || obj == NULL) ?\
++    (__Pyx_ZeroBuffer(buf), 0) :\
++    __Pyx__GetBufferAndValidate(buf, obj, dtype, flags, nd, cast, stack))
++static int  __Pyx__GetBufferAndValidate(Py_buffer* buf, PyObject* obj,
++    __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
++static void __Pyx_ZeroBuffer(Py_buffer* buf);
++static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
++static Py_ssize_t __Pyx_minusones[] = { -1, -1, -1, -1, -1, -1, -1, -1 };
++static Py_ssize_t __Pyx_zeros[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ 
+ /* ExtTypeTest.proto */
+ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);
+@@ -1464,6 +1785,33 @@ static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);
+ static void __Pyx_RaiseBufferFallbackError(void);
+ 
+ #define __Pyx_BufPtrStrided2d(type, buf, i0, s0, i1, s1) (type)((char*)buf + i0 * s0 + i1 * s1)
++/* SaveResetException.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_ExceptionSave(type, value, tb)  __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
++static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++#define __Pyx_ExceptionReset(type, value, tb)  __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
++static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
++#else
++#define __Pyx_ExceptionSave(type, value, tb)   PyErr_GetExcInfo(type, value, tb)
++#define __Pyx_ExceptionReset(type, value, tb)  PyErr_SetExcInfo(type, value, tb)
++#endif
++
++/* PyErrExceptionMatches.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
++static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
++#else
++#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
++#endif
++
++/* GetException.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_GetException(type, value, tb)  __Pyx__GetException(__pyx_tstate, type, value, tb)
++static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++#else
++static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
++#endif
++
+ /* IncludeStringH.proto */
+ #include 
+ 
+@@ -1492,23 +1840,63 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *); /*proto*/
+ /* GetAttr.proto */
+ static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);
+ 
++/* ObjectGetItem.proto */
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key);
++#else
++#define __Pyx_PyObject_GetItem(obj, key)  PyObject_GetItem(obj, key)
++#endif
++
++/* decode_c_string_utf16.proto */
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = 0;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16LE(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = -1;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16BE(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = 1;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++
+ /* decode_c_string.proto */
+ static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
+          const char* cstring, Py_ssize_t start, Py_ssize_t stop,
+          const char* encoding, const char* errors,
+          PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors));
+ 
++/* GetAttr3.proto */
++static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *);
++
+ /* SwapException.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
+ #define __Pyx_ExceptionSwap(type, value, tb)  __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb)
+ static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+ #else
+ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb);
+ #endif
+ 
++/* Import.proto */
++static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);
++
++/* FastTypeChecks.proto */
++#if CYTHON_COMPILING_IN_CPYTHON
++#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
++static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
++#else
++#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
++#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
++#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
++#endif
++#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
++
+ static CYTHON_UNUSED int __pyx_memoryview_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/
+ /* ListCompAppend.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
+ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
+     PyListObject* L = (PyListObject*) list;
+     Py_ssize_t len = Py_SIZE(list);
+@@ -1525,7 +1913,7 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
+ #endif
+ 
+ /* PyIntBinop.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace);
+ #else
+ #define __Pyx_PyInt_AddObjC(op1, op2, intval, inplace)\
+@@ -1548,11 +1936,6 @@ static CYTHON_INLINE int __Pyx_PyList_Extend(PyObject* L, PyObject* v) {
+ /* None.proto */
+ static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname);
+ 
+-/* ForceInitThreads.proto */
+-#ifndef __PYX_FORCE_INIT_THREADS
+-  #define __PYX_FORCE_INIT_THREADS 0
+-#endif
+-
+ /* None.proto */
+ static CYTHON_INLINE long __Pyx_div_long(long, long);
+ 
+@@ -1561,15 +1944,37 @@ static void __Pyx_WriteUnraisable(const char *name, int clineno,
+                                   int lineno, const char *filename,
+                                   int full_traceback, int nogil);
+ 
++/* ImportFrom.proto */
++static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
++
++/* HasAttr.proto */
++static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
++
++/* PyObject_GenericGetAttrNoDict.proto */
++#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
++#else
++#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr
++#endif
++
++/* PyObject_GenericGetAttr.proto */
++#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name);
++#else
++#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
++#endif
++
+ /* SetVTable.proto */
+ static int __Pyx_SetVtable(PyObject *dict, void *vtable);
+ 
++/* SetupReduce.proto */
++static int __Pyx_setup_reduce(PyObject* type_obj);
++
+ /* FetchCommonType.proto */
+ static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);
+ 
+ /* CythonFunction.proto */
+ #define __Pyx_CyFunction_USED 1
+-#include 
+ #define __Pyx_CYFUNCTION_STATICMETHOD  0x01
+ #define __Pyx_CYFUNCTION_CLASSMETHOD   0x02
+ #define __Pyx_CYFUNCTION_CCLASS        0x04
+@@ -1640,6 +2045,13 @@ static PyTypeObject *__pyx_FusedFunctionType = NULL;
+ static int __pyx_FusedFunction_init(void);
+ #define __Pyx_FusedFunction_USED
+ 
++/* CLineInTraceback.proto */
++#ifdef CYTHON_CLINE_IN_TRACEBACK
++#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
++#else
++static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
++#endif
++
+ /* CodeObjectCache.proto */
+ typedef struct {
+     PyCodeObject* code_object;
+@@ -1682,13 +2094,8 @@ typedef struct {
+   __Pyx_Buf_DimInfo diminfo[8];
+ } __Pyx_LocalBuf_ND;
+ 
+-/* None.proto */
+-static Py_ssize_t __Pyx_zeros[] = {0, 0, 0, 0, 0, 0, 0, 0};
+-static Py_ssize_t __Pyx_minusones[] = {-1, -1, -1, -1, -1, -1, -1, -1};
+-
+ /* MemviewSliceIsContig.proto */
+-static int __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+-                                        char order, int ndim);
++static int __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim);
+ 
+ /* OverlappingSlices.proto */
+ static int __pyx_slices_overlap(__Pyx_memviewslice *slice1,
+@@ -1713,10 +2120,10 @@ static int __Pyx_ValidateAndInit_memviewslice(
+                 PyObject *original_obj);
+ 
+ /* ObjectToMemviewSlice.proto */
+-static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(PyObject *);
++static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(PyObject *, int writable_flag);
+ 
+ /* ObjectToMemviewSlice.proto */
+-static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *);
++static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *, int writable_flag);
+ 
+ /* CIntToPy.proto */
+ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);
+@@ -1724,10 +2131,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);
+ /* CIntToPy.proto */
+ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value);
+ 
+-/* BytesContains.proto */
+-static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
+-
+-/* None.proto */
++/* RealImag.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     #define __Pyx_CREAL(z) ((z).real())
+@@ -1740,7 +2144,8 @@ static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
+     #define __Pyx_CREAL(z) ((z).real)
+     #define __Pyx_CIMAG(z) ((z).imag)
+ #endif
+-#if defined(__cplusplus) && CYTHON_CCOMPLEX         && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
++#if defined(__cplusplus) && CYTHON_CCOMPLEX\
++        && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
+     #define __Pyx_SET_CREAL(z,x) ((z).real(x))
+     #define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
+ #else
+@@ -1748,85 +2153,79 @@ static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
+     #define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y)
+ #endif
+ 
+-/* None.proto */
+-static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float);
+-
+-/* None.proto */
++/* Arithmetic.proto */
+ #if CYTHON_CCOMPLEX
+-    #define __Pyx_c_eqf(a, b)   ((a)==(b))
+-    #define __Pyx_c_sumf(a, b)  ((a)+(b))
+-    #define __Pyx_c_difff(a, b) ((a)-(b))
+-    #define __Pyx_c_prodf(a, b) ((a)*(b))
+-    #define __Pyx_c_quotf(a, b) ((a)/(b))
+-    #define __Pyx_c_negf(a)     (-(a))
++    #define __Pyx_c_eq_float(a, b)   ((a)==(b))
++    #define __Pyx_c_sum_float(a, b)  ((a)+(b))
++    #define __Pyx_c_diff_float(a, b) ((a)-(b))
++    #define __Pyx_c_prod_float(a, b) ((a)*(b))
++    #define __Pyx_c_quot_float(a, b) ((a)/(b))
++    #define __Pyx_c_neg_float(a)     (-(a))
+   #ifdef __cplusplus
+-    #define __Pyx_c_is_zerof(z) ((z)==(float)0)
+-    #define __Pyx_c_conjf(z)    (::std::conj(z))
++    #define __Pyx_c_is_zero_float(z) ((z)==(float)0)
++    #define __Pyx_c_conj_float(z)    (::std::conj(z))
+     #if 1
+-        #define __Pyx_c_absf(z)     (::std::abs(z))
+-        #define __Pyx_c_powf(a, b)  (::std::pow(a, b))
++        #define __Pyx_c_abs_float(z)     (::std::abs(z))
++        #define __Pyx_c_pow_float(a, b)  (::std::pow(a, b))
+     #endif
+   #else
+-    #define __Pyx_c_is_zerof(z) ((z)==0)
+-    #define __Pyx_c_conjf(z)    (conjf(z))
++    #define __Pyx_c_is_zero_float(z) ((z)==0)
++    #define __Pyx_c_conj_float(z)    (conjf(z))
+     #if 1
+-        #define __Pyx_c_absf(z)     (cabsf(z))
+-        #define __Pyx_c_powf(a, b)  (cpowf(a, b))
++        #define __Pyx_c_abs_float(z)     (cabsf(z))
++        #define __Pyx_c_pow_float(a, b)  (cpowf(a, b))
+     #endif
+  #endif
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex);
+-    static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex);
++    static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex);
++    static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex);
+     #if 1
+-        static CYTHON_INLINE float __Pyx_c_absf(__pyx_t_float_complex);
+-        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex, __pyx_t_float_complex);
++        static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex);
++        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex, __pyx_t_float_complex);
+     #endif
+ #endif
+ 
+-/* None.proto */
+-static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double);
+-
+-/* None.proto */
++/* Arithmetic.proto */
+ #if CYTHON_CCOMPLEX
+-    #define __Pyx_c_eq(a, b)   ((a)==(b))
+-    #define __Pyx_c_sum(a, b)  ((a)+(b))
+-    #define __Pyx_c_diff(a, b) ((a)-(b))
+-    #define __Pyx_c_prod(a, b) ((a)*(b))
+-    #define __Pyx_c_quot(a, b) ((a)/(b))
+-    #define __Pyx_c_neg(a)     (-(a))
++    #define __Pyx_c_eq_double(a, b)   ((a)==(b))
++    #define __Pyx_c_sum_double(a, b)  ((a)+(b))
++    #define __Pyx_c_diff_double(a, b) ((a)-(b))
++    #define __Pyx_c_prod_double(a, b) ((a)*(b))
++    #define __Pyx_c_quot_double(a, b) ((a)/(b))
++    #define __Pyx_c_neg_double(a)     (-(a))
+   #ifdef __cplusplus
+-    #define __Pyx_c_is_zero(z) ((z)==(double)0)
+-    #define __Pyx_c_conj(z)    (::std::conj(z))
++    #define __Pyx_c_is_zero_double(z) ((z)==(double)0)
++    #define __Pyx_c_conj_double(z)    (::std::conj(z))
+     #if 1
+-        #define __Pyx_c_abs(z)     (::std::abs(z))
+-        #define __Pyx_c_pow(a, b)  (::std::pow(a, b))
++        #define __Pyx_c_abs_double(z)     (::std::abs(z))
++        #define __Pyx_c_pow_double(a, b)  (::std::pow(a, b))
+     #endif
+   #else
+-    #define __Pyx_c_is_zero(z) ((z)==0)
+-    #define __Pyx_c_conj(z)    (conj(z))
++    #define __Pyx_c_is_zero_double(z) ((z)==0)
++    #define __Pyx_c_conj_double(z)    (conj(z))
+     #if 1
+-        #define __Pyx_c_abs(z)     (cabs(z))
+-        #define __Pyx_c_pow(a, b)  (cpow(a, b))
++        #define __Pyx_c_abs_double(z)     (cabs(z))
++        #define __Pyx_c_pow_double(a, b)  (cpow(a, b))
+     #endif
+  #endif
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex);
+-    static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex);
++    static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex);
++    static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex);
+     #if 1
+-        static CYTHON_INLINE double __Pyx_c_abs(__pyx_t_double_complex);
+-        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex, __pyx_t_double_complex);
++        static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex);
++        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex, __pyx_t_double_complex);
+     #endif
+ #endif
+ 
+@@ -1878,20 +2277,28 @@ static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *);
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE npy_int8 __Pyx_PyInt_As_npy_int8(PyObject *);
+ 
++/* BytesContains.proto */
++static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
++
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);
+ 
+-/* CIntFromPy.proto */
+-static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *);
++/* ImportNumPyArray.proto */
++static PyObject *__pyx_numpy_ndarray = NULL;
++static PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void);
+ 
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);
+ 
++/* CIntFromPy.proto */
++static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *);
++
+ /* PyObjectCallMethod1.proto */
+ static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg);
++static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg);
+ 
+ /* CoroutineBase.proto */
+-typedef PyObject *(*__pyx_coroutine_body_t)(PyObject *, PyObject *);
++typedef PyObject *(*__pyx_coroutine_body_t)(PyObject *, PyThreadState *, PyObject *);
+ typedef struct {
+     PyObject_HEAD
+     __pyx_coroutine_body_t body;
+@@ -1904,17 +2311,38 @@ typedef struct {
+     PyObject *yieldfrom;
+     PyObject *gi_name;
+     PyObject *gi_qualname;
++    PyObject *gi_modulename;
++    PyObject *gi_code;
+     int resume_label;
+     char is_running;
+ } __pyx_CoroutineObject;
+-static __pyx_CoroutineObject *__Pyx__Coroutine_New(PyTypeObject *type, __pyx_coroutine_body_t body,
+-                                                   PyObject *closure, PyObject *name, PyObject *qualname);
++static __pyx_CoroutineObject *__Pyx__Coroutine_New(
++    PyTypeObject *type, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure,
++    PyObject *name, PyObject *qualname, PyObject *module_name);
++static __pyx_CoroutineObject *__Pyx__Coroutine_NewInit(
++            __pyx_CoroutineObject *gen, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure,
++            PyObject *name, PyObject *qualname, PyObject *module_name);
+ static int __Pyx_Coroutine_clear(PyObject *self);
+-#if 1 || PY_VERSION_HEX < 0x030300B0
+-static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue);
++static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value);
++static PyObject *__Pyx_Coroutine_Close(PyObject *self);
++static PyObject *__Pyx_Coroutine_Throw(PyObject *gen, PyObject *args);
++#define __Pyx_Coroutine_SwapException(self) {\
++    __Pyx_ExceptionSwap(&(self)->exc_type, &(self)->exc_value, &(self)->exc_traceback);\
++    __Pyx_Coroutine_ResetFrameBackpointer(self);\
++    }
++#define __Pyx_Coroutine_ResetAndClearException(self) {\
++    __Pyx_ExceptionReset((self)->exc_type, (self)->exc_value, (self)->exc_traceback);\
++    (self)->exc_type = (self)->exc_value = (self)->exc_traceback = NULL;\
++    }
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_PyGen_FetchStopIterationValue(pvalue)\
++    __Pyx_PyGen__FetchStopIterationValue(__pyx_tstate, pvalue)
+ #else
+-#define __Pyx_PyGen_FetchStopIterationValue(pvalue) PyGen_FetchStopIterationValue(pvalue)
++#define __Pyx_PyGen_FetchStopIterationValue(pvalue)\
++    __Pyx_PyGen__FetchStopIterationValue(__Pyx_PyThreadState_Current, pvalue)
+ #endif
++static int __Pyx_PyGen__FetchStopIterationValue(PyThreadState *tstate, PyObject **pvalue);
++static CYTHON_INLINE void __Pyx_Coroutine_ResetFrameBackpointer(__pyx_CoroutineObject *self);
+ 
+ /* PatchModuleWithCoroutine.proto */
+ static PyObject* __Pyx_Coroutine_patch_module(PyObject* module, const char* py_code);
+@@ -1926,8 +2354,8 @@ static int __Pyx_patch_abc(void);
+ #define __Pyx_Generator_USED
+ static PyTypeObject *__pyx_GeneratorType = 0;
+ #define __Pyx_Generator_CheckExact(obj) (Py_TYPE(obj) == __pyx_GeneratorType)
+-#define __Pyx_Generator_New(body, closure, name, qualname)\
+-    __Pyx__Coroutine_New(__pyx_GeneratorType, body, closure, name, qualname)
++#define __Pyx_Generator_New(body, code, closure, name, qualname, module_name)\
++    __Pyx__Coroutine_New(__pyx_GeneratorType, body, code, closure, name, qualname, module_name)
+ static PyObject *__Pyx_Generator_Next(PyObject *self);
+ static int __pyx_Generator_init(void);
+ 
+@@ -2048,8 +2476,6 @@ static PyTypeObject *__pyx_ptype_7cpython_7complex_complex = 0;
+ 
+ /* Module declarations from 'cpython.ref' */
+ 
+-/* Module declarations from 'libc.stdlib' */
+-
+ /* Module declarations from 'numpy' */
+ 
+ /* Module declarations from 'numpy' */
+@@ -2060,6 +2486,8 @@ static PyTypeObject *__pyx_ptype_5numpy_ndarray = 0;
+ static PyTypeObject *__pyx_ptype_5numpy_ufunc = 0;
+ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *, char *, char *, int *); /*proto*/
+ 
++/* Module declarations from 'libc.stdlib' */
++
+ /* Module declarations from 'pyresample.ewa._fornav' */
+ static PyTypeObject *__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper = 0;
+ static PyTypeObject *__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr = 0;
+@@ -2078,12 +2506,12 @@ static PyObject *contiguous = 0;
+ static PyObject *indirect_contiguous = 0;
+ static int __pyx_memoryview_thread_locks_used;
+ static PyThread_type_lock __pyx_memoryview_thread_locks[8];
+-static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t, __pyx_t_5numpy_float32_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
+-static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t, __pyx_t_5numpy_float64_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
+-static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t, __pyx_t_5numpy_int8_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
+-static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t, __pyx_t_5numpy_float32_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
+-static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t, __pyx_t_5numpy_float64_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
+-static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t, __pyx_t_5numpy_int8_t, size_t, unsigned int, float, float, float, float, int); /*proto*/
++static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t, __pyx_t_5numpy_float32_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
++static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t, __pyx_t_5numpy_float64_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
++static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_float32_t *, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t, __pyx_t_5numpy_int8_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
++static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t **, __pyx_t_5numpy_float32_t, __pyx_t_5numpy_float32_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
++static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t **, __pyx_t_5numpy_float64_t, __pyx_t_5numpy_float64_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
++static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *, size_t, size_t, size_t, size_t, size_t, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_float64_t *, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t **, __pyx_t_5numpy_int8_t, __pyx_t_5numpy_int8_t, size_t, unsigned int, weight_type, weight_type, weight_type, weight_type, int); /*proto*/
+ static struct __pyx_array_obj *__pyx_array_new(PyObject *, Py_ssize_t, char *, char *, char *); /*proto*/
+ static void *__pyx_align_pointer(void *, size_t); /*proto*/
+ static PyObject *__pyx_memoryview_new(PyObject *, int, int, __Pyx_TypeInfo *); /*proto*/
+@@ -2116,21 +2544,21 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *, Py_ssize
+ static void __pyx_memoryview_refcount_objects_in_slice(char *, Py_ssize_t *, Py_ssize_t *, int, int); /*proto*/
+ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *, int, size_t, void *, int); /*proto*/
+ static void __pyx_memoryview__slice_assign_scalar(char *, Py_ssize_t *, Py_ssize_t *, int, size_t, void *); /*proto*/
++static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *, PyObject *); /*proto*/
+ static __Pyx_TypeInfo __Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t = { "float32_t", NULL, sizeof(__pyx_t_5numpy_float32_t), { 0 }, 0, 'R', 0, 0 };
+ static __Pyx_TypeInfo __Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t = { "float64_t", NULL, sizeof(__pyx_t_5numpy_float64_t), { 0 }, 0, 'R', 0, 0 };
+ static __Pyx_TypeInfo __Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t = { "int8_t", NULL, sizeof(__pyx_t_5numpy_int8_t), { 0 }, 0, IS_UNSIGNED(__pyx_t_5numpy_int8_t) ? 'U' : 'I', IS_UNSIGNED(__pyx_t_5numpy_int8_t), 0 };
+ #define __Pyx_MODULE_NAME "pyresample.ewa._fornav"
++extern int __pyx_module_is_main_pyresample__ewa___fornav;
+ int __pyx_module_is_main_pyresample__ewa___fornav = 0;
+ 
+ /* Implementation of 'pyresample.ewa._fornav' */
+ static PyObject *__pyx_builtin_RuntimeError;
+ static PyObject *__pyx_builtin_MemoryError;
+ static PyObject *__pyx_builtin_range;
+-static PyObject *__pyx_builtin_ImportError;
+-static PyObject *__pyx_builtin_AttributeError;
+ static PyObject *__pyx_builtin_TypeError;
+-static PyObject *__pyx_builtin_zip;
+ static PyObject *__pyx_builtin_ValueError;
++static PyObject *__pyx_builtin_ImportError;
+ static PyObject *__pyx_builtin_enumerate;
+ static PyObject *__pyx_builtin_Ellipsis;
+ static PyObject *__pyx_builtin_id;
+@@ -2138,13 +2566,15 @@ static PyObject *__pyx_builtin_IndexError;
+ static const char __pyx_k_O[] = "O";
+ static const char __pyx_k_c[] = "c";
+ static const char __pyx_k_i[] = "i";
++static const char __pyx_k_s[] = "s";
+ static const char __pyx_k_id[] = "id";
+ static const char __pyx_k__13[] = "()";
+ static const char __pyx_k__15[] = "|";
++static const char __pyx_k_new[] = "__new__";
+ static const char __pyx_k_obj[] = "obj";
+-static const char __pyx_k_zip[] = "zip";
+ static const char __pyx_k_args[] = "args";
+ static const char __pyx_k_base[] = "base";
++static const char __pyx_k_dict[] = "__dict__";
+ static const char __pyx_k_int8[] = "int8";
+ static const char __pyx_k_kind[] = "kind";
+ static const char __pyx_k_main[] = "__main__";
+@@ -2175,19 +2605,24 @@ static const char __pyx_k_format[] = "format";
+ static const char __pyx_k_import[] = "__import__";
+ static const char __pyx_k_kwargs[] = "kwargs";
+ static const char __pyx_k_name_2[] = "__name__";
++static const char __pyx_k_pickle[] = "pickle";
++static const char __pyx_k_reduce[] = "__reduce__";
+ static const char __pyx_k_struct[] = "struct";
+ static const char __pyx_k_unpack[] = "unpack";
++static const char __pyx_k_update[] = "update";
+ static const char __pyx_k_float32[] = "float32";
+ static const char __pyx_k_float64[] = "float64";
+ static const char __pyx_k_fortran[] = "fortran";
+ static const char __pyx_k_genexpr[] = "genexpr";
+ static const char __pyx_k_in_type[] = "in_type";
+ static const char __pyx_k_memview[] = "memview";
+-static const char __pyx_k_ndarray[] = "ndarray";
+ static const char __pyx_k_Ellipsis[] = "Ellipsis";
+ static const char __pyx_k_defaults[] = "defaults";
++static const char __pyx_k_getstate[] = "__getstate__";
+ static const char __pyx_k_itemsize[] = "itemsize";
+ static const char __pyx_k_out_type[] = "out_type";
++static const char __pyx_k_pyx_type[] = "__pyx_type";
++static const char __pyx_k_setstate[] = "__setstate__";
+ static const char __pyx_k_TypeError[] = "TypeError";
+ static const char __pyx_k_docformat[] = "__docformat__";
+ static const char __pyx_k_enumerate[] = "enumerate";
+@@ -2196,11 +2631,14 @@ static const char __pyx_k_float64_t[] = "float64_t";
+ static const char __pyx_k_grid_cols[] = "grid_cols";
+ static const char __pyx_k_grid_rows[] = "grid_rows";
+ static const char __pyx_k_num_items[] = "num_items";
++static const char __pyx_k_pyx_state[] = "__pyx_state";
++static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
+ static const char __pyx_k_valid_arr[] = "valid_arr";
+ static const char __pyx_k_IndexError[] = "IndexError";
+ static const char __pyx_k_ValueError[] = "ValueError";
+ static const char __pyx_k_cols_array[] = "cols_array";
+ static const char __pyx_k_input_fill[] = "input_fill";
++static const char __pyx_k_pyx_result[] = "__pyx_result";
+ static const char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
+ static const char __pyx_k_rows_array[] = "rows_array";
+ static const char __pyx_k_signatures[] = "signatures";
+@@ -2211,6 +2649,7 @@ static const char __pyx_k_valid_list[] = "valid_list";
+ static const char __pyx_k_weight_min[] = "weight_min";
+ static const char __pyx_k_ImportError[] = "ImportError";
+ static const char __pyx_k_MemoryError[] = "MemoryError";
++static const char __pyx_k_PickleError[] = "PickleError";
+ static const char __pyx_k_func_result[] = "func_result";
+ static const char __pyx_k_num_outputs[] = "num_outputs";
+ static const char __pyx_k_output_fill[] = "output_fill";
+@@ -2219,19 +2658,26 @@ static const char __pyx_k_tmp_arr_f64[] = "tmp_arr_f64";
+ static const char __pyx_k_RuntimeError[] = "RuntimeError";
+ static const char __pyx_k_cols_pointer[] = "cols_pointer";
+ static const char __pyx_k_input_arrays[] = "input_arrays";
++static const char __pyx_k_pyx_checksum[] = "__pyx_checksum";
+ static const char __pyx_k_rows_pointer[] = "rows_pointer";
++static const char __pyx_k_stringsource[] = "stringsource";
+ static const char __pyx_k_weight_count[] = "weight_count";
+ static const char __pyx_k_input_pointer[] = "input_pointer";
+ static const char __pyx_k_output_arrays[] = "output_arrays";
+ static const char __pyx_k_pyx_getbuffer[] = "__pyx_getbuffer";
++static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
+ static const char __pyx_k_rows_per_scan[] = "rows_per_scan";
+-static const char __pyx_k_AttributeError[] = "AttributeError";
+ static const char __pyx_k_fornav_wrapper[] = "fornav_wrapper";
+ static const char __pyx_k_output_pointer[] = "output_pointer";
+ static const char __pyx_k_weight_sum_min[] = "weight_sum_min";
++static const char __pyx_k_View_MemoryView[] = "View.MemoryView";
+ static const char __pyx_k_allocate_buffer[] = "allocate_buffer";
+ static const char __pyx_k_dtype_is_object[] = "dtype_is_object";
++static const char __pyx_k_pyx_PickleError[] = "__pyx_PickleError";
++static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
+ static const char __pyx_k_weight_delta_max[] = "weight_delta_max";
++static const char __pyx_k_pyx_unpickle_Enum[] = "__pyx_unpickle_Enum";
++static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
+ static const char __pyx_k_strided_and_direct[] = "";
+ static const char __pyx_k_maximum_weight_mode[] = "maximum_weight_mode";
+ static const char __pyx_k_restructuredtext_en[] = "restructuredtext en";
+@@ -2245,10 +2691,10 @@ static const char __pyx_k_MemoryView_of_r_at_0x_x[] = "malloc(swath_cols * sizeof(ewa_parameters))
+@@ -2771,7 +3274,7 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -2828,8 +3331,9 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -2867,10 +3371,10 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -2911,14 +3415,14 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -2950,7 +3454,7 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -2982,8 +3486,9 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -3050,7 +3555,7 @@ static int __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   return __pyx_r;
+ }
+ 
+-static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float32_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float32_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float64_t **__pyx_v_input_arrays, __pyx_t_5numpy_float64_t **__pyx_v_output_arrays, __pyx_t_5numpy_float64_t __pyx_v_input_fill, __pyx_t_5numpy_float64_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, float __pyx_v_weight_min, float __pyx_v_weight_distance_max, float __pyx_v_weight_delta_max, float __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
++static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float32_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float32_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float64_t **__pyx_v_input_arrays, __pyx_t_5numpy_float64_t **__pyx_v_output_arrays, __pyx_t_5numpy_float64_t __pyx_v_input_fill, __pyx_t_5numpy_float64_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, weight_type __pyx_v_weight_min, weight_type __pyx_v_weight_distance_max, weight_type __pyx_v_weight_delta_max, weight_type __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
+   unsigned int __pyx_v_row_idx;
+   unsigned int __pyx_v_idx;
+   int __pyx_v_got_point;
+@@ -3070,8 +3575,9 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   size_t __pyx_t_3;
+   size_t __pyx_t_4;
+   size_t __pyx_t_5;
+-  unsigned int __pyx_t_6;
+-  int __pyx_t_7;
++  size_t __pyx_t_6;
++  unsigned int __pyx_t_7;
++  int __pyx_t_8;
+   __Pyx_RefNannySetupContext("__pyx_fuse_0_1_1fornav", 0);
+ 
+   /* "pyresample/ewa/_fornav.pyx":118
+@@ -3128,7 +3634,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_func_result < 0) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":134
+  *                       weight_sum_min, &ewaw)
+@@ -3169,7 +3675,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+  */
+   __pyx_t_1 = ((__pyx_v_grid_accums == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":140
+  *     cdef accum_type **grid_accums = initialize_grid_accums(chan_count, grid_cols, grid_rows)
+@@ -3206,7 +3712,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate memory for the parameters specific to each column
+  */
+   __pyx_t_1 = ((__pyx_v_grid_weights == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":143
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+@@ -3243,7 +3749,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate pointers to the correct portion of the data arrays that we will use
+  */
+   __pyx_t_1 = ((__pyx_v_ewap == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":147
+  *     ewap = malloc(swath_cols * sizeof(ewa_parameters))
+@@ -3280,7 +3786,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -3337,8 +3843,9 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -3376,10 +3883,10 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -3420,14 +3927,14 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -3459,7 +3966,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -3491,8 +3998,9 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -3559,7 +4067,7 @@ static int __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   return __pyx_r;
+ }
+ 
+-static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float32_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float32_t *__pyx_v_rows_pointer, __pyx_t_5numpy_int8_t **__pyx_v_input_arrays, __pyx_t_5numpy_int8_t **__pyx_v_output_arrays, __pyx_t_5numpy_int8_t __pyx_v_input_fill, __pyx_t_5numpy_int8_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, float __pyx_v_weight_min, float __pyx_v_weight_distance_max, float __pyx_v_weight_delta_max, float __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
++static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float32_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float32_t *__pyx_v_rows_pointer, __pyx_t_5numpy_int8_t **__pyx_v_input_arrays, __pyx_t_5numpy_int8_t **__pyx_v_output_arrays, __pyx_t_5numpy_int8_t __pyx_v_input_fill, __pyx_t_5numpy_int8_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, weight_type __pyx_v_weight_min, weight_type __pyx_v_weight_distance_max, weight_type __pyx_v_weight_delta_max, weight_type __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
+   unsigned int __pyx_v_row_idx;
+   unsigned int __pyx_v_idx;
+   int __pyx_v_got_point;
+@@ -3579,8 +4087,9 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   size_t __pyx_t_3;
+   size_t __pyx_t_4;
+   size_t __pyx_t_5;
+-  unsigned int __pyx_t_6;
+-  int __pyx_t_7;
++  size_t __pyx_t_6;
++  unsigned int __pyx_t_7;
++  int __pyx_t_8;
+   __Pyx_RefNannySetupContext("__pyx_fuse_0_2_2fornav", 0);
+ 
+   /* "pyresample/ewa/_fornav.pyx":118
+@@ -3637,7 +4146,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_func_result < 0) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":134
+  *                       weight_sum_min, &ewaw)
+@@ -3678,7 +4187,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+  */
+   __pyx_t_1 = ((__pyx_v_grid_accums == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":140
+  *     cdef accum_type **grid_accums = initialize_grid_accums(chan_count, grid_cols, grid_rows)
+@@ -3715,7 +4224,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate memory for the parameters specific to each column
+  */
+   __pyx_t_1 = ((__pyx_v_grid_weights == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":143
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+@@ -3752,7 +4261,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate pointers to the correct portion of the data arrays that we will use
+  */
+   __pyx_t_1 = ((__pyx_v_ewap == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":147
+  *     ewap = malloc(swath_cols * sizeof(ewa_parameters))
+@@ -3789,7 +4298,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -3846,8 +4355,9 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -3885,10 +4395,10 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -3929,14 +4439,14 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -3968,7 +4478,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -4000,8 +4510,9 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -4068,7 +4579,7 @@ static int __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   return __pyx_r;
+ }
+ 
+-static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float32_t **__pyx_v_input_arrays, __pyx_t_5numpy_float32_t **__pyx_v_output_arrays, __pyx_t_5numpy_float32_t __pyx_v_input_fill, __pyx_t_5numpy_float32_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, float __pyx_v_weight_min, float __pyx_v_weight_distance_max, float __pyx_v_weight_delta_max, float __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
++static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float32_t **__pyx_v_input_arrays, __pyx_t_5numpy_float32_t **__pyx_v_output_arrays, __pyx_t_5numpy_float32_t __pyx_v_input_fill, __pyx_t_5numpy_float32_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, weight_type __pyx_v_weight_min, weight_type __pyx_v_weight_distance_max, weight_type __pyx_v_weight_delta_max, weight_type __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
+   unsigned int __pyx_v_row_idx;
+   unsigned int __pyx_v_idx;
+   int __pyx_v_got_point;
+@@ -4088,8 +4599,9 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   size_t __pyx_t_3;
+   size_t __pyx_t_4;
+   size_t __pyx_t_5;
+-  unsigned int __pyx_t_6;
+-  int __pyx_t_7;
++  size_t __pyx_t_6;
++  unsigned int __pyx_t_7;
++  int __pyx_t_8;
+   __Pyx_RefNannySetupContext("__pyx_fuse_1_0_0fornav", 0);
+ 
+   /* "pyresample/ewa/_fornav.pyx":118
+@@ -4146,7 +4658,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_func_result < 0) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":134
+  *                       weight_sum_min, &ewaw)
+@@ -4187,7 +4699,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+  */
+   __pyx_t_1 = ((__pyx_v_grid_accums == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":140
+  *     cdef accum_type **grid_accums = initialize_grid_accums(chan_count, grid_cols, grid_rows)
+@@ -4224,7 +4736,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate memory for the parameters specific to each column
+  */
+   __pyx_t_1 = ((__pyx_v_grid_weights == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":143
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+@@ -4261,7 +4773,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate pointers to the correct portion of the data arrays that we will use
+  */
+   __pyx_t_1 = ((__pyx_v_ewap == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":147
+  *     ewap = malloc(swath_cols * sizeof(ewa_parameters))
+@@ -4298,7 +4810,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -4355,8 +4867,9 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -4394,10 +4907,10 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -4438,14 +4951,14 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -4477,7 +4990,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -4509,8 +5022,9 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -4577,7 +5091,7 @@ static int __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   return __pyx_r;
+ }
+ 
+-static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float64_t **__pyx_v_input_arrays, __pyx_t_5numpy_float64_t **__pyx_v_output_arrays, __pyx_t_5numpy_float64_t __pyx_v_input_fill, __pyx_t_5numpy_float64_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, float __pyx_v_weight_min, float __pyx_v_weight_distance_max, float __pyx_v_weight_delta_max, float __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
++static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_float64_t **__pyx_v_input_arrays, __pyx_t_5numpy_float64_t **__pyx_v_output_arrays, __pyx_t_5numpy_float64_t __pyx_v_input_fill, __pyx_t_5numpy_float64_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, weight_type __pyx_v_weight_min, weight_type __pyx_v_weight_distance_max, weight_type __pyx_v_weight_delta_max, weight_type __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
+   unsigned int __pyx_v_row_idx;
+   unsigned int __pyx_v_idx;
+   int __pyx_v_got_point;
+@@ -4597,8 +5111,9 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   size_t __pyx_t_3;
+   size_t __pyx_t_4;
+   size_t __pyx_t_5;
+-  unsigned int __pyx_t_6;
+-  int __pyx_t_7;
++  size_t __pyx_t_6;
++  unsigned int __pyx_t_7;
++  int __pyx_t_8;
+   __Pyx_RefNannySetupContext("__pyx_fuse_1_1_1fornav", 0);
+ 
+   /* "pyresample/ewa/_fornav.pyx":118
+@@ -4655,7 +5170,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_func_result < 0) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":134
+  *                       weight_sum_min, &ewaw)
+@@ -4696,7 +5211,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+  */
+   __pyx_t_1 = ((__pyx_v_grid_accums == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":140
+  *     cdef accum_type **grid_accums = initialize_grid_accums(chan_count, grid_cols, grid_rows)
+@@ -4733,7 +5248,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate memory for the parameters specific to each column
+  */
+   __pyx_t_1 = ((__pyx_v_grid_weights == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":143
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+@@ -4770,7 +5285,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate pointers to the correct portion of the data arrays that we will use
+  */
+   __pyx_t_1 = ((__pyx_v_ewap == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":147
+  *     ewap = malloc(swath_cols * sizeof(ewa_parameters))
+@@ -4807,7 +5322,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -4864,8 +5379,9 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -4903,10 +5419,10 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -4947,14 +5463,14 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -4986,7 +5502,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -5018,8 +5534,9 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -5086,7 +5603,7 @@ static int __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   return __pyx_r;
+ }
+ 
+-static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_int8_t **__pyx_v_input_arrays, __pyx_t_5numpy_int8_t **__pyx_v_output_arrays, __pyx_t_5numpy_int8_t __pyx_v_input_fill, __pyx_t_5numpy_int8_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, float __pyx_v_weight_min, float __pyx_v_weight_distance_max, float __pyx_v_weight_delta_max, float __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
++static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned int *__pyx_v_valid_list, size_t __pyx_v_chan_count, size_t __pyx_v_swath_cols, size_t __pyx_v_swath_rows, size_t __pyx_v_grid_cols, size_t __pyx_v_grid_rows, __pyx_t_5numpy_float64_t *__pyx_v_cols_pointer, __pyx_t_5numpy_float64_t *__pyx_v_rows_pointer, __pyx_t_5numpy_int8_t **__pyx_v_input_arrays, __pyx_t_5numpy_int8_t **__pyx_v_output_arrays, __pyx_t_5numpy_int8_t __pyx_v_input_fill, __pyx_t_5numpy_int8_t __pyx_v_output_fill, size_t __pyx_v_rows_per_scan, unsigned int __pyx_v_weight_count, weight_type __pyx_v_weight_min, weight_type __pyx_v_weight_distance_max, weight_type __pyx_v_weight_delta_max, weight_type __pyx_v_weight_sum_min, int __pyx_v_maximum_weight_mode) {
+   unsigned int __pyx_v_row_idx;
+   unsigned int __pyx_v_idx;
+   int __pyx_v_got_point;
+@@ -5106,8 +5623,9 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+   size_t __pyx_t_3;
+   size_t __pyx_t_4;
+   size_t __pyx_t_5;
+-  unsigned int __pyx_t_6;
+-  int __pyx_t_7;
++  size_t __pyx_t_6;
++  unsigned int __pyx_t_7;
++  int __pyx_t_8;
+   __Pyx_RefNannySetupContext("__pyx_fuse_1_2_2fornav", 0);
+ 
+   /* "pyresample/ewa/_fornav.pyx":118
+@@ -5164,7 +5682,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_func_result < 0) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":134
+  *                       weight_sum_min, &ewaw)
+@@ -5205,7 +5723,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+  */
+   __pyx_t_1 = ((__pyx_v_grid_accums == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":140
+  *     cdef accum_type **grid_accums = initialize_grid_accums(chan_count, grid_cols, grid_rows)
+@@ -5242,7 +5760,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate memory for the parameters specific to each column
+  */
+   __pyx_t_1 = ((__pyx_v_grid_weights == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":143
+  *     cdef weight_type **grid_weights = initialize_grid_weights(chan_count, grid_cols, grid_rows)
+@@ -5279,7 +5797,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *     # Allocate pointers to the correct portion of the data arrays that we will use
+  */
+   __pyx_t_1 = ((__pyx_v_ewap == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":147
+  *     ewap = malloc(swath_cols * sizeof(ewa_parameters))
+@@ -5316,7 +5834,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((__pyx_v_input_images == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":151
+  *     input_images = malloc(chan_count * sizeof(image_dtype *))
+@@ -5373,8 +5891,9 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *         # print "Current input 0 pointer: %d" % (input_images[idx],)
+  */
+     __pyx_t_5 = __pyx_v_chan_count;
+-    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
+-      __pyx_v_idx = __pyx_t_6;
++    __pyx_t_6 = __pyx_t_5;
++    for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_6; __pyx_t_7+=1) {
++      __pyx_v_idx = __pyx_t_7;
+ 
+       /* "pyresample/ewa/_fornav.pyx":162
+  *         # Assign the python/numpy array objects to a pointer location for the rest of the functions
+@@ -5412,10 +5931,10 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *             # raise RuntimeError("Could compute EWA parameters for EWA resampling")
+  *             continue
+  */
+-      __pyx_t_7 = (__pyx_v_got_point != 0);
+-      if (!__pyx_t_7) {
++      __pyx_t_8 = (__pyx_v_got_point != 0);
++      if (!__pyx_t_8) {
+       } else {
+-        __pyx_t_1 = __pyx_t_7;
++        __pyx_t_1 = __pyx_t_8;
+         goto __pyx_L14_bool_binop_done;
+       }
+       __pyx_t_1 = 0;
+@@ -5456,14 +5975,14 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  *     free(input_images)
+  */
+-    __pyx_t_7 = (__pyx_v_got_point != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (__pyx_v_got_point != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_1 = __pyx_t_7;
++      __pyx_t_1 = __pyx_t_8;
+       goto __pyx_L16_bool_binop_done;
+     }
+-    __pyx_t_7 = (__pyx_v_tmp_got_point != 0);
+-    __pyx_t_1 = __pyx_t_7;
++    __pyx_t_8 = (__pyx_v_tmp_got_point != 0);
++    __pyx_t_1 = __pyx_t_8;
+     __pyx_L16_bool_binop_done:;
+     __pyx_v_got_point = __pyx_t_1;
+     __pyx_L9_continue:;
+@@ -5495,7 +6014,7 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  * 
+  */
+   __pyx_t_1 = ((!(__pyx_v_got_point != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":184
+  * 
+@@ -5527,8 +6046,9 @@ static int __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(unsigned in
+  *                                           grid_accums[idx], grid_weights[idx], maximum_weight_mode, weight_sum_min)
+  */
+   __pyx_t_4 = __pyx_v_chan_count;
+-  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_4; __pyx_t_6+=1) {
+-    __pyx_v_idx = __pyx_t_6;
++  __pyx_t_3 = __pyx_t_4;
++  for (__pyx_t_7 = 0; __pyx_t_7 < __pyx_t_3; __pyx_t_7+=1) {
++    __pyx_v_idx = __pyx_t_7;
+ 
+     /* "pyresample/ewa/_fornav.pyx":187
+  * 
+@@ -5623,29 +6143,36 @@ static PyObject *__pyx_pw_10pyresample_3ewa_7_fornav_1fornav_wrapper(PyObject *_
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 1); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 2); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 3); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
+@@ -5683,8 +6210,8 @@ static PyObject *__pyx_pw_10pyresample_3ewa_7_fornav_1fornav_wrapper(PyObject *_
+ 
+ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_signatures, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, CYTHON_UNUSED PyObject *__pyx_v_defaults) {
+   PyObject *__pyx_v_dest_sig = NULL;
++  Py_ssize_t __pyx_v_i;
+   PyTypeObject *__pyx_v_ndarray = 0;
+-  PyObject *__pyx_v_numpy = NULL;
+   __Pyx_memviewslice __pyx_v_memslice;
+   Py_ssize_t __pyx_v_itemsize;
+   CYTHON_UNUSED int __pyx_v_dtype_signed;
+@@ -5695,30 +6222,26 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSE
+   PyObject *__pyx_v_candidates = NULL;
+   PyObject *__pyx_v_sig = NULL;
+   int __pyx_v_match_found;
+-  PyObject *__pyx_v_src_type = NULL;
++  PyObject *__pyx_v_src_sig = NULL;
+   PyObject *__pyx_v_dst_type = NULL;
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   int __pyx_t_2;
+   int __pyx_t_3;
+-  PyObject *__pyx_t_4 = NULL;
+-  PyObject *__pyx_t_5 = NULL;
++  int __pyx_t_4;
++  Py_ssize_t __pyx_t_5;
+   PyObject *__pyx_t_6 = NULL;
+-  int __pyx_t_7;
+-  PyObject *__pyx_t_8 = NULL;
+-  PyObject *__pyx_t_9 = NULL;
+-  Py_ssize_t __pyx_t_10;
+-  long __pyx_t_11;
+-  Py_ssize_t __pyx_t_12;
+-  int __pyx_t_13;
++  long __pyx_t_7;
++  __Pyx_memviewslice __pyx_t_8;
++  Py_ssize_t __pyx_t_9;
++  int __pyx_t_10;
++  int __pyx_t_11;
++  PyObject *__pyx_t_12 = NULL;
++  Py_ssize_t __pyx_t_13;
+   Py_ssize_t __pyx_t_14;
+-  PyObject *(*__pyx_t_15)(PyObject *);
+-  PyObject *__pyx_t_16 = NULL;
+-  PyObject *__pyx_t_17 = NULL;
+-  PyObject *__pyx_t_18 = NULL;
+-  PyObject *(*__pyx_t_19)(PyObject *);
+-  int __pyx_t_20;
++  Py_ssize_t __pyx_t_15;
++  int __pyx_t_16;
+   __Pyx_RefNannySetupContext("fornav_wrapper", 0);
+   __Pyx_INCREF(__pyx_v_kwargs);
+   __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+@@ -5728,128 +6251,99 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSE
+   PyList_SET_ITEM(__pyx_t_1, 0, Py_None);
+   __pyx_v_dest_sig = ((PyObject*)__pyx_t_1);
+   __pyx_t_1 = 0;
+-  __pyx_t_2 = (__pyx_v_kwargs == Py_None);
+-  __pyx_t_3 = (__pyx_t_2 != 0);
+-  if (__pyx_t_3) {
+-    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF_SET(__pyx_v_kwargs, __pyx_t_1);
+-    __pyx_t_1 = 0;
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L4_bool_binop_done;
+   }
+-  {
+-    __Pyx_PyThreadState_declare
+-    __Pyx_PyThreadState_assign
+-    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
+-    __Pyx_XGOTREF(__pyx_t_4);
+-    __Pyx_XGOTREF(__pyx_t_5);
+-    __Pyx_XGOTREF(__pyx_t_6);
+-    /*try:*/ {
+-      __pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __pyx_v_numpy = __pyx_t_1;
+-      __pyx_t_1 = 0;
+-      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_numpy, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      if (!(likely(PyType_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "type", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 199, __pyx_L4_error)
+-      __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
+-      __pyx_t_1 = 0;
+-    }
+-    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    goto __pyx_L11_try_end;
+-    __pyx_L4_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError);
+-    if (__pyx_t_7) {
+-      __Pyx_AddTraceback("pyresample.ewa._fornav.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_8, &__pyx_t_9) < 0) __PYX_ERR(0, 199, __pyx_L6_except_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_GOTREF(__pyx_t_8);
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __Pyx_INCREF(Py_None);
+-      __Pyx_XDECREF_SET(__pyx_v_ndarray, ((PyTypeObject*)Py_None));
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-      goto __pyx_L5_exception_handled;
+-    }
+-    goto __pyx_L6_except_error;
+-    __pyx_L6_except_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    goto __pyx_L1_error;
+-    __pyx_L5_exception_handled:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    __pyx_L11_try_end:;
++  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_kwargs); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_3 = ((!__pyx_t_4) != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L4_bool_binop_done:;
++  if (__pyx_t_2) {
++    __Pyx_INCREF(Py_None);
++    __Pyx_DECREF_SET(__pyx_v_kwargs, Py_None);
+   }
++  __pyx_t_1 = ((PyObject *)__Pyx_ImportNumPyArrayTypeIfAvailable()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
++  __pyx_t_1 = 0;
+   __pyx_v_itemsize = -1L;
+   if (unlikely(__pyx_v_args == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+-  __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_t_3 = ((0 < __pyx_t_10) != 0);
+-  if (__pyx_t_3) {
++  __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_2 = ((0 < __pyx_t_5) != 0);
++  if (__pyx_t_2) {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 199, __pyx_L1_error)
+     }
+-    __pyx_t_9 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
+-    __Pyx_INCREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
++    __Pyx_INCREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
++  }
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L7_bool_binop_done;
+   }
+   if (unlikely(__pyx_v_kwargs == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+-  __pyx_t_3 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_cols_array, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_t_2 = (__pyx_t_3 != 0);
++  __pyx_t_4 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_cols_array, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_3 = (__pyx_t_4 != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L7_bool_binop_done:;
+   if (__pyx_t_2) {
+     if (unlikely(__pyx_v_kwargs == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 199, __pyx_L1_error)
+     }
+-    __pyx_t_9 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_cols_array); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_cols_array); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
+   }
+   /*else*/ {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+       __PYX_ERR(0, 199, __pyx_L1_error)
+     }
+-    __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __pyx_t_9 = PyInt_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_8 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_arguments, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_8);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8);
+-    __pyx_t_8 = 0;
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_9, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++    __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
++    __pyx_t_1 = PyInt_FromSsize_t(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_INCREF(__pyx_int_7);
++    __Pyx_GIVEREF(__pyx_int_7);
++    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_int_7);
++    __Pyx_INCREF(__pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_n_s_s);
++    PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
++    __pyx_t_1 = 0;
++    __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_argument_s_g, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+-  __pyx_L14:;
++  __pyx_L6:;
+   while (1) {
+     __pyx_t_2 = (__pyx_v_ndarray != ((PyTypeObject*)Py_None));
+     __pyx_t_3 = (__pyx_t_2 != 0);
+@@ -5857,92 +6351,93 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSE
+       __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg, __pyx_v_ndarray); 
+       __pyx_t_2 = (__pyx_t_3 != 0);
+       if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_dtype = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        goto __pyx_L18;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_dtype = __pyx_t_6;
++        __pyx_t_6 = 0;
++        goto __pyx_L12;
+       }
+-      __pyx_t_2 = (__pyx_memoryview_check(__pyx_v_arg) != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_arg_base = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
+-        __pyx_t_3 = (__pyx_t_2 != 0);
+-        if (__pyx_t_3) {
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_v_dtype = __pyx_t_8;
+-          __pyx_t_8 = 0;
+-          goto __pyx_L19;
++      __pyx_t_2 = __pyx_memoryview_check(__pyx_v_arg); 
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_arg_base = __pyx_t_6;
++        __pyx_t_6 = 0;
++        __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
++        __pyx_t_2 = (__pyx_t_3 != 0);
++        if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_v_dtype = __pyx_t_6;
++          __pyx_t_6 = 0;
++          goto __pyx_L13;
+         }
+         /*else*/ {
+           __Pyx_INCREF(Py_None);
+           __pyx_v_dtype = Py_None;
+         }
+-        __pyx_L19:;
+-        goto __pyx_L18;
++        __pyx_L13:;
++        goto __pyx_L12;
+       }
+       /*else*/ {
+         __Pyx_INCREF(Py_None);
+         __pyx_v_dtype = Py_None;
+       }
+-      __pyx_L18:;
++      __pyx_L12:;
+       __pyx_v_itemsize = -1L;
+-      __pyx_t_3 = (__pyx_v_dtype != Py_None);
+-      __pyx_t_2 = (__pyx_t_3 != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_itemsize = __pyx_t_10;
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_11 = __Pyx_PyObject_Ord(__pyx_t_8); if (unlikely(__pyx_t_11 == (long)(Py_UCS4)-1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_kind = __pyx_t_11;
++      __pyx_t_2 = (__pyx_v_dtype != Py_None);
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_itemsize = __pyx_t_5;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_7 = __Pyx_PyObject_Ord(__pyx_t_6); if (unlikely(__pyx_t_7 == ((long)(long)(Py_UCS4)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_kind = __pyx_t_7;
+         __pyx_v_dtype_signed = (__pyx_v_kind == 'i');
+         switch (__pyx_v_kind) {
+           case 'i':
+           case 'u':
+           break;
+           case 'f':
+-          __pyx_t_3 = (((sizeof(__pyx_t_5numpy_float32_t)) == __pyx_v_itemsize) != 0);
+-          if (__pyx_t_3) {
++          __pyx_t_2 = (((sizeof(__pyx_t_5numpy_float32_t)) == __pyx_v_itemsize) != 0);
++          if (__pyx_t_2) {
+           } else {
+-            __pyx_t_2 = __pyx_t_3;
+-            goto __pyx_L22_bool_binop_done;
++            __pyx_t_3 = __pyx_t_2;
++            goto __pyx_L16_bool_binop_done;
+           }
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-          __pyx_t_3 = ((((Py_ssize_t)__pyx_t_10) == 2) != 0);
+-          __pyx_t_2 = __pyx_t_3;
+-          __pyx_L22_bool_binop_done:;
+-          if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
++          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++          __pyx_t_2 = ((((Py_ssize_t)__pyx_t_5) == 2) != 0);
++          __pyx_t_3 = __pyx_t_2;
++          __pyx_L16_bool_binop_done:;
++          if (__pyx_t_3) {
+             if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float32_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-            goto __pyx_L16_break;
++            goto __pyx_L10_break;
+           }
+-          __pyx_t_3 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
+-          if (__pyx_t_3) {
++          __pyx_t_2 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
++          if (__pyx_t_2) {
+           } else {
+-            __pyx_t_2 = __pyx_t_3;
+-            goto __pyx_L25_bool_binop_done;
++            __pyx_t_3 = __pyx_t_2;
++            goto __pyx_L19_bool_binop_done;
+           }
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-          __pyx_t_3 = ((((Py_ssize_t)__pyx_t_10) == 2) != 0);
+-          __pyx_t_2 = __pyx_t_3;
+-          __pyx_L25_bool_binop_done:;
+-          if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 199, __pyx_L1_error)
++          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++          __pyx_t_2 = ((((Py_ssize_t)__pyx_t_5) == 2) != 0);
++          __pyx_t_3 = __pyx_t_2;
++          __pyx_L19_bool_binop_done:;
++          if (__pyx_t_3) {
+             if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-            goto __pyx_L16_break;
++            goto __pyx_L10_break;
+           }
+           break;
+           case 'c':
+@@ -5953,231 +6448,140 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSE
+         }
+       }
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == -1L) != 0);
+-    if (!__pyx_t_3) {
++    __pyx_t_2 = ((__pyx_v_itemsize == -1L) != 0);
++    if (!__pyx_t_2) {
+     } else {
+-      __pyx_t_2 = __pyx_t_3;
+-      goto __pyx_L28_bool_binop_done;
++      __pyx_t_3 = __pyx_t_2;
++      goto __pyx_L22_bool_binop_done;
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float32_t))) != 0);
+-    __pyx_t_2 = __pyx_t_3;
+-    __pyx_L28_bool_binop_done:;
+-    if (__pyx_t_2) {
+-      __pyx_v_memslice = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(__pyx_v_arg);
+-      __pyx_t_2 = (__pyx_v_memslice.memview != 0);
+-      if (__pyx_t_2) {
+-        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1);
++    __pyx_t_2 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float32_t))) != 0);
++    __pyx_t_3 = __pyx_t_2;
++    __pyx_L22_bool_binop_done:;
++    if (__pyx_t_3) {
++      __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(__pyx_v_arg, 0); 
++      __pyx_v_memslice = __pyx_t_8;
++      __pyx_t_3 = (__pyx_v_memslice.memview != 0);
++      if (__pyx_t_3) {
++        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1); 
+         if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float32_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        goto __pyx_L16_break;
++        goto __pyx_L10_break;
+       }
+       /*else*/ {
+-        PyErr_Clear();
++        PyErr_Clear(); 
+       }
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == -1L) != 0);
+-    if (!__pyx_t_3) {
++    __pyx_t_2 = ((__pyx_v_itemsize == -1L) != 0);
++    if (!__pyx_t_2) {
+     } else {
+-      __pyx_t_2 = __pyx_t_3;
+-      goto __pyx_L32_bool_binop_done;
++      __pyx_t_3 = __pyx_t_2;
++      goto __pyx_L26_bool_binop_done;
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
+-    __pyx_t_2 = __pyx_t_3;
+-    __pyx_L32_bool_binop_done:;
+-    if (__pyx_t_2) {
+-      __pyx_v_memslice = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg);
+-      __pyx_t_2 = (__pyx_v_memslice.memview != 0);
+-      if (__pyx_t_2) {
+-        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1);
++    __pyx_t_2 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
++    __pyx_t_3 = __pyx_t_2;
++    __pyx_L26_bool_binop_done:;
++    if (__pyx_t_3) {
++      __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg, 0); 
++      __pyx_v_memslice = __pyx_t_8;
++      __pyx_t_3 = (__pyx_v_memslice.memview != 0);
++      if (__pyx_t_3) {
++        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1); 
+         if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        goto __pyx_L16_break;
++        goto __pyx_L10_break;
+       }
+       /*else*/ {
+-        PyErr_Clear();
++        PyErr_Clear(); 
+       }
+     }
+     if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, Py_None, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    goto __pyx_L16_break;
++    goto __pyx_L10_break;
+   }
+-  __pyx_L16_break:;
+-  __pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_8);
+-  __pyx_v_candidates = ((PyObject*)__pyx_t_8);
+-  __pyx_t_8 = 0;
+-  __pyx_t_10 = 0;
++  __pyx_L10_break:;
++  __pyx_t_6 = PyList_New(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_6);
++  __pyx_v_candidates = ((PyObject*)__pyx_t_6);
++  __pyx_t_6 = 0;
++  __pyx_t_5 = 0;
+   if (unlikely(__pyx_v_signatures == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+-  __pyx_t_9 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_12), (&__pyx_t_7)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __pyx_t_8 = __pyx_t_9;
+-  __pyx_t_9 = 0;
++  __pyx_t_1 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_9), (&__pyx_t_10)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_6);
++  __pyx_t_6 = __pyx_t_1;
++  __pyx_t_1 = 0;
+   while (1) {
+-    __pyx_t_13 = __Pyx_dict_iter_next(__pyx_t_8, __pyx_t_12, &__pyx_t_10, &__pyx_t_9, NULL, NULL, __pyx_t_7);
+-    if (unlikely(__pyx_t_13 == 0)) break;
+-    if (unlikely(__pyx_t_13 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_9);
+-    __pyx_t_9 = 0;
++    __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_9, &__pyx_t_5, &__pyx_t_1, NULL, NULL, __pyx_t_10);
++    if (unlikely(__pyx_t_11 == 0)) break;
++    if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_1);
++    __pyx_t_1 = 0;
+     __pyx_v_match_found = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_split); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_1);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_1);
+-    __Pyx_INCREF(__pyx_v_dest_sig);
+-    __Pyx_GIVEREF(__pyx_v_dest_sig);
+-    PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_v_dest_sig);
+-    __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_split); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
+-      __pyx_t_9 = __pyx_t_1; __Pyx_INCREF(__pyx_t_9); __pyx_t_14 = 0;
+-      __pyx_t_15 = NULL;
+-    } else {
+-      __pyx_t_14 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_15 = Py_TYPE(__pyx_t_9)->tp_iternext; if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    }
++    __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    for (;;) {
+-      if (likely(!__pyx_t_15)) {
+-        if (likely(PyList_CheckExact(__pyx_t_9))) {
+-          if (__pyx_t_14 >= PyList_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        } else {
+-          if (__pyx_t_14 >= PyTuple_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        }
+-      } else {
+-        __pyx_t_1 = __pyx_t_15(__pyx_t_9);
+-        if (unlikely(!__pyx_t_1)) {
+-          PyObject* exc_type = PyErr_Occurred();
+-          if (exc_type) {
+-            if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-            else __PYX_ERR(0, 199, __pyx_L1_error)
+-          }
+-          break;
+-        }
+-        __Pyx_GOTREF(__pyx_t_1);
+-      }
+-      if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) {
+-        PyObject* sequence = __pyx_t_1;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        Py_ssize_t size = Py_SIZE(sequence);
+-        #else
+-        Py_ssize_t size = PySequence_Size(sequence);
+-        #endif
+-        if (unlikely(size != 2)) {
+-          if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+-          else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-          __PYX_ERR(0, 199, __pyx_L1_error)
+-        }
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        if (likely(PyTuple_CheckExact(sequence))) {
+-          __pyx_t_16 = PyTuple_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyTuple_GET_ITEM(sequence, 1); 
+-        } else {
+-          __pyx_t_16 = PyList_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyList_GET_ITEM(sequence, 1); 
+-        }
+-        __Pyx_INCREF(__pyx_t_16);
+-        __Pyx_INCREF(__pyx_t_17);
+-        #else
+-        __pyx_t_16 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_16);
+-        __pyx_t_17 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_17);
+-        #endif
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      } else {
+-        Py_ssize_t index = -1;
+-        __pyx_t_18 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_18);
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        __pyx_t_19 = Py_TYPE(__pyx_t_18)->tp_iternext;
+-        index = 0; __pyx_t_16 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_16)) goto __pyx_L39_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_16);
+-        index = 1; __pyx_t_17 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_17)) goto __pyx_L39_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_17);
+-        if (__Pyx_IternextUnpackEndCheck(__pyx_t_19(__pyx_t_18), 2) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __pyx_t_19 = NULL;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        goto __pyx_L40_unpacking_done;
+-        __pyx_L39_unpacking_failed:;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        __pyx_t_19 = NULL;
+-        if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
+-        __PYX_ERR(0, 199, __pyx_L1_error)
+-        __pyx_L40_unpacking_done:;
+-      }
+-      __Pyx_XDECREF_SET(__pyx_v_src_type, __pyx_t_16);
+-      __pyx_t_16 = 0;
+-      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_17);
+-      __pyx_t_17 = 0;
+-      __pyx_t_2 = (__pyx_v_dst_type != Py_None);
+-      __pyx_t_3 = (__pyx_t_2 != 0);
+-      if (__pyx_t_3) {
+-        __pyx_t_1 = PyObject_RichCompare(__pyx_v_src_type, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-        __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_XDECREF_SET(__pyx_v_src_sig, __pyx_t_12);
++    __pyx_t_12 = 0;
++    __pyx_t_13 = PyList_GET_SIZE(__pyx_v_dest_sig); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
++    __pyx_t_14 = __pyx_t_13;
++    for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
++      __pyx_v_i = __pyx_t_15;
++      __pyx_t_12 = PyList_GET_ITEM(__pyx_v_dest_sig, __pyx_v_i);
++      __Pyx_INCREF(__pyx_t_12);
++      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_12);
++      __pyx_t_12 = 0;
++      __pyx_t_3 = (__pyx_v_dst_type != Py_None);
++      __pyx_t_2 = (__pyx_t_3 != 0);
++      if (__pyx_t_2) {
++        __pyx_t_12 = __Pyx_GetItemInt(__pyx_v_src_sig, __pyx_v_i, Py_ssize_t, 1, PyInt_FromSsize_t, 0, 0, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_12);
++        __pyx_t_1 = PyObject_RichCompare(__pyx_t_12, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++        __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 199, __pyx_L1_error)
+         __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        if (__pyx_t_3) {
++        if (__pyx_t_2) {
+           __pyx_v_match_found = 1;
+-          goto __pyx_L42;
++          goto __pyx_L34;
+         }
+         /*else*/ {
+           __pyx_v_match_found = 0;
+-          goto __pyx_L38_break;
++          goto __pyx_L32_break;
+         }
+-        __pyx_L42:;
++        __pyx_L34:;
+       }
+     }
+-    __pyx_L38_break:;
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_3 = (__pyx_v_match_found != 0);
+-    if (__pyx_t_3) {
+-      __pyx_t_20 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_20 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __pyx_L32_break:;
++    __pyx_t_2 = (__pyx_v_match_found != 0);
++    if (__pyx_t_2) {
++      __pyx_t_16 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_16 == ((int)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
+     }
+   }
+-  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-  __pyx_t_3 = (__pyx_v_candidates != Py_None) && (PyList_GET_SIZE(__pyx_v_candidates) != 0);
+-  __pyx_t_2 = ((!__pyx_t_3) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++  __pyx_t_2 = (PyList_GET_SIZE(__pyx_v_candidates) != 0);
++  __pyx_t_3 = ((!__pyx_t_2) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+-  __pyx_t_12 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_t_2 = ((__pyx_t_12 > 1) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __pyx_t_9 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_3 = ((__pyx_t_9 > 1) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 199, __pyx_L1_error)
+   }
+   /*else*/ {
+@@ -6186,33 +6590,29 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_fornav_wrapper(CYTHON_UNUSE
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 199, __pyx_L1_error)
+     }
+-    __pyx_t_8 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __pyx_r = __pyx_t_8;
+-    __pyx_t_8 = 0;
++    __pyx_t_6 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_r = __pyx_t_6;
++    __pyx_t_6 = 0;
+     goto __pyx_L0;
+   }
+ 
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_1);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __Pyx_XDECREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_16);
+-  __Pyx_XDECREF(__pyx_t_17);
+-  __Pyx_XDECREF(__pyx_t_18);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_12);
+   __Pyx_AddTraceback("pyresample.ewa._fornav.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = NULL;
+   __pyx_L0:;
+   __Pyx_XDECREF(__pyx_v_dest_sig);
+   __Pyx_XDECREF(__pyx_v_ndarray);
+-  __Pyx_XDECREF(__pyx_v_numpy);
+   __Pyx_XDECREF(__pyx_v_arg);
+   __Pyx_XDECREF(__pyx_v_dtype);
+   __Pyx_XDECREF(__pyx_v_arg_base);
+   __Pyx_XDECREF(__pyx_v_candidates);
+   __Pyx_XDECREF(__pyx_v_sig);
+-  __Pyx_XDECREF(__pyx_v_src_type);
++  __Pyx_XDECREF(__pyx_v_src_sig);
+   __Pyx_XDECREF(__pyx_v_dst_type);
+   __Pyx_XDECREF(__pyx_v_kwargs);
+   __Pyx_XGIVEREF(__pyx_r);
+@@ -6319,84 +6719,109 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_7_fornav_3fornav_wrapper
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
++        CYTHON_FALLTHROUGH;
+         case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
++        CYTHON_FALLTHROUGH;
+         case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
++        CYTHON_FALLTHROUGH;
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
++        CYTHON_FALLTHROUGH;
+         case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
++        CYTHON_FALLTHROUGH;
+         case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cols_array)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cols_array)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rows_array)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rows_array)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 1); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_input_arrays)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_input_arrays)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 2); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_output_arrays)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_output_arrays)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 3); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  4:
+-        if (likely((values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_input_fill)) != 0)) kw_args--;
++        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_input_fill)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 4); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  5:
+-        if (likely((values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_output_fill)) != 0)) kw_args--;
++        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_output_fill)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 5); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  6:
+-        if (likely((values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rows_per_scan)) != 0)) kw_args--;
++        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rows_per_scan)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 6); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  7:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_count);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_count);
+           if (value) { values[7] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  8:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_min);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_min);
+           if (value) { values[8] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  9:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_distance_max);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_distance_max);
+           if (value) { values[9] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 10:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_delta_max);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_delta_max);
+           if (value) { values[10] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 11:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_sum_min);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_sum_min);
+           if (value) { values[11] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 12:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_maximum_weight_mode);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_maximum_weight_mode);
+           if (value) { values[12] = value; kw_args--; }
+         }
+       }
+@@ -6406,11 +6831,17 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_7_fornav_3fornav_wrapper
+     } else {
+       switch (PyTuple_GET_SIZE(__pyx_args)) {
+         case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
++        CYTHON_FALLTHROUGH;
+         case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
++        CYTHON_FALLTHROUGH;
+         case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
++        CYTHON_FALLTHROUGH;
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+         values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+         values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+@@ -6435,22 +6866,22 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_7_fornav_3fornav_wrapper
+       __pyx_v_weight_count = __pyx_dynamic_args->__pyx_arg_weight_count;
+     }
+     if (values[8]) {
+-      __pyx_v_weight_min = __pyx_PyFloat_AsFloat(values[8]); if (unlikely((__pyx_v_weight_min == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_min = __pyx_PyFloat_AsFloat(values[8]); if (unlikely((__pyx_v_weight_min == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_min = __pyx_dynamic_args->__pyx_arg_weight_min;
+     }
+     if (values[9]) {
+-      __pyx_v_weight_distance_max = __pyx_PyFloat_AsFloat(values[9]); if (unlikely((__pyx_v_weight_distance_max == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_distance_max = __pyx_PyFloat_AsFloat(values[9]); if (unlikely((__pyx_v_weight_distance_max == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_distance_max = __pyx_dynamic_args->__pyx_arg_weight_distance_max;
+     }
+     if (values[10]) {
+-      __pyx_v_weight_delta_max = __pyx_PyFloat_AsFloat(values[10]); if (unlikely((__pyx_v_weight_delta_max == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_delta_max = __pyx_PyFloat_AsFloat(values[10]); if (unlikely((__pyx_v_weight_delta_max == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_delta_max = __pyx_dynamic_args->__pyx_arg_weight_delta_max;
+     }
+     if (values[11]) {
+-      __pyx_v_weight_sum_min = __pyx_PyFloat_AsFloat(values[11]); if (unlikely((__pyx_v_weight_sum_min == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_sum_min = __pyx_PyFloat_AsFloat(values[11]); if (unlikely((__pyx_v_weight_sum_min == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_sum_min = __pyx_dynamic_args->__pyx_arg_weight_sum_min;
+     }
+@@ -6479,7 +6910,7 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_7_fornav_3fornav_wrapper
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value); /* proto */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
+ 
+ /* "pyresample/ewa/_fornav.pyx":265
+  *     if in_type != out_type:
+@@ -6496,15 +6927,17 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_genexpr(Py
+   __Pyx_RefNannySetupContext("genexpr", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 265, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *) __pyx_self;
+   __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope));
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope);
+   {
+-    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_0fornav_wrapper_local); if (unlikely(!gen)) __PYX_ERR(0, 265, __pyx_L1_error)
++    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_0fornav_wrapper_local, __pyx_n_s_pyresample_ewa__fornav); if (unlikely(!gen)) __PYX_ERR(0, 265, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_cur_scope);
+     __Pyx_RefNannyFinishContext();
+     return (PyObject *) gen;
+@@ -6520,7 +6953,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_genexpr(Py
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value) /* generator body */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */
+ {
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *__pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *)__pyx_generator->closure);
+   PyObject *__pyx_r = NULL;
+@@ -6531,7 +6964,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator
+   int __pyx_t_5;
+   int __pyx_t_6;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("None", 0);
++  __Pyx_RefNannySetupContext("genexpr", 0);
+   switch (__pyx_generator->resume_label) {
+     case 0: goto __pyx_L3_first_run;
+     default: /* CPython raises the right error here */
+@@ -6548,7 +6981,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator
+   __pyx_t_1 = __pyx_cur_scope->__pyx_outer_scope->__pyx_v_input_arrays; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 265, __pyx_L1_error)
+     #else
+     __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 265, __pyx_L1_error)
+@@ -6582,6 +7015,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator
+     goto __pyx_L0;
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
+ 
+   /* function exit code */
+   goto __pyx_L0;
+@@ -6592,12 +7026,13 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_2generator
+   __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_L0:;
+   __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_Coroutine_ResetAndClearException(__pyx_generator);
+   __pyx_generator->resume_label = -1;
+   __Pyx_Coroutine_clear((PyObject*)__pyx_generator);
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value); /* proto */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
+ 
+ /* "pyresample/ewa/_fornav.pyx":267
+  *     if not all(input_array.dtype == in_type for input_array in input_arrays):
+@@ -6614,15 +7049,17 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_3genexpr(P
+   __Pyx_RefNannySetupContext("genexpr", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 267, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *) __pyx_self;
+   __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope));
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope);
+   {
+-    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_0fornav_wrapper_local); if (unlikely(!gen)) __PYX_ERR(0, 267, __pyx_L1_error)
++    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_0fornav_wrapper_local, __pyx_n_s_pyresample_ewa__fornav); if (unlikely(!gen)) __PYX_ERR(0, 267, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_cur_scope);
+     __Pyx_RefNannyFinishContext();
+     return (PyObject *) gen;
+@@ -6638,7 +7075,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_3genexpr(P
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value) /* generator body */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator1(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */
+ {
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *__pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *)__pyx_generator->closure);
+   PyObject *__pyx_r = NULL;
+@@ -6649,7 +7086,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator
+   int __pyx_t_5;
+   int __pyx_t_6;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("None", 0);
++  __Pyx_RefNannySetupContext("genexpr", 0);
+   switch (__pyx_generator->resume_label) {
+     case 0: goto __pyx_L3_first_run;
+     default: /* CPython raises the right error here */
+@@ -6666,7 +7103,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator
+   __pyx_t_1 = __pyx_cur_scope->__pyx_outer_scope->__pyx_v_output_arrays; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 267, __pyx_L1_error)
+     #else
+     __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 267, __pyx_L1_error)
+@@ -6700,6 +7137,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator
+     goto __pyx_L0;
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
+ 
+   /* function exit code */
+   goto __pyx_L0;
+@@ -6710,6 +7148,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_5generator
+   __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_L0:;
+   __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_Coroutine_ResetAndClearException(__pyx_generator);
+   __pyx_generator->resume_label = -1;
+   __Pyx_Coroutine_clear((PyObject*)__pyx_generator);
+   __Pyx_RefNannyFinishContext();
+@@ -6765,37 +7204,40 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   Py_ssize_t __pyx_t_8;
+   Py_ssize_t __pyx_t_9;
+   Py_ssize_t __pyx_t_10;
+-  unsigned int __pyx_t_11;
+-  int __pyx_t_12;
+-  PyObject *__pyx_t_13 = NULL;
++  size_t __pyx_t_11;
++  unsigned int __pyx_t_12;
++  int __pyx_t_13;
+   PyObject *__pyx_t_14 = NULL;
+   PyObject *__pyx_t_15 = NULL;
+-  Py_ssize_t __pyx_t_16;
++  PyObject *__pyx_t_16 = NULL;
+   Py_ssize_t __pyx_t_17;
+   Py_ssize_t __pyx_t_18;
+   Py_ssize_t __pyx_t_19;
+-  __pyx_t_5numpy_float32_t __pyx_t_20;
++  Py_ssize_t __pyx_t_20;
+   __pyx_t_5numpy_float32_t __pyx_t_21;
+-  Py_ssize_t __pyx_t_22;
++  __pyx_t_5numpy_float32_t __pyx_t_22;
+   Py_ssize_t __pyx_t_23;
+   Py_ssize_t __pyx_t_24;
+   Py_ssize_t __pyx_t_25;
+-  __pyx_t_5numpy_float64_t __pyx_t_26;
++  Py_ssize_t __pyx_t_26;
+   __pyx_t_5numpy_float64_t __pyx_t_27;
+-  Py_ssize_t __pyx_t_28;
++  __pyx_t_5numpy_float64_t __pyx_t_28;
+   Py_ssize_t __pyx_t_29;
+   Py_ssize_t __pyx_t_30;
+   Py_ssize_t __pyx_t_31;
+-  __pyx_t_5numpy_int8_t __pyx_t_32;
++  Py_ssize_t __pyx_t_32;
+   __pyx_t_5numpy_int8_t __pyx_t_33;
+-  int __pyx_t_34;
++  __pyx_t_5numpy_int8_t __pyx_t_34;
++  int __pyx_t_35;
+   __Pyx_RefNannySetupContext("__pyx_fuse_0fornav_wrapper", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 199, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_v_input_arrays = __pyx_v_input_arrays;
+   __Pyx_INCREF(__pyx_cur_scope->__pyx_v_input_arrays);
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_input_arrays);
+@@ -6846,7 +7288,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 247, __pyx_L1_error)
+   }
+-  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) __PYX_ERR(0, 247, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 247, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_v_num_items = __pyx_t_2;
+ 
+@@ -6863,7 +7305,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 248, __pyx_L1_error)
+   }
+-  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) __PYX_ERR(0, 248, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 248, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_v_num_outputs = __pyx_t_2;
+ 
+@@ -6933,7 +7375,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *     if num_items <= 0:
+  */
+   __pyx_t_5 = ((__pyx_v_num_items != __pyx_v_num_outputs) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":255
+  *     cdef unsigned int i
+@@ -6965,7 +7407,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *     if rows_per_scan < 2 or swath_rows % rows_per_scan != 0:
+  */
+   __pyx_t_5 = ((__pyx_v_num_items <= 0) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":257
+  *         raise ValueError("Must have same number of inputs and outputs")
+@@ -7009,7 +7451,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   __pyx_t_6 = (((__pyx_v_swath_rows % __pyx_v_rows_per_scan) != 0) != 0);
+   __pyx_t_5 = __pyx_t_6;
+   __pyx_L6_bool_binop_done:;
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":259
+  *         raise ValueError("No input arrays given")
+@@ -7079,7 +7521,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   __pyx_t_1 = PyObject_RichCompare(((PyObject *)__pyx_cur_scope->__pyx_v_in_type), ((PyObject *)__pyx_cur_scope->__pyx_v_out_type), Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 263, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":264
+  *     cdef numpy.dtype out_type = output_arrays[0].dtype
+@@ -7118,7 +7560,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 265, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_t_6 = ((!__pyx_t_5) != 0);
+-  if (__pyx_t_6) {
++  if (unlikely(__pyx_t_6)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":266
+  *         raise ValueError("Input and Output must be of the same type")
+@@ -7157,7 +7599,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 267, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_t_5 = ((!__pyx_t_6) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":268
+  *         raise ValueError("Input arrays must all be of the same data type")
+@@ -7198,7 +7640,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *     cdef void **output_pointer = malloc(num_items * sizeof(void *))
+  */
+   __pyx_t_5 = ((!(__pyx_v_input_pointer != 0)) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":272
+  *     cdef void **input_pointer = malloc(num_items * sizeof(void *))
+@@ -7235,7 +7677,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *     cdef unsigned int *valid_arr = malloc(num_items * sizeof(unsigned int))
+  */
+   __pyx_t_5 = ((!(__pyx_v_output_pointer != 0)) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":275
+  *     cdef void **output_pointer = malloc(num_items * sizeof(void *))
+@@ -7324,8 +7766,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_f32[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":287
+  *     if in_type == numpy.float32:
+@@ -7344,18 +7787,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f32, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 287, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 287, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_f32, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7367,9 +7811,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_f32 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_f32[0, 0]
+  */
+-      __pyx_t_16 = 0;
+       __pyx_t_17 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
++      __pyx_t_18 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_17, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_18, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":289
+  *             tmp_arr_f32 = input_arrays[i]
+@@ -7388,18 +7832,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f32, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 289, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 289, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_f32, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7411,9 +7856,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_18 = 0;
+       __pyx_t_19 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_18, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_19, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
++      __pyx_t_20 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_19, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_20, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":293
+@@ -7423,8 +7868,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_20 = __pyx_PyFloat_AsFloat(__pyx_v_input_fill); if (unlikely((__pyx_t_20 == (npy_float32)-1) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
+-    __pyx_t_21 = __pyx_PyFloat_AsFloat(__pyx_v_output_fill); if (unlikely((__pyx_t_21 == (npy_float32)-1) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
++    __pyx_t_21 = __pyx_PyFloat_AsFloat(__pyx_v_input_fill); if (unlikely((__pyx_t_21 == ((npy_float32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
++    __pyx_t_22 = __pyx_PyFloat_AsFloat(__pyx_v_output_fill); if (unlikely((__pyx_t_22 == ((npy_float32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":295
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -7442,8 +7887,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float32_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float32_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float32_t)__pyx_t_20), ((__pyx_t_5numpy_float32_t)__pyx_t_21), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 291, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_0_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float32_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float32_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float32_t)__pyx_t_21), ((__pyx_t_5numpy_float32_t)__pyx_t_22), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 291, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":285
+  *     cdef int func_result
+@@ -7481,8 +7926,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_f64[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":298
+  *     elif in_type == numpy.float64:
+@@ -7501,18 +7947,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f64, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 298, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 298, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_f64, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7524,9 +7971,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_f64 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_f64[0, 0]
+  */
+-      __pyx_t_22 = 0;
+       __pyx_t_23 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_22, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_23, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
++      __pyx_t_24 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_23, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_24, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":300
+  *             tmp_arr_f64 = input_arrays[i]
+@@ -7545,18 +7992,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f64, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 300, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 300, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_f64, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7568,9 +8016,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_24 = 0;
+       __pyx_t_25 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_24, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_25, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
++      __pyx_t_26 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_25, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_26, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":304
+@@ -7580,8 +8028,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_26 = __pyx_PyFloat_AsDouble(__pyx_v_input_fill); if (unlikely((__pyx_t_26 == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
+-    __pyx_t_27 = __pyx_PyFloat_AsDouble(__pyx_v_output_fill); if (unlikely((__pyx_t_27 == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
++    __pyx_t_27 = __pyx_PyFloat_AsDouble(__pyx_v_input_fill); if (unlikely((__pyx_t_27 == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
++    __pyx_t_28 = __pyx_PyFloat_AsDouble(__pyx_v_output_fill); if (unlikely((__pyx_t_28 == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":306
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -7599,8 +8047,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float64_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float64_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float64_t)__pyx_t_26), ((__pyx_t_5numpy_float64_t)__pyx_t_27), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 302, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_0_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float64_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float64_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float64_t)__pyx_t_27), ((__pyx_t_5numpy_float64_t)__pyx_t_28), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 302, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":296
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+@@ -7628,7 +8076,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 307, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  if (__pyx_t_5) {
++  if (likely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":308
+  *                      maximum_weight_mode)
+@@ -7638,8 +8086,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_i8[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":309
+  *     elif in_type == numpy.int8:
+@@ -7658,18 +8107,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_i8, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 309, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 309, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_i8, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7681,9 +8131,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_i8 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_i8[0, 0]
+  */
+-      __pyx_t_28 = 0;
+       __pyx_t_29 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_28, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_29, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
++      __pyx_t_30 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_29, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_30, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":311
+  *             tmp_arr_i8 = input_arrays[i]
+@@ -7702,18 +8152,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_i8, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 311, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 311, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_i8, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -7725,9 +8176,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_30 = 0;
+       __pyx_t_31 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_30, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_31, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
++      __pyx_t_32 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_31, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_32, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":315
+@@ -7737,8 +8188,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_32 = __Pyx_PyInt_As_npy_int8(__pyx_v_input_fill); if (unlikely((__pyx_t_32 == (npy_int8)-1) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
+-    __pyx_t_33 = __Pyx_PyInt_As_npy_int8(__pyx_v_output_fill); if (unlikely((__pyx_t_33 == (npy_int8)-1) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
++    __pyx_t_33 = __Pyx_PyInt_As_npy_int8(__pyx_v_input_fill); if (unlikely((__pyx_t_33 == ((npy_int8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
++    __pyx_t_34 = __Pyx_PyInt_As_npy_int8(__pyx_v_output_fill); if (unlikely((__pyx_t_34 == ((npy_int8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":317
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -7756,8 +8207,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_int8_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_int8_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_int8_t)__pyx_t_32), ((__pyx_t_5numpy_int8_t)__pyx_t_33), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 313, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_0_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_int8_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_int8_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_int8_t)__pyx_t_33), ((__pyx_t_5numpy_int8_t)__pyx_t_34), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 313, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":307
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+@@ -7793,8 +8244,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  * 
+  */
+   __pyx_t_4 = __pyx_v_num_items;
+-  for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-    __pyx_v_i = __pyx_t_11;
++  __pyx_t_11 = __pyx_t_4;
++  for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++    __pyx_v_i = __pyx_t_12;
+ 
+     /* "pyresample/ewa/_fornav.pyx":322
+  * 
+@@ -7805,7 +8257,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_2fornav_wrapper(CYTHON_UNUS
+  */
+     __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_valid_arr[__pyx_v_i])); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 322, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_34 = __Pyx_PyList_Append(__pyx_v_valid_list, __pyx_t_1); if (unlikely(__pyx_t_34 == -1)) __PYX_ERR(0, 322, __pyx_L1_error)
++    __pyx_t_35 = __Pyx_PyList_Append(__pyx_v_valid_list, __pyx_t_1); if (unlikely(__pyx_t_35 == ((int)-1))) __PYX_ERR(0, 322, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   }
+ 
+@@ -7978,84 +8430,109 @@ static PyObject *__pyx_fuse_1__pyx_pw_10pyresample_3ewa_7_fornav_5fornav_wrapper
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
++        CYTHON_FALLTHROUGH;
+         case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
++        CYTHON_FALLTHROUGH;
+         case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
++        CYTHON_FALLTHROUGH;
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
++        CYTHON_FALLTHROUGH;
+         case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
++        CYTHON_FALLTHROUGH;
+         case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cols_array)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cols_array)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rows_array)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rows_array)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 1); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_input_arrays)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_input_arrays)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 2); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_output_arrays)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_output_arrays)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 3); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  4:
+-        if (likely((values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_input_fill)) != 0)) kw_args--;
++        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_input_fill)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 4); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  5:
+-        if (likely((values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_output_fill)) != 0)) kw_args--;
++        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_output_fill)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 5); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  6:
+-        if (likely((values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_rows_per_scan)) != 0)) kw_args--;
++        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_rows_per_scan)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("fornav_wrapper", 0, 7, 13, 6); __PYX_ERR(0, 199, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  7:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_count);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_count);
+           if (value) { values[7] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  8:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_min);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_min);
+           if (value) { values[8] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  9:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_distance_max);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_distance_max);
+           if (value) { values[9] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 10:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_delta_max);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_delta_max);
+           if (value) { values[10] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 11:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_weight_sum_min);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_weight_sum_min);
+           if (value) { values[11] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case 12:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_maximum_weight_mode);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_maximum_weight_mode);
+           if (value) { values[12] = value; kw_args--; }
+         }
+       }
+@@ -8065,11 +8542,17 @@ static PyObject *__pyx_fuse_1__pyx_pw_10pyresample_3ewa_7_fornav_5fornav_wrapper
+     } else {
+       switch (PyTuple_GET_SIZE(__pyx_args)) {
+         case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
++        CYTHON_FALLTHROUGH;
+         case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
++        CYTHON_FALLTHROUGH;
+         case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
++        CYTHON_FALLTHROUGH;
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
+         values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+         values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+@@ -8094,22 +8577,22 @@ static PyObject *__pyx_fuse_1__pyx_pw_10pyresample_3ewa_7_fornav_5fornav_wrapper
+       __pyx_v_weight_count = __pyx_dynamic_args->__pyx_arg_weight_count;
+     }
+     if (values[8]) {
+-      __pyx_v_weight_min = __pyx_PyFloat_AsFloat(values[8]); if (unlikely((__pyx_v_weight_min == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_min = __pyx_PyFloat_AsFloat(values[8]); if (unlikely((__pyx_v_weight_min == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_min = __pyx_dynamic_args->__pyx_arg_weight_min;
+     }
+     if (values[9]) {
+-      __pyx_v_weight_distance_max = __pyx_PyFloat_AsFloat(values[9]); if (unlikely((__pyx_v_weight_distance_max == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_distance_max = __pyx_PyFloat_AsFloat(values[9]); if (unlikely((__pyx_v_weight_distance_max == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_distance_max = __pyx_dynamic_args->__pyx_arg_weight_distance_max;
+     }
+     if (values[10]) {
+-      __pyx_v_weight_delta_max = __pyx_PyFloat_AsFloat(values[10]); if (unlikely((__pyx_v_weight_delta_max == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_delta_max = __pyx_PyFloat_AsFloat(values[10]); if (unlikely((__pyx_v_weight_delta_max == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_delta_max = __pyx_dynamic_args->__pyx_arg_weight_delta_max;
+     }
+     if (values[11]) {
+-      __pyx_v_weight_sum_min = __pyx_PyFloat_AsFloat(values[11]); if (unlikely((__pyx_v_weight_sum_min == (weight_type)-1) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
++      __pyx_v_weight_sum_min = __pyx_PyFloat_AsFloat(values[11]); if (unlikely((__pyx_v_weight_sum_min == ((weight_type)-1)) && PyErr_Occurred())) __PYX_ERR(0, 203, __pyx_L3_error)
+     } else {
+       __pyx_v_weight_sum_min = __pyx_dynamic_args->__pyx_arg_weight_sum_min;
+     }
+@@ -8138,7 +8621,7 @@ static PyObject *__pyx_fuse_1__pyx_pw_10pyresample_3ewa_7_fornav_5fornav_wrapper
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value); /* proto */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
+ 
+ /* "pyresample/ewa/_fornav.pyx":265
+  *     if in_type != out_type:
+@@ -8155,15 +8638,17 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_6genexpr(P
+   __Pyx_RefNannySetupContext("genexpr", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 265, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *) __pyx_self;
+   __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope));
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope);
+   {
+-    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_1fornav_wrapper_local); if (unlikely(!gen)) __PYX_ERR(0, 265, __pyx_L1_error)
++    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_1fornav_wrapper_local, __pyx_n_s_pyresample_ewa__fornav); if (unlikely(!gen)) __PYX_ERR(0, 265, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_cur_scope);
+     __Pyx_RefNannyFinishContext();
+     return (PyObject *) gen;
+@@ -8179,7 +8664,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_6genexpr(P
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value) /* generator body */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator2(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */
+ {
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *__pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *)__pyx_generator->closure);
+   PyObject *__pyx_r = NULL;
+@@ -8190,7 +8675,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator
+   int __pyx_t_5;
+   int __pyx_t_6;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("None", 0);
++  __Pyx_RefNannySetupContext("genexpr", 0);
+   switch (__pyx_generator->resume_label) {
+     case 0: goto __pyx_L3_first_run;
+     default: /* CPython raises the right error here */
+@@ -8207,7 +8692,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator
+   __pyx_t_1 = __pyx_cur_scope->__pyx_outer_scope->__pyx_v_input_arrays; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 265, __pyx_L1_error)
+     #else
+     __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 265, __pyx_L1_error)
+@@ -8241,6 +8726,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator
+     goto __pyx_L0;
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
+ 
+   /* function exit code */
+   goto __pyx_L0;
+@@ -8251,12 +8737,13 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_8generator
+   __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_L0:;
+   __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_Coroutine_ResetAndClearException(__pyx_generator);
+   __pyx_generator->resume_label = -1;
+   __Pyx_Coroutine_clear((PyObject*)__pyx_generator);
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value); /* proto */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
+ 
+ /* "pyresample/ewa/_fornav.pyx":267
+  *     if not all(input_array.dtype == in_type for input_array in input_arrays):
+@@ -8273,15 +8760,17 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_9genexpr(P
+   __Pyx_RefNannySetupContext("genexpr", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 267, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_outer_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *) __pyx_self;
+   __Pyx_INCREF(((PyObject *)__pyx_cur_scope->__pyx_outer_scope));
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_outer_scope);
+   {
+-    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_1fornav_wrapper_local); if (unlikely(!gen)) __PYX_ERR(0, 267, __pyx_L1_error)
++    __pyx_CoroutineObject *gen = __Pyx_Generator_New((__pyx_coroutine_body_t) __pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3, NULL, (PyObject *) __pyx_cur_scope, __pyx_n_s_genexpr, __pyx_n_s_pyx_fuse_1fornav_wrapper_local, __pyx_n_s_pyresample_ewa__fornav); if (unlikely(!gen)) __PYX_ERR(0, 267, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_cur_scope);
+     __Pyx_RefNannyFinishContext();
+     return (PyObject *) gen;
+@@ -8297,7 +8786,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_14fornav_wrapper_9genexpr(P
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3(__pyx_CoroutineObject *__pyx_generator, PyObject *__pyx_sent_value) /* generator body */
++static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generator3(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value) /* generator body */
+ {
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *__pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *)__pyx_generator->closure);
+   PyObject *__pyx_r = NULL;
+@@ -8308,7 +8797,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generato
+   int __pyx_t_5;
+   int __pyx_t_6;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("None", 0);
++  __Pyx_RefNannySetupContext("genexpr", 0);
+   switch (__pyx_generator->resume_label) {
+     case 0: goto __pyx_L3_first_run;
+     default: /* CPython raises the right error here */
+@@ -8325,7 +8814,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generato
+   __pyx_t_1 = __pyx_cur_scope->__pyx_outer_scope->__pyx_v_output_arrays; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(0, 267, __pyx_L1_error)
+     #else
+     __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 267, __pyx_L1_error)
+@@ -8359,6 +8848,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generato
+     goto __pyx_L0;
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  CYTHON_MAYBE_UNUSED_VAR(__pyx_cur_scope);
+ 
+   /* function exit code */
+   goto __pyx_L0;
+@@ -8369,6 +8859,7 @@ static PyObject *__pyx_gb_10pyresample_3ewa_7_fornav_14fornav_wrapper_11generato
+   __Pyx_AddTraceback("genexpr", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_L0:;
+   __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_Coroutine_ResetAndClearException(__pyx_generator);
+   __pyx_generator->resume_label = -1;
+   __Pyx_Coroutine_clear((PyObject*)__pyx_generator);
+   __Pyx_RefNannyFinishContext();
+@@ -8424,37 +8915,40 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   Py_ssize_t __pyx_t_8;
+   Py_ssize_t __pyx_t_9;
+   Py_ssize_t __pyx_t_10;
+-  unsigned int __pyx_t_11;
+-  int __pyx_t_12;
+-  PyObject *__pyx_t_13 = NULL;
++  size_t __pyx_t_11;
++  unsigned int __pyx_t_12;
++  int __pyx_t_13;
+   PyObject *__pyx_t_14 = NULL;
+   PyObject *__pyx_t_15 = NULL;
+-  Py_ssize_t __pyx_t_16;
++  PyObject *__pyx_t_16 = NULL;
+   Py_ssize_t __pyx_t_17;
+   Py_ssize_t __pyx_t_18;
+   Py_ssize_t __pyx_t_19;
+-  __pyx_t_5numpy_float32_t __pyx_t_20;
++  Py_ssize_t __pyx_t_20;
+   __pyx_t_5numpy_float32_t __pyx_t_21;
+-  Py_ssize_t __pyx_t_22;
++  __pyx_t_5numpy_float32_t __pyx_t_22;
+   Py_ssize_t __pyx_t_23;
+   Py_ssize_t __pyx_t_24;
+   Py_ssize_t __pyx_t_25;
+-  __pyx_t_5numpy_float64_t __pyx_t_26;
++  Py_ssize_t __pyx_t_26;
+   __pyx_t_5numpy_float64_t __pyx_t_27;
+-  Py_ssize_t __pyx_t_28;
++  __pyx_t_5numpy_float64_t __pyx_t_28;
+   Py_ssize_t __pyx_t_29;
+   Py_ssize_t __pyx_t_30;
+   Py_ssize_t __pyx_t_31;
+-  __pyx_t_5numpy_int8_t __pyx_t_32;
++  Py_ssize_t __pyx_t_32;
+   __pyx_t_5numpy_int8_t __pyx_t_33;
+-  int __pyx_t_34;
++  __pyx_t_5numpy_int8_t __pyx_t_34;
++  int __pyx_t_35;
+   __Pyx_RefNannySetupContext("__pyx_fuse_1fornav_wrapper", 0);
+   __pyx_cur_scope = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *)__pyx_tp_new_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper(__pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper, __pyx_empty_tuple, NULL);
+   if (unlikely(!__pyx_cur_scope)) {
+-    __Pyx_RefNannyFinishContext();
+-    return NULL;
++    __pyx_cur_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *)Py_None);
++    __Pyx_INCREF(Py_None);
++    __PYX_ERR(0, 199, __pyx_L1_error)
++  } else {
++    __Pyx_GOTREF(__pyx_cur_scope);
+   }
+-  __Pyx_GOTREF(__pyx_cur_scope);
+   __pyx_cur_scope->__pyx_v_input_arrays = __pyx_v_input_arrays;
+   __Pyx_INCREF(__pyx_cur_scope->__pyx_v_input_arrays);
+   __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_input_arrays);
+@@ -8505,7 +8999,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 247, __pyx_L1_error)
+   }
+-  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) __PYX_ERR(0, 247, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 247, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_v_num_items = __pyx_t_2;
+ 
+@@ -8522,7 +9016,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 248, __pyx_L1_error)
+   }
+-  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) __PYX_ERR(0, 248, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 248, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_v_num_outputs = __pyx_t_2;
+ 
+@@ -8592,7 +9086,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *     if num_items <= 0:
+  */
+   __pyx_t_5 = ((__pyx_v_num_items != __pyx_v_num_outputs) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":255
+  *     cdef unsigned int i
+@@ -8624,7 +9118,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *     if rows_per_scan < 2 or swath_rows % rows_per_scan != 0:
+  */
+   __pyx_t_5 = ((__pyx_v_num_items <= 0) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":257
+  *         raise ValueError("Must have same number of inputs and outputs")
+@@ -8668,7 +9162,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   __pyx_t_6 = (((__pyx_v_swath_rows % __pyx_v_rows_per_scan) != 0) != 0);
+   __pyx_t_5 = __pyx_t_6;
+   __pyx_L6_bool_binop_done:;
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":259
+  *         raise ValueError("No input arrays given")
+@@ -8738,7 +9232,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   __pyx_t_1 = PyObject_RichCompare(((PyObject *)__pyx_cur_scope->__pyx_v_in_type), ((PyObject *)__pyx_cur_scope->__pyx_v_out_type), Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 263, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":264
+  *     cdef numpy.dtype out_type = output_arrays[0].dtype
+@@ -8777,7 +9271,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 265, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_t_6 = ((!__pyx_t_5) != 0);
+-  if (__pyx_t_6) {
++  if (unlikely(__pyx_t_6)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":266
+  *         raise ValueError("Input and Output must be of the same type")
+@@ -8816,7 +9310,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 267, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_t_5 = ((!__pyx_t_6) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":268
+  *         raise ValueError("Input arrays must all be of the same data type")
+@@ -8857,7 +9351,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *     cdef void **output_pointer = malloc(num_items * sizeof(void *))
+  */
+   __pyx_t_5 = ((!(__pyx_v_input_pointer != 0)) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":272
+  *     cdef void **input_pointer = malloc(num_items * sizeof(void *))
+@@ -8894,7 +9388,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *     cdef unsigned int *valid_arr = malloc(num_items * sizeof(unsigned int))
+  */
+   __pyx_t_5 = ((!(__pyx_v_output_pointer != 0)) != 0);
+-  if (__pyx_t_5) {
++  if (unlikely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":275
+  *     cdef void **output_pointer = malloc(num_items * sizeof(void *))
+@@ -8983,8 +9477,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_f32[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":287
+  *     if in_type == numpy.float32:
+@@ -9003,18 +9498,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f32, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 287, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 287, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_f32, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9026,9 +9522,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_f32 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_f32[0, 0]
+  */
+-      __pyx_t_16 = 0;
+       __pyx_t_17 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
++      __pyx_t_18 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_17, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_18, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":289
+  *             tmp_arr_f32 = input_arrays[i]
+@@ -9047,18 +9543,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f32, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f32.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 289, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 289, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_f32, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9070,9 +9567,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_18 = 0;
+       __pyx_t_19 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_18, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_19, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
++      __pyx_t_20 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float32_t *, __pyx_pybuffernd_tmp_arr_f32.rcbuffer->pybuffer.buf, __pyx_t_19, __pyx_pybuffernd_tmp_arr_f32.diminfo[0].strides, __pyx_t_20, __pyx_pybuffernd_tmp_arr_f32.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":293
+@@ -9082,8 +9579,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_20 = __pyx_PyFloat_AsFloat(__pyx_v_input_fill); if (unlikely((__pyx_t_20 == (npy_float32)-1) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
+-    __pyx_t_21 = __pyx_PyFloat_AsFloat(__pyx_v_output_fill); if (unlikely((__pyx_t_21 == (npy_float32)-1) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
++    __pyx_t_21 = __pyx_PyFloat_AsFloat(__pyx_v_input_fill); if (unlikely((__pyx_t_21 == ((npy_float32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
++    __pyx_t_22 = __pyx_PyFloat_AsFloat(__pyx_v_output_fill); if (unlikely((__pyx_t_22 == ((npy_float32)-1)) && PyErr_Occurred())) __PYX_ERR(0, 293, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":295
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -9101,8 +9598,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float32_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float32_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float32_t)__pyx_t_20), ((__pyx_t_5numpy_float32_t)__pyx_t_21), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 291, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_1_0_0__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float32_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float32_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float32_t)__pyx_t_21), ((__pyx_t_5numpy_float32_t)__pyx_t_22), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 291, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":285
+  *     cdef int func_result
+@@ -9140,8 +9637,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_f64[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":298
+  *     elif in_type == numpy.float64:
+@@ -9160,18 +9658,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f64, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 298, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 298, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_f64, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9183,9 +9682,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_f64 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_f64[0, 0]
+  */
+-      __pyx_t_22 = 0;
+       __pyx_t_23 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_22, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_23, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
++      __pyx_t_24 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_23, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_24, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":300
+  *             tmp_arr_f64 = input_arrays[i]
+@@ -9204,18 +9703,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_f64, &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_f64.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 300, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 300, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_f64, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9227,9 +9727,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_24 = 0;
+       __pyx_t_25 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_24, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_25, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
++      __pyx_t_26 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_tmp_arr_f64.rcbuffer->pybuffer.buf, __pyx_t_25, __pyx_pybuffernd_tmp_arr_f64.diminfo[0].strides, __pyx_t_26, __pyx_pybuffernd_tmp_arr_f64.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":304
+@@ -9239,8 +9739,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_26 = __pyx_PyFloat_AsDouble(__pyx_v_input_fill); if (unlikely((__pyx_t_26 == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
+-    __pyx_t_27 = __pyx_PyFloat_AsDouble(__pyx_v_output_fill); if (unlikely((__pyx_t_27 == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
++    __pyx_t_27 = __pyx_PyFloat_AsDouble(__pyx_v_input_fill); if (unlikely((__pyx_t_27 == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
++    __pyx_t_28 = __pyx_PyFloat_AsDouble(__pyx_v_output_fill); if (unlikely((__pyx_t_28 == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 304, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":306
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -9258,8 +9758,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float64_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float64_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float64_t)__pyx_t_26), ((__pyx_t_5numpy_float64_t)__pyx_t_27), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 302, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_1_1_1__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_float64_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_float64_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_float64_t)__pyx_t_27), ((__pyx_t_5numpy_float64_t)__pyx_t_28), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 302, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":296
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+@@ -9287,7 +9787,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) __PYX_ERR(0, 307, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  if (__pyx_t_5) {
++  if (likely(__pyx_t_5)) {
+ 
+     /* "pyresample/ewa/_fornav.pyx":308
+  *                      maximum_weight_mode)
+@@ -9297,8 +9797,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             input_pointer[i] = &tmp_arr_i8[0, 0]
+  */
+     __pyx_t_4 = __pyx_v_num_items;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-      __pyx_v_i = __pyx_t_11;
++    __pyx_t_11 = __pyx_t_4;
++    for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++      __pyx_v_i = __pyx_t_12;
+ 
+       /* "pyresample/ewa/_fornav.pyx":309
+  *     elif in_type == numpy.int8:
+@@ -9317,18 +9818,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_14, &__pyx_t_15, &__pyx_t_16);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_i8, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_13); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15);
++            Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_16);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_13, __pyx_t_14, __pyx_t_15);
++            PyErr_Restore(__pyx_t_14, __pyx_t_15, __pyx_t_16);
+           }
++          __pyx_t_14 = __pyx_t_15 = __pyx_t_16 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 309, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 309, __pyx_L1_error)
+       }
+       __Pyx_XDECREF_SET(__pyx_v_tmp_arr_i8, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9340,9 +9842,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *             tmp_arr_i8 = output_arrays[i]
+  *             output_pointer[i] = &tmp_arr_i8[0, 0]
+  */
+-      __pyx_t_28 = 0;
+       __pyx_t_29 = 0;
+-      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_28, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_29, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
++      __pyx_t_30 = 0;
++      (__pyx_v_input_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_29, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_30, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
+ 
+       /* "pyresample/ewa/_fornav.pyx":311
+  *             tmp_arr_i8 = input_arrays[i]
+@@ -9361,18 +9863,19 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+       {
+         __Pyx_BufFmt_StackElem __pyx_stack[1];
+         __Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer);
+-        __pyx_t_12 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
+-        if (unlikely(__pyx_t_12 < 0)) {
+-          PyErr_Fetch(&__pyx_t_15, &__pyx_t_14, &__pyx_t_13);
++        __pyx_t_13 = __Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack);
++        if (unlikely(__pyx_t_13 < 0)) {
++          PyErr_Fetch(&__pyx_t_16, &__pyx_t_15, &__pyx_t_14);
+           if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer, (PyObject*)__pyx_v_tmp_arr_i8, &__Pyx_TypeInfo_nn___pyx_t_5numpy_int8_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
+-            Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14); Py_XDECREF(__pyx_t_13);
++            Py_XDECREF(__pyx_t_16); Py_XDECREF(__pyx_t_15); Py_XDECREF(__pyx_t_14);
+             __Pyx_RaiseBufferFallbackError();
+           } else {
+-            PyErr_Restore(__pyx_t_15, __pyx_t_14, __pyx_t_13);
++            PyErr_Restore(__pyx_t_16, __pyx_t_15, __pyx_t_14);
+           }
++          __pyx_t_16 = __pyx_t_15 = __pyx_t_14 = 0;
+         }
+         __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[0].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_tmp_arr_i8.diminfo[1].shape = __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.shape[1];
+-        if (unlikely(__pyx_t_12 < 0)) __PYX_ERR(0, 311, __pyx_L1_error)
++        if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 311, __pyx_L1_error)
+       }
+       __Pyx_DECREF_SET(__pyx_v_tmp_arr_i8, ((PyArrayObject *)__pyx_t_1));
+       __pyx_t_1 = 0;
+@@ -9384,9 +9887,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *         func_result = fornav(valid_arr, num_items, swath_cols, swath_rows, grid_cols, grid_rows, cols_pointer, rows_pointer,
+  *                      input_pointer, output_pointer,
+  */
+-      __pyx_t_30 = 0;
+       __pyx_t_31 = 0;
+-      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_30, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_31, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
++      __pyx_t_32 = 0;
++      (__pyx_v_output_pointer[__pyx_v_i]) = (&(*__Pyx_BufPtrStrided2d(__pyx_t_5numpy_int8_t *, __pyx_pybuffernd_tmp_arr_i8.rcbuffer->pybuffer.buf, __pyx_t_31, __pyx_pybuffernd_tmp_arr_i8.diminfo[0].strides, __pyx_t_32, __pyx_pybuffernd_tmp_arr_i8.diminfo[1].strides)));
+     }
+ 
+     /* "pyresample/ewa/_fornav.pyx":315
+@@ -9396,8 +9899,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+  *                      maximum_weight_mode)
+  */
+-    __pyx_t_32 = __Pyx_PyInt_As_npy_int8(__pyx_v_input_fill); if (unlikely((__pyx_t_32 == (npy_int8)-1) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
+-    __pyx_t_33 = __Pyx_PyInt_As_npy_int8(__pyx_v_output_fill); if (unlikely((__pyx_t_33 == (npy_int8)-1) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
++    __pyx_t_33 = __Pyx_PyInt_As_npy_int8(__pyx_v_input_fill); if (unlikely((__pyx_t_33 == ((npy_int8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
++    __pyx_t_34 = __Pyx_PyInt_As_npy_int8(__pyx_v_output_fill); if (unlikely((__pyx_t_34 == ((npy_int8)-1)) && PyErr_Occurred())) __PYX_ERR(0, 315, __pyx_L1_error)
+ 
+     /* "pyresample/ewa/_fornav.pyx":317
+  *                      input_fill, output_fill, rows_per_scan,
+@@ -9415,8 +9918,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  *                      input_pointer, output_pointer,
+  *                      input_fill, output_fill, rows_per_scan,
+  */
+-    __pyx_t_12 = __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_int8_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_int8_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_int8_t)__pyx_t_32), ((__pyx_t_5numpy_int8_t)__pyx_t_33), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 313, __pyx_L1_error)
+-    __pyx_v_func_result = __pyx_t_12;
++    __pyx_t_13 = __pyx_fuse_1_2_2__pyx_f_10pyresample_3ewa_7_fornav_fornav(__pyx_v_valid_arr, __pyx_v_num_items, __pyx_v_swath_cols, __pyx_v_swath_rows, __pyx_v_grid_cols, __pyx_v_grid_rows, __pyx_v_cols_pointer, __pyx_v_rows_pointer, ((__pyx_t_5numpy_int8_t **)__pyx_v_input_pointer), ((__pyx_t_5numpy_int8_t **)__pyx_v_output_pointer), ((__pyx_t_5numpy_int8_t)__pyx_t_33), ((__pyx_t_5numpy_int8_t)__pyx_t_34), __pyx_v_rows_per_scan, __pyx_v_weight_count, __pyx_v_weight_min, __pyx_v_weight_distance_max, __pyx_v_weight_delta_max, __pyx_v_weight_sum_min, __pyx_t_5); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 313, __pyx_L1_error)
++    __pyx_v_func_result = __pyx_t_13;
+ 
+     /* "pyresample/ewa/_fornav.pyx":307
+  *                      weight_count, weight_min, weight_distance_max, weight_delta_max, weight_sum_min,
+@@ -9452,8 +9955,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  * 
+  */
+   __pyx_t_4 = __pyx_v_num_items;
+-  for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_4; __pyx_t_11+=1) {
+-    __pyx_v_i = __pyx_t_11;
++  __pyx_t_11 = __pyx_t_4;
++  for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
++    __pyx_v_i = __pyx_t_12;
+ 
+     /* "pyresample/ewa/_fornav.pyx":322
+  * 
+@@ -9464,7 +9968,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+  */
+     __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_valid_arr[__pyx_v_i])); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 322, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_34 = __Pyx_PyList_Append(__pyx_v_valid_list, __pyx_t_1); if (unlikely(__pyx_t_34 == -1)) __PYX_ERR(0, 322, __pyx_L1_error)
++    __pyx_t_35 = __Pyx_PyList_Append(__pyx_v_valid_list, __pyx_t_1); if (unlikely(__pyx_t_35 == ((int)-1))) __PYX_ERR(0, 322, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   }
+ 
+@@ -9538,12 +10042,12 @@ static PyObject *__pyx_pf_10pyresample_3ewa_7_fornav_4fornav_wrapper(CYTHON_UNUS
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":197
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":215
+  *         # experimental exception made for __getbuffer__ and __releasebuffer__
+  *         # -- the details of this may change.
+  *         def __getbuffer__(ndarray self, Py_buffer* info, int flags):             # <<<<<<<<<<<<<<
+  *             # This implementation of getbuffer is geared towards Cython
+- *             # requirements, and does not yet fullfill the PEP.
++ *             # requirements, and does not yet fulfill the PEP.
+  */
+ 
+ /* Python wrapper */
+@@ -9560,7 +10064,6 @@ static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx
+ }
+ 
+ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
+-  int __pyx_v_copy_shape;
+   int __pyx_v_i;
+   int __pyx_v_ndim;
+   int __pyx_v_endian_detector;
+@@ -9569,7 +10072,6 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   char *__pyx_v_f;
+   PyArray_Descr *__pyx_v_descr = 0;
+   int __pyx_v_offset;
+-  int __pyx_v_hasfields;
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   int __pyx_t_1;
+@@ -9577,38 +10079,28 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   PyObject *__pyx_t_3 = NULL;
+   int __pyx_t_4;
+   int __pyx_t_5;
+-  PyObject *__pyx_t_6 = NULL;
+-  char *__pyx_t_7;
+-  __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":203
+- *             # of flags
+- * 
+- *             if info == NULL: return             # <<<<<<<<<<<<<<
+- * 
+- *             cdef int copy_shape, i, ndim
+- */
+-  __pyx_t_1 = ((__pyx_v_info == NULL) != 0);
+-  if (__pyx_t_1) {
+-    __pyx_r = 0;
+-    goto __pyx_L0;
++  int __pyx_t_6;
++  PyObject *__pyx_t_7 = NULL;
++  char *__pyx_t_8;
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
+   }
++  __Pyx_RefNannySetupContext("__getbuffer__", 0);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":206
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":222
+  * 
+- *             cdef int copy_shape, i, ndim
++ *             cdef int i, ndim
+  *             cdef int endian_detector = 1             # <<<<<<<<<<<<<<
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)
+  * 
+  */
+   __pyx_v_endian_detector = 1;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":207
+- *             cdef int copy_shape, i, ndim
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":223
++ *             cdef int i, ndim
+  *             cdef int endian_detector = 1
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)             # <<<<<<<<<<<<<<
+  * 
+@@ -9616,59 +10108,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":209
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":225
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)
+  * 
+  *             ndim = PyArray_NDIM(self)             # <<<<<<<<<<<<<<
+  * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
++ *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  */
+   __pyx_v_ndim = PyArray_NDIM(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":211
+- *             ndim = PyArray_NDIM(self)
+- * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 copy_shape = 1
+- *             else:
+- */
+-  __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+-  if (__pyx_t_1) {
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":212
+- * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 copy_shape = 1             # <<<<<<<<<<<<<<
+- *             else:
+- *                 copy_shape = 0
+- */
+-    __pyx_v_copy_shape = 1;
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":211
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
+  *             ndim = PyArray_NDIM(self)
+  * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 copy_shape = 1
+- *             else:
+- */
+-    goto __pyx_L4;
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":214
+- *                 copy_shape = 1
+- *             else:
+- *                 copy_shape = 0             # <<<<<<<<<<<<<<
+- * 
+- *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+- */
+-  /*else*/ {
+-    __pyx_v_copy_shape = 0;
+-  }
+-  __pyx_L4:;
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
+- * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")
+@@ -9677,10 +10128,10 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   if (__pyx_t_2) {
+   } else {
+     __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L6_bool_binop_done;
++    goto __pyx_L4_bool_binop_done;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":217
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":228
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):             # <<<<<<<<<<<<<<
+@@ -9689,32 +10140,32 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_C_CONTIGUOUS) != 0)) != 0);
+   __pyx_t_1 = __pyx_t_2;
+-  __pyx_L6_bool_binop_done:;
++  __pyx_L4_bool_binop_done:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
++ *             ndim = PyArray_NDIM(self)
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  */
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":218
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":229
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__33, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 218, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__33, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 229, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(1, 218, __pyx_L1_error)
++    __PYX_ERR(1, 229, __pyx_L1_error)
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
++ *             ndim = PyArray_NDIM(self)
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+@@ -9722,7 +10173,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+@@ -9733,10 +10184,10 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   if (__pyx_t_2) {
+   } else {
+     __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L9_bool_binop_done;
++    goto __pyx_L7_bool_binop_done;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":221
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":232
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):             # <<<<<<<<<<<<<<
+@@ -9745,31 +10196,31 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_F_CONTIGUOUS) != 0)) != 0);
+   __pyx_t_1 = __pyx_t_2;
+-  __pyx_L9_bool_binop_done:;
++  __pyx_L7_bool_binop_done:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")
+  */
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":222
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":233
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             info.buf = PyArray_DATA(self)
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__34, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 222, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__34, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 233, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(1, 222, __pyx_L1_error)
++    __PYX_ERR(1, 233, __pyx_L1_error)
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+@@ -9778,64 +10229,65 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":224
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":235
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")
+  * 
+  *             info.buf = PyArray_DATA(self)             # <<<<<<<<<<<<<<
+  *             info.ndim = ndim
+- *             if copy_shape:
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   __pyx_v_info->buf = PyArray_DATA(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":225
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":236
+  * 
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim             # <<<<<<<<<<<<<<
+- *             if copy_shape:
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  *                 # Allocate new buffer for strides and shape info.
+  */
+   __pyx_v_info->ndim = __pyx_v_ndim;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":226
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":237
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim
+- *             if copy_shape:             # <<<<<<<<<<<<<<
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+  */
+-  __pyx_t_1 = (__pyx_v_copy_shape != 0);
++  __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":229
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":240
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)             # <<<<<<<<<<<<<<
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)             # <<<<<<<<<<<<<<
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):
+  */
+-    __pyx_v_info->strides = ((Py_ssize_t *)malloc((((sizeof(Py_ssize_t)) * ((size_t)__pyx_v_ndim)) * 2)));
++    __pyx_v_info->strides = ((Py_ssize_t *)PyObject_Malloc((((sizeof(Py_ssize_t)) * 2) * ((size_t)__pyx_v_ndim))));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":230
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":241
+  *                 # This is allocated as one block, strides first.
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)
+  *                 info.shape = info.strides + ndim             # <<<<<<<<<<<<<<
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  */
+     __pyx_v_info->shape = (__pyx_v_info->strides + __pyx_v_ndim);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":231
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":242
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):             # <<<<<<<<<<<<<<
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  *                     info.shape[i] = PyArray_DIMS(self)[i]
+  */
+     __pyx_t_4 = __pyx_v_ndim;
+-    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-      __pyx_v_i = __pyx_t_5;
++    __pyx_t_5 = __pyx_t_4;
++    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++      __pyx_v_i = __pyx_t_6;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":232
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":243
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]             # <<<<<<<<<<<<<<
+@@ -9844,7 +10296,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+       (__pyx_v_info->strides[__pyx_v_i]) = (PyArray_STRIDES(__pyx_v_self)[__pyx_v_i]);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":233
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":244
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  *                     info.shape[i] = PyArray_DIMS(self)[i]             # <<<<<<<<<<<<<<
+@@ -9854,17 +10306,17 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       (__pyx_v_info->shape[__pyx_v_i]) = (PyArray_DIMS(__pyx_v_self)[__pyx_v_i]);
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":226
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":237
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim
+- *             if copy_shape:             # <<<<<<<<<<<<<<
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+  */
+-    goto __pyx_L11;
++    goto __pyx_L9;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":235
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":246
+  *                     info.shape[i] = PyArray_DIMS(self)[i]
+  *             else:
+  *                 info.strides = PyArray_STRIDES(self)             # <<<<<<<<<<<<<<
+@@ -9874,7 +10326,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   /*else*/ {
+     __pyx_v_info->strides = ((Py_ssize_t *)PyArray_STRIDES(__pyx_v_self));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":236
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":247
+  *             else:
+  *                 info.strides = PyArray_STRIDES(self)
+  *                 info.shape = PyArray_DIMS(self)             # <<<<<<<<<<<<<<
+@@ -9883,9 +10335,9 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_info->shape = ((Py_ssize_t *)PyArray_DIMS(__pyx_v_self));
+   }
+-  __pyx_L11:;
++  __pyx_L9:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":237
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":248
+  *                 info.strides = PyArray_STRIDES(self)
+  *                 info.shape = PyArray_DIMS(self)
+  *             info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -9894,7 +10346,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->suboffsets = NULL;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":238
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":249
+  *                 info.shape = PyArray_DIMS(self)
+  *             info.suboffsets = NULL
+  *             info.itemsize = PyArray_ITEMSIZE(self)             # <<<<<<<<<<<<<<
+@@ -9903,7 +10355,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->itemsize = PyArray_ITEMSIZE(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":239
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":250
+  *             info.suboffsets = NULL
+  *             info.itemsize = PyArray_ITEMSIZE(self)
+  *             info.readonly = not PyArray_ISWRITEABLE(self)             # <<<<<<<<<<<<<<
+@@ -9912,7 +10364,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->readonly = (!(PyArray_ISWRITEABLE(__pyx_v_self) != 0));
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":242
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":253
+  * 
+  *             cdef int t
+  *             cdef char* f = NULL             # <<<<<<<<<<<<<<
+@@ -9921,7 +10373,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_f = NULL;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":243
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":254
+  *             cdef int t
+  *             cdef char* f = NULL
+  *             cdef dtype descr = self.descr             # <<<<<<<<<<<<<<
+@@ -9933,85 +10385,32 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   __pyx_v_descr = ((PyArray_Descr *)__pyx_t_3);
+   __pyx_t_3 = 0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":246
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":257
+  *             cdef int offset
+  * 
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)             # <<<<<<<<<<<<<<
+- * 
+- *             if not hasfields and not copy_shape:
+- */
+-  __pyx_v_hasfields = PyDataType_HASFIELDS(__pyx_v_descr);
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":248
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)
+- * 
+- *             if not hasfields and not copy_shape:             # <<<<<<<<<<<<<<
+- *                 # do not call releasebuffer
+- *                 info.obj = None
+- */
+-  __pyx_t_2 = ((!(__pyx_v_hasfields != 0)) != 0);
+-  if (__pyx_t_2) {
+-  } else {
+-    __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L15_bool_binop_done;
+-  }
+-  __pyx_t_2 = ((!(__pyx_v_copy_shape != 0)) != 0);
+-  __pyx_t_1 = __pyx_t_2;
+-  __pyx_L15_bool_binop_done:;
+-  if (__pyx_t_1) {
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":250
+- *             if not hasfields and not copy_shape:
+- *                 # do not call releasebuffer
+- *                 info.obj = None             # <<<<<<<<<<<<<<
+- *             else:
+- *                 # need to call releasebuffer
+- */
+-    __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(Py_None);
+-    __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj);
+-    __pyx_v_info->obj = Py_None;
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":248
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)
+- * 
+- *             if not hasfields and not copy_shape:             # <<<<<<<<<<<<<<
+- *                 # do not call releasebuffer
+- *                 info.obj = None
+- */
+-    goto __pyx_L14;
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":253
+- *             else:
+- *                 # need to call releasebuffer
+- *                 info.obj = self             # <<<<<<<<<<<<<<
++ *             info.obj = self             # <<<<<<<<<<<<<<
+  * 
+- *             if not hasfields:
++ *             if not PyDataType_HASFIELDS(descr):
+  */
+-  /*else*/ {
+-    __Pyx_INCREF(((PyObject *)__pyx_v_self));
+-    __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+-    __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj);
+-    __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+-  }
+-  __pyx_L14:;
++  __Pyx_INCREF(((PyObject *)__pyx_v_self));
++  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
++  __Pyx_GOTREF(__pyx_v_info->obj);
++  __Pyx_DECREF(__pyx_v_info->obj);
++  __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":255
+- *                 info.obj = self
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":259
++ *             info.obj = self
+  * 
+- *             if not hasfields:             # <<<<<<<<<<<<<<
++ *             if not PyDataType_HASFIELDS(descr):             # <<<<<<<<<<<<<<
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  */
+-  __pyx_t_1 = ((!(__pyx_v_hasfields != 0)) != 0);
++  __pyx_t_1 = ((!(PyDataType_HASFIELDS(__pyx_v_descr) != 0)) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":256
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":260
+  * 
+- *             if not hasfields:
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num             # <<<<<<<<<<<<<<
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -10019,8 +10418,8 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     __pyx_t_4 = __pyx_v_descr->type_num;
+     __pyx_v_t = __pyx_t_4;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -10028,18 +10427,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_t_2 = ((__pyx_v_descr->byteorder == '>') != 0);
+     if (!__pyx_t_2) {
+-      goto __pyx_L20_next_or;
++      goto __pyx_L15_next_or;
+     } else {
+     }
+     __pyx_t_2 = (__pyx_v_little_endian != 0);
+     if (!__pyx_t_2) {
+     } else {
+       __pyx_t_1 = __pyx_t_2;
+-      goto __pyx_L19_bool_binop_done;
++      goto __pyx_L14_bool_binop_done;
+     }
+-    __pyx_L20_next_or:;
++    __pyx_L15_next_or:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":258
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":262
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):             # <<<<<<<<<<<<<<
+@@ -10050,36 +10449,36 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     if (__pyx_t_2) {
+     } else {
+       __pyx_t_1 = __pyx_t_2;
+-      goto __pyx_L19_bool_binop_done;
++      goto __pyx_L14_bool_binop_done;
+     }
+     __pyx_t_2 = ((!(__pyx_v_little_endian != 0)) != 0);
+     __pyx_t_1 = __pyx_t_2;
+-    __pyx_L19_bool_binop_done:;
++    __pyx_L14_bool_binop_done:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")
+  */
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":259
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":263
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__35, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 259, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__35, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 263, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 259, __pyx_L1_error)
++      __PYX_ERR(1, 263, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -10087,7 +10486,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":260
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":264
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")
+  *                 if   t == NPY_BYTE:        f = "b"             # <<<<<<<<<<<<<<
+@@ -10099,7 +10498,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"b");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":261
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":265
+  *                     raise ValueError(u"Non-native byte order not supported")
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"             # <<<<<<<<<<<<<<
+@@ -10110,7 +10509,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"B");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":262
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":266
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  *                 elif t == NPY_SHORT:       f = "h"             # <<<<<<<<<<<<<<
+@@ -10121,7 +10520,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"h");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":263
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":267
+  *                 elif t == NPY_UBYTE:       f = "B"
+  *                 elif t == NPY_SHORT:       f = "h"
+  *                 elif t == NPY_USHORT:      f = "H"             # <<<<<<<<<<<<<<
+@@ -10132,7 +10531,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"H");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":264
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":268
+  *                 elif t == NPY_SHORT:       f = "h"
+  *                 elif t == NPY_USHORT:      f = "H"
+  *                 elif t == NPY_INT:         f = "i"             # <<<<<<<<<<<<<<
+@@ -10143,7 +10542,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"i");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":265
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":269
+  *                 elif t == NPY_USHORT:      f = "H"
+  *                 elif t == NPY_INT:         f = "i"
+  *                 elif t == NPY_UINT:        f = "I"             # <<<<<<<<<<<<<<
+@@ -10154,7 +10553,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"I");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":266
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":270
+  *                 elif t == NPY_INT:         f = "i"
+  *                 elif t == NPY_UINT:        f = "I"
+  *                 elif t == NPY_LONG:        f = "l"             # <<<<<<<<<<<<<<
+@@ -10165,7 +10564,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"l");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":267
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":271
+  *                 elif t == NPY_UINT:        f = "I"
+  *                 elif t == NPY_LONG:        f = "l"
+  *                 elif t == NPY_ULONG:       f = "L"             # <<<<<<<<<<<<<<
+@@ -10176,7 +10575,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"L");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":268
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":272
+  *                 elif t == NPY_LONG:        f = "l"
+  *                 elif t == NPY_ULONG:       f = "L"
+  *                 elif t == NPY_LONGLONG:    f = "q"             # <<<<<<<<<<<<<<
+@@ -10187,7 +10586,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"q");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":269
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":273
+  *                 elif t == NPY_ULONG:       f = "L"
+  *                 elif t == NPY_LONGLONG:    f = "q"
+  *                 elif t == NPY_ULONGLONG:   f = "Q"             # <<<<<<<<<<<<<<
+@@ -10198,7 +10597,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Q");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":270
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":274
+  *                 elif t == NPY_LONGLONG:    f = "q"
+  *                 elif t == NPY_ULONGLONG:   f = "Q"
+  *                 elif t == NPY_FLOAT:       f = "f"             # <<<<<<<<<<<<<<
+@@ -10209,7 +10608,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"f");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":271
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":275
+  *                 elif t == NPY_ULONGLONG:   f = "Q"
+  *                 elif t == NPY_FLOAT:       f = "f"
+  *                 elif t == NPY_DOUBLE:      f = "d"             # <<<<<<<<<<<<<<
+@@ -10220,7 +10619,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"d");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":272
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":276
+  *                 elif t == NPY_FLOAT:       f = "f"
+  *                 elif t == NPY_DOUBLE:      f = "d"
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"             # <<<<<<<<<<<<<<
+@@ -10231,7 +10630,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"g");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":273
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":277
+  *                 elif t == NPY_DOUBLE:      f = "d"
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"
+  *                 elif t == NPY_CFLOAT:      f = "Zf"             # <<<<<<<<<<<<<<
+@@ -10242,7 +10641,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zf");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":274
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":278
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"
+  *                 elif t == NPY_CFLOAT:      f = "Zf"
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"             # <<<<<<<<<<<<<<
+@@ -10253,7 +10652,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zd");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":275
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":279
+  *                 elif t == NPY_CFLOAT:      f = "Zf"
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"
+  *                 elif t == NPY_CLONGDOUBLE: f = "Zg"             # <<<<<<<<<<<<<<
+@@ -10264,7 +10663,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zg");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":276
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":280
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"
+  *                 elif t == NPY_CLONGDOUBLE: f = "Zg"
+  *                 elif t == NPY_OBJECT:      f = "O"             # <<<<<<<<<<<<<<
+@@ -10276,33 +10675,28 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       break;
+       default:
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":278
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":282
+  *                 elif t == NPY_OBJECT:      f = "O"
+  *                 else:
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)             # <<<<<<<<<<<<<<
+  *                 info.format = f
+  *                 return
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 282, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_6 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
++      __pyx_t_7 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 282, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_7);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 282, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_GIVEREF(__pyx_t_6);
+-      PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_6);
+-      __pyx_t_6 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
++      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_Raise(__pyx_t_6, 0, 0, 0);
+-      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-      __PYX_ERR(1, 278, __pyx_L1_error)
++      __PYX_ERR(1, 282, __pyx_L1_error)
+       break;
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":279
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":283
+  *                 else:
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *                 info.format = f             # <<<<<<<<<<<<<<
+@@ -10311,46 +10705,46 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_info->format = __pyx_v_f;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":280
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":284
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *                 info.format = f
+  *                 return             # <<<<<<<<<<<<<<
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  */
+     __pyx_r = 0;
+     goto __pyx_L0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":255
+- *                 info.obj = self
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":259
++ *             info.obj = self
+  * 
+- *             if not hasfields:             # <<<<<<<<<<<<<<
++ *             if not PyDataType_HASFIELDS(descr):             # <<<<<<<<<<<<<<
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":282
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":286
+  *                 return
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)             # <<<<<<<<<<<<<<
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)             # <<<<<<<<<<<<<<
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0
+  */
+   /*else*/ {
+-    __pyx_v_info->format = ((char *)malloc(0xFF));
++    __pyx_v_info->format = ((char *)PyObject_Malloc(0xFF));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":283
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":287
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  *                 info.format[0] = c'^' # Native data types, manual alignment             # <<<<<<<<<<<<<<
+  *                 offset = 0
+  *                 f = _util_dtypestring(descr, info.format + 1,
+  */
+     (__pyx_v_info->format[0]) = '^';
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":284
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":288
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0             # <<<<<<<<<<<<<<
+  *                 f = _util_dtypestring(descr, info.format + 1,
+@@ -10358,17 +10752,17 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_offset = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":285
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":289
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0
+  *                 f = _util_dtypestring(descr, info.format + 1,             # <<<<<<<<<<<<<<
+  *                                       info.format + _buffer_format_string_len,
+  *                                       &offset)
+  */
+-    __pyx_t_7 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 0xFF), (&__pyx_v_offset)); if (unlikely(__pyx_t_7 == NULL)) __PYX_ERR(1, 285, __pyx_L1_error)
+-    __pyx_v_f = __pyx_t_7;
++    __pyx_t_8 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 0xFF), (&__pyx_v_offset)); if (unlikely(__pyx_t_8 == ((char *)NULL))) __PYX_ERR(1, 289, __pyx_L1_error)
++    __pyx_v_f = __pyx_t_8;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":288
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":292
+  *                                       info.format + _buffer_format_string_len,
+  *                                       &offset)
+  *                 f[0] = c'\0' # Terminate format string             # <<<<<<<<<<<<<<
+@@ -10378,12 +10772,12 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     (__pyx_v_f[0]) = '\x00';
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":197
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":215
+  *         # experimental exception made for __getbuffer__ and __releasebuffer__
+  *         # -- the details of this may change.
+  *         def __getbuffer__(ndarray self, Py_buffer* info, int flags):             # <<<<<<<<<<<<<<
+  *             # This implementation of getbuffer is geared towards Cython
+- *             # requirements, and does not yet fullfill the PEP.
++ *             # requirements, and does not yet fulfill the PEP.
+  */
+ 
+   /* function exit code */
+@@ -10391,18 +10785,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   goto __pyx_L0;
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_3);
+-  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
+   __Pyx_AddTraceback("numpy.ndarray.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
++  if (__pyx_v_info->obj != NULL) {
+     __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   goto __pyx_L2;
+   __pyx_L0:;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   __pyx_L2:;
+   __Pyx_XDECREF((PyObject *)__pyx_v_descr);
+@@ -10410,12 +10804,12 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":290
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":294
+  *                 f[0] = c'\0' # Terminate format string
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):             # <<<<<<<<<<<<<<
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  */
+ 
+ /* Python wrapper */
+@@ -10434,75 +10828,75 @@ static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_s
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__releasebuffer__", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":291
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":295
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   __pyx_t_1 = (PyArray_HASFIELDS(__pyx_v_self) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":292
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":296
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)             # <<<<<<<<<<<<<<
++ *                 PyObject_Free(info.format)             # <<<<<<<<<<<<<<
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  */
+-    free(__pyx_v_info->format);
++    PyObject_Free(__pyx_v_info->format);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":291
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":295
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":293
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":297
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  *                 # info.shape was stored after info.strides in the same block
+  */
+   __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":294
+- *                 stdlib.free(info.format)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":298
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 stdlib.free(info.strides)             # <<<<<<<<<<<<<<
++ *                 PyObject_Free(info.strides)             # <<<<<<<<<<<<<<
+  *                 # info.shape was stored after info.strides in the same block
+  * 
+  */
+-    free(__pyx_v_info->strides);
++    PyObject_Free(__pyx_v_info->strides);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":293
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":297
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  *                 # info.shape was stored after info.strides in the same block
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":290
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":294
+  *                 f[0] = c'\0' # Terminate format string
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):             # <<<<<<<<<<<<<<
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  */
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":770
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":775
+  * ctypedef npy_cdouble     complex_t
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):             # <<<<<<<<<<<<<<
+@@ -10516,7 +10910,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":771
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":776
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):
+  *     return PyArray_MultiIterNew(1, a)             # <<<<<<<<<<<<<<
+@@ -10524,13 +10918,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+  * cdef inline object PyArray_MultiIterNew2(a, b):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 771, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 776, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":770
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":775
+  * ctypedef npy_cdouble     complex_t
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):             # <<<<<<<<<<<<<<
+@@ -10549,7 +10943,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":773
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":778
+  *     return PyArray_MultiIterNew(1, a)
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):             # <<<<<<<<<<<<<<
+@@ -10563,7 +10957,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":774
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":779
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):
+  *     return PyArray_MultiIterNew(2, a, b)             # <<<<<<<<<<<<<<
+@@ -10571,13 +10965,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 774, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 779, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":773
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":778
+  *     return PyArray_MultiIterNew(1, a)
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):             # <<<<<<<<<<<<<<
+@@ -10596,7 +10990,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":776
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":781
+  *     return PyArray_MultiIterNew(2, a, b)
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):             # <<<<<<<<<<<<<<
+@@ -10610,7 +11004,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":777
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":782
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):
+  *     return PyArray_MultiIterNew(3, a, b,  c)             # <<<<<<<<<<<<<<
+@@ -10618,13 +11012,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 777, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 782, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":776
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":781
+  *     return PyArray_MultiIterNew(2, a, b)
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):             # <<<<<<<<<<<<<<
+@@ -10643,7 +11037,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":779
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":784
+  *     return PyArray_MultiIterNew(3, a, b,  c)
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):             # <<<<<<<<<<<<<<
+@@ -10657,7 +11051,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":780
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":785
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)             # <<<<<<<<<<<<<<
+@@ -10665,13 +11059,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 780, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 785, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":779
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":784
+  *     return PyArray_MultiIterNew(3, a, b,  c)
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):             # <<<<<<<<<<<<<<
+@@ -10690,7 +11084,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":782
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":787
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):             # <<<<<<<<<<<<<<
+@@ -10704,21 +11098,21 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":783
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":788
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
+  *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)             # <<<<<<<<<<<<<<
+  * 
+- * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 783, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 788, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":782
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":787
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):             # <<<<<<<<<<<<<<
+@@ -10737,9 +11131,83 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":785
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":790
++ *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):             # <<<<<<<<<<<<<<
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape
++ */
++
++static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__pyx_v_d) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  int __pyx_t_1;
++  __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":791
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):             # <<<<<<<<<<<<<<
++ *         return d.subarray.shape
++ *     else:
++ */
++  __pyx_t_1 = (PyDataType_HASSUBARRAY(__pyx_v_d) != 0);
++  if (__pyx_t_1) {
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":792
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape             # <<<<<<<<<<<<<<
++ *     else:
++ *         return ()
++ */
++    __Pyx_XDECREF(__pyx_r);
++    __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
++    __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
++    goto __pyx_L0;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":791
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):             # <<<<<<<<<<<<<<
++ *         return d.subarray.shape
++ *     else:
++ */
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":794
++ *         return d.subarray.shape
++ *     else:
++ *         return ()             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:
++ */
++  /*else*/ {
++    __Pyx_XDECREF(__pyx_r);
++    __Pyx_INCREF(__pyx_empty_tuple);
++    __pyx_r = __pyx_empty_tuple;
++    goto __pyx_L0;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":790
+  *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
+  * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):             # <<<<<<<<<<<<<<
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape
++ */
++
++  /* function exit code */
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":796
++ *         return ()
++ * 
+  * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:             # <<<<<<<<<<<<<<
+  *     # Recursive utility function used in __getbuffer__ to get format
+  *     # string. The new location in the format string is returned.
+@@ -10766,7 +11234,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   char *__pyx_t_9;
+   __Pyx_RefNannySetupContext("_util_dtypestring", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":790
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":801
+  * 
+  *     cdef dtype child
+  *     cdef int endian_detector = 1             # <<<<<<<<<<<<<<
+@@ -10775,7 +11243,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   __pyx_v_endian_detector = 1;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":791
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":802
+  *     cdef dtype child
+  *     cdef int endian_detector = 1
+  *     cdef bint little_endian = ((&endian_detector)[0] != 0)             # <<<<<<<<<<<<<<
+@@ -10784,7 +11252,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   __pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":794
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":805
+  *     cdef tuple fields
+  * 
+  *     for childname in descr.names:             # <<<<<<<<<<<<<<
+@@ -10793,21 +11261,21 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   if (unlikely(__pyx_v_descr->names == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+-    __PYX_ERR(1, 794, __pyx_L1_error)
++    __PYX_ERR(1, 805, __pyx_L1_error)
+   }
+   __pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(1, 794, __pyx_L1_error)
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(1, 805, __pyx_L1_error)
+     #else
+-    __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 794, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 805, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     #endif
+     __Pyx_XDECREF_SET(__pyx_v_childname, __pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":795
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":806
+  * 
+  *     for childname in descr.names:
+  *         fields = descr.fields[childname]             # <<<<<<<<<<<<<<
+@@ -10816,15 +11284,15 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     if (unlikely(__pyx_v_descr->fields == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+-      __PYX_ERR(1, 795, __pyx_L1_error)
++      __PYX_ERR(1, 806, __pyx_L1_error)
+     }
+-    __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 795, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 806, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) __PYX_ERR(1, 795, __pyx_L1_error)
++    if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) __PYX_ERR(1, 806, __pyx_L1_error)
+     __Pyx_XDECREF_SET(__pyx_v_fields, ((PyObject*)__pyx_t_3));
+     __pyx_t_3 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":796
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":807
+  *     for childname in descr.names:
+  *         fields = descr.fields[childname]
+  *         child, new_offset = fields             # <<<<<<<<<<<<<<
+@@ -10833,67 +11301,63 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     if (likely(__pyx_v_fields != Py_None)) {
+       PyObject* sequence = __pyx_v_fields;
+-      #if CYTHON_COMPILING_IN_CPYTHON
+-      Py_ssize_t size = Py_SIZE(sequence);
+-      #else
+-      Py_ssize_t size = PySequence_Size(sequence);
+-      #endif
++      Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+       if (unlikely(size != 2)) {
+         if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+         else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-        __PYX_ERR(1, 796, __pyx_L1_error)
++        __PYX_ERR(1, 807, __pyx_L1_error)
+       }
+-      #if CYTHON_COMPILING_IN_CPYTHON
++      #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+       __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); 
+       __Pyx_INCREF(__pyx_t_3);
+       __Pyx_INCREF(__pyx_t_4);
+       #else
+-      __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 796, __pyx_L1_error)
++      __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 807, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 796, __pyx_L1_error)
++      __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 807, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       #endif
+     } else {
+-      __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 796, __pyx_L1_error)
++      __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 807, __pyx_L1_error)
+     }
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) __PYX_ERR(1, 796, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) __PYX_ERR(1, 807, __pyx_L1_error)
+     __Pyx_XDECREF_SET(__pyx_v_child, ((PyArray_Descr *)__pyx_t_3));
+     __pyx_t_3 = 0;
+     __Pyx_XDECREF_SET(__pyx_v_new_offset, __pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":798
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":809
+  *         child, new_offset = fields
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:             # <<<<<<<<<<<<<<
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  */
+-    __pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_t_6 = ((((__pyx_v_end - __pyx_v_f) - ((int)__pyx_t_5)) < 15) != 0);
+-    if (__pyx_t_6) {
++    if (unlikely(__pyx_t_6)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":799
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":810
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")             # <<<<<<<<<<<<<<
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__36, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 799, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__36, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 810, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 799, __pyx_L1_error)
++      __PYX_ERR(1, 810, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":798
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":809
+  *         child, new_offset = fields
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:             # <<<<<<<<<<<<<<
+@@ -10902,7 +11366,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+@@ -10922,7 +11386,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     }
+     __pyx_L8_next_or:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":802
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":813
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):             # <<<<<<<<<<<<<<
+@@ -10939,29 +11403,29 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_6 = __pyx_t_7;
+     __pyx_L7_bool_binop_done:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")
+  */
+-    if (__pyx_t_6) {
++    if (unlikely(__pyx_t_6)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":803
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":814
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *             # One could encode it in the format string and have Cython
+  *             # complain instead, BUT: < and > in format strings also imply
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__37, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 803, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__37, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 814, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 803, __pyx_L1_error)
++      __PYX_ERR(1, 814, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+@@ -10970,7 +11434,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":813
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":824
+  * 
+  *         # Output padding bytes
+  *         while offset[0] < new_offset:             # <<<<<<<<<<<<<<
+@@ -10978,15 +11442,15 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  *             f += 1
+  */
+     while (1) {
+-      __pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (!__pyx_t_6) break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":814
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":825
+  *         # Output padding bytes
+  *         while offset[0] < new_offset:
+  *             f[0] = 120 # "x"; pad byte             # <<<<<<<<<<<<<<
+@@ -10995,7 +11459,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       (__pyx_v_f[0]) = 0x78;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":815
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":826
+  *         while offset[0] < new_offset:
+  *             f[0] = 120 # "x"; pad byte
+  *             f += 1             # <<<<<<<<<<<<<<
+@@ -11004,7 +11468,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       __pyx_v_f = (__pyx_v_f + 1);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":816
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":827
+  *             f[0] = 120 # "x"; pad byte
+  *             f += 1
+  *             offset[0] += 1             # <<<<<<<<<<<<<<
+@@ -11015,7 +11479,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+       (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + 1);
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":818
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":829
+  *             offset[0] += 1
+  * 
+  *         offset[0] += child.itemsize             # <<<<<<<<<<<<<<
+@@ -11025,7 +11489,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_8 = 0;
+     (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":820
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":831
+  *         offset[0] += child.itemsize
+  * 
+  *         if not PyDataType_HASFIELDS(child):             # <<<<<<<<<<<<<<
+@@ -11035,19 +11499,19 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_6 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
+     if (__pyx_t_6) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":821
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":832
+  * 
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num             # <<<<<<<<<<<<<<
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 821, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 832, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4);
+       __pyx_t_4 = 0;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":822
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":833
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num
+  *             if end - f < 5:             # <<<<<<<<<<<<<<
+@@ -11055,22 +11519,22 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  * 
+  */
+       __pyx_t_6 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
+-      if (__pyx_t_6) {
++      if (unlikely(__pyx_t_6)) {
+ 
+-        /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":823
++        /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":834
+  *             t = child.type_num
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")             # <<<<<<<<<<<<<<
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  */
+-        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__38, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 823, __pyx_L1_error)
++        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__38, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 834, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_4);
+         __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-        __PYX_ERR(1, 823, __pyx_L1_error)
++        __PYX_ERR(1, 834, __pyx_L1_error)
+ 
+-        /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":822
++        /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":833
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num
+  *             if end - f < 5:             # <<<<<<<<<<<<<<
+@@ -11079,252 +11543,252 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":826
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":837
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 98;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":827
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":838
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UBYTE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UBYTE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 66;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":828
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":839
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_SHORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_SHORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x68;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":829
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":840
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_USHORT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_USHORT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 72;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":830
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":841
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x69;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":831
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":842
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UINT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UINT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 73;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":832
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":843
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x6C;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":833
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":844
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 76;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":834
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":845
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x71;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":835
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":846
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 81;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":836
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":847
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x66;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":837
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":848
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x64;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":838
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":849
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x67;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":839
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":850
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -11333,18 +11797,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":840
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":851
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -11353,18 +11817,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":841
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":852
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg             # <<<<<<<<<<<<<<
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  *             else:
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -11373,25 +11837,25 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":842
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":853
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"             # <<<<<<<<<<<<<<
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_OBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_OBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      if (__pyx_t_6) {
++      if (likely(__pyx_t_6)) {
+         (__pyx_v_f[0]) = 79;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":844
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":855
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)             # <<<<<<<<<<<<<<
+@@ -11399,23 +11863,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  *         else:
+  */
+       /*else*/ {
+-        __pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
++        __pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 855, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_3);
+-        __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 844, __pyx_L1_error)
++        __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 855, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_4);
+-        __Pyx_GIVEREF(__pyx_t_3);
+-        PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-        __pyx_t_3 = 0;
+-        __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_3);
+-        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-        __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-        __PYX_ERR(1, 844, __pyx_L1_error)
++        __Pyx_Raise(__pyx_t_4, 0, 0, 0);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++        __PYX_ERR(1, 855, __pyx_L1_error)
+       }
+       __pyx_L15:;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":845
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":856
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *             f += 1             # <<<<<<<<<<<<<<
+@@ -11424,7 +11883,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       __pyx_v_f = (__pyx_v_f + 1);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":820
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":831
+  *         offset[0] += child.itemsize
+  * 
+  *         if not PyDataType_HASFIELDS(child):             # <<<<<<<<<<<<<<
+@@ -11434,7 +11893,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+       goto __pyx_L13;
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":849
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":860
+  *             # Cython ignores struct boundary information ("T{...}"),
+  *             # so don't output it
+  *             f = _util_dtypestring(child, f, end, offset)             # <<<<<<<<<<<<<<
+@@ -11442,12 +11901,12 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  * 
+  */
+     /*else*/ {
+-      __pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset); if (unlikely(__pyx_t_9 == NULL)) __PYX_ERR(1, 849, __pyx_L1_error)
++      __pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset); if (unlikely(__pyx_t_9 == ((char *)NULL))) __PYX_ERR(1, 860, __pyx_L1_error)
+       __pyx_v_f = __pyx_t_9;
+     }
+     __pyx_L13:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":794
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":805
+  *     cdef tuple fields
+  * 
+  *     for childname in descr.names:             # <<<<<<<<<<<<<<
+@@ -11457,7 +11916,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":850
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":861
+  *             # so don't output it
+  *             f = _util_dtypestring(child, f, end, offset)
+  *     return f             # <<<<<<<<<<<<<<
+@@ -11467,8 +11926,8 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   __pyx_r = __pyx_v_f;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":785
+- *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":796
++ *         return ()
+  * 
+  * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:             # <<<<<<<<<<<<<<
+  *     # Recursive utility function used in __getbuffer__ to get format
+@@ -11492,7 +11951,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":966
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":977
+  * 
+  * 
+  * cdef inline void set_array_base(ndarray arr, object base):             # <<<<<<<<<<<<<<
+@@ -11507,7 +11966,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   int __pyx_t_2;
+   __Pyx_RefNannySetupContext("set_array_base", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":968
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":979
+  * cdef inline void set_array_base(ndarray arr, object base):
+  *      cdef PyObject* baseptr
+  *      if base is None:             # <<<<<<<<<<<<<<
+@@ -11518,7 +11977,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":969
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":980
+  *      cdef PyObject* baseptr
+  *      if base is None:
+  *          baseptr = NULL             # <<<<<<<<<<<<<<
+@@ -11527,7 +11986,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+     __pyx_v_baseptr = NULL;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":968
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":979
+  * cdef inline void set_array_base(ndarray arr, object base):
+  *      cdef PyObject* baseptr
+  *      if base is None:             # <<<<<<<<<<<<<<
+@@ -11537,7 +11996,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+     goto __pyx_L3;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":971
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":982
+  *          baseptr = NULL
+  *      else:
+  *          Py_INCREF(base) # important to do this before decref below!             # <<<<<<<<<<<<<<
+@@ -11547,7 +12006,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   /*else*/ {
+     Py_INCREF(__pyx_v_base);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":972
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":983
+  *      else:
+  *          Py_INCREF(base) # important to do this before decref below!
+  *          baseptr = base             # <<<<<<<<<<<<<<
+@@ -11558,7 +12017,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   }
+   __pyx_L3:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":973
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":984
+  *          Py_INCREF(base) # important to do this before decref below!
+  *          baseptr = base
+  *      Py_XDECREF(arr.base)             # <<<<<<<<<<<<<<
+@@ -11567,7 +12026,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+   Py_XDECREF(__pyx_v_arr->base);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":974
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":985
+  *          baseptr = base
+  *      Py_XDECREF(arr.base)
+  *      arr.base = baseptr             # <<<<<<<<<<<<<<
+@@ -11576,7 +12035,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+   __pyx_v_arr->base = __pyx_v_baseptr;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":966
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":977
+  * 
+  * 
+  * cdef inline void set_array_base(ndarray arr, object base):             # <<<<<<<<<<<<<<
+@@ -11588,7 +12047,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":987
+  *      arr.base = baseptr
+  * 
+  * cdef inline object get_array_base(ndarray arr):             # <<<<<<<<<<<<<<
+@@ -11602,7 +12061,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("get_array_base", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":977
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":988
+  * 
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:             # <<<<<<<<<<<<<<
+@@ -11612,7 +12071,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   __pyx_t_1 = ((__pyx_v_arr->base == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":978
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":989
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:
+  *         return None             # <<<<<<<<<<<<<<
+@@ -11620,11 +12079,10 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+  *         return arr.base
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __Pyx_INCREF(Py_None);
+-    __pyx_r = Py_None;
++    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+     goto __pyx_L0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":977
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":988
+  * 
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:             # <<<<<<<<<<<<<<
+@@ -11633,10 +12091,12 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":980
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":991
+  *         return None
+  *     else:
+  *         return arr.base             # <<<<<<<<<<<<<<
++ * 
++ * 
+  */
+   /*else*/ {
+     __Pyx_XDECREF(__pyx_r);
+@@ -11645,7 +12105,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+     goto __pyx_L0;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":987
+  *      arr.base = baseptr
+  * 
+  * cdef inline object get_array_base(ndarray arr):             # <<<<<<<<<<<<<<
+@@ -11660,93 +12120,488 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":120
+- *         cdef bint dtype_is_object
+- * 
+- *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+- *                   mode="c", bint allocate_buffer=True):
+- * 
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":996
++ * # Versions of the import_* functions which are more suitable for
++ * # Cython code.
++ * cdef inline int import_array() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_array()
+  */
+ 
+-/* Python wrapper */
+-static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+-static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+-  PyObject *__pyx_v_shape = 0;
+-  Py_ssize_t __pyx_v_itemsize;
+-  PyObject *__pyx_v_format = 0;
+-  PyObject *__pyx_v_mode = 0;
+-  int __pyx_v_allocate_buffer;
++static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_array", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
+   {
+-    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shape,&__pyx_n_s_itemsize,&__pyx_n_s_format,&__pyx_n_s_mode,&__pyx_n_s_allocate_buffer,0};
+-    PyObject* values[5] = {0,0,0,0,0};
+-    values[3] = ((PyObject *)__pyx_n_s_c);
+-    if (unlikely(__pyx_kwds)) {
+-      Py_ssize_t kw_args;
+-      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+-      switch (pos_args) {
+-        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+-        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
+-        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
+-        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+-        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+-        case  0: break;
+-        default: goto __pyx_L5_argtuple_error;
+-      }
+-      kw_args = PyDict_Size(__pyx_kwds);
+-      switch (pos_args) {
+-        case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_shape)) != 0)) kw_args--;
+-        else goto __pyx_L5_argtuple_error;
+-        case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_itemsize)) != 0)) kw_args--;
+-        else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 1); __PYX_ERR(2, 120, __pyx_L3_error)
+-        }
+-        case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
+-        else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 2); __PYX_ERR(2, 120, __pyx_L3_error)
+-        }
+-        case  3:
+-        if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_mode);
+-          if (value) { values[3] = value; kw_args--; }
+-        }
+-        case  4:
+-        if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_allocate_buffer);
+-          if (value) { values[4] = value; kw_args--; }
+-        }
+-      }
+-      if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 120, __pyx_L3_error)
+-      }
+-    } else {
+-      switch (PyTuple_GET_SIZE(__pyx_args)) {
+-        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+-        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
+-        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
+-        values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+-        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+-        break;
+-        default: goto __pyx_L5_argtuple_error;
+-      }
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":998
++ * cdef inline int import_array() except -1:
++ *     try:
++ *         _import_array()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ */
++      __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 998, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
+     }
+-    __pyx_v_shape = ((PyObject*)values[0]);
+-    __pyx_v_itemsize = __Pyx_PyIndex_AsSsize_t(values[1]); if (unlikely((__pyx_v_itemsize == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 120, __pyx_L3_error)
+-    __pyx_v_format = values[2];
+-    __pyx_v_mode = values[3];
+-    if (values[4]) {
+-      __pyx_v_allocate_buffer = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_allocate_buffer == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 121, __pyx_L3_error)
+-    } else {
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
+ 
+-      /* "View.MemoryView":121
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":999
++ *     try:
++ *         _import_array()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.multiarray failed to import")
+  * 
+- *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,
+- *                   mode="c", bint allocate_buffer=True):             # <<<<<<<<<<<<<<
++ */
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 999, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1000
++ *         _import_array()
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_umath() except -1:
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__39, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1000, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1000, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":996
++ * # Versions of the import_* functions which are more suitable for
++ * # Cython code.
++ * cdef inline int import_array() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_array()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1002
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ * 
++ * cdef inline int import_umath() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_umath", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++  {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1004
++ * cdef inline int import_umath() except -1:
++ *     try:
++ *         _import_umath()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++      __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1004, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    }
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1005
++ *     try:
++ *         _import_umath()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ */
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1005, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1006
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_ufunc() except -1:
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__40, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1006, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1006, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1002
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ * 
++ * cdef inline int import_umath() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1008
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ * cdef inline int import_ufunc() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_ufunc", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++  {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1010
++ * cdef inline int import_ufunc() except -1:
++ *     try:
++ *         _import_umath()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++      __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1010, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    }
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1011
++ *     try:
++ *         _import_umath()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1011, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1012
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1012, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1012, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1008
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ * cdef inline int import_ufunc() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":121
++ *         cdef bint dtype_is_object
++ * 
++ *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
++ *                   mode="c", bint allocate_buffer=True):
++ * 
++ */
++
++/* Python wrapper */
++static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
++static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
++  PyObject *__pyx_v_shape = 0;
++  Py_ssize_t __pyx_v_itemsize;
++  PyObject *__pyx_v_format = 0;
++  PyObject *__pyx_v_mode = 0;
++  int __pyx_v_allocate_buffer;
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
++  {
++    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shape,&__pyx_n_s_itemsize,&__pyx_n_s_format,&__pyx_n_s_mode,&__pyx_n_s_allocate_buffer,0};
++    PyObject* values[5] = {0,0,0,0,0};
++    values[3] = ((PyObject *)__pyx_n_s_c);
++    if (unlikely(__pyx_kwds)) {
++      Py_ssize_t kw_args;
++      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
++      switch (pos_args) {
++        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
++        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
++        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
++        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
++        case  0: break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++      kw_args = PyDict_Size(__pyx_kwds);
++      switch (pos_args) {
++        case  0:
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shape)) != 0)) kw_args--;
++        else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
++        case  1:
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_itemsize)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 1); __PYX_ERR(2, 121, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  2:
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 2); __PYX_ERR(2, 121, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  3:
++        if (kw_args > 0) {
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode);
++          if (value) { values[3] = value; kw_args--; }
++        }
++        CYTHON_FALLTHROUGH;
++        case  4:
++        if (kw_args > 0) {
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_allocate_buffer);
++          if (value) { values[4] = value; kw_args--; }
++        }
++      }
++      if (unlikely(kw_args > 0)) {
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 121, __pyx_L3_error)
++      }
++    } else {
++      switch (PyTuple_GET_SIZE(__pyx_args)) {
++        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
++        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++    }
++    __pyx_v_shape = ((PyObject*)values[0]);
++    __pyx_v_itemsize = __Pyx_PyIndex_AsSsize_t(values[1]); if (unlikely((__pyx_v_itemsize == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 121, __pyx_L3_error)
++    __pyx_v_format = values[2];
++    __pyx_v_mode = values[3];
++    if (values[4]) {
++      __pyx_v_allocate_buffer = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_allocate_buffer == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 122, __pyx_L3_error)
++    } else {
++
++      /* "View.MemoryView":122
++ * 
++ *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,
++ *                   mode="c", bint allocate_buffer=True):             # <<<<<<<<<<<<<<
+  * 
+  *         cdef int idx
+  */
+@@ -11755,19 +12610,19 @@ static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, P
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 120, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 121, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.array.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+   return -1;
+   __pyx_L4_argument_unpacking_done:;
+-  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_shape), (&PyTuple_Type), 1, "shape", 1))) __PYX_ERR(2, 120, __pyx_L1_error)
++  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_shape), (&PyTuple_Type), 1, "shape", 1))) __PYX_ERR(2, 121, __pyx_L1_error)
+   if (unlikely(((PyObject *)__pyx_v_format) == Py_None)) {
+-    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "format"); __PYX_ERR(2, 120, __pyx_L1_error)
++    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "format"); __PYX_ERR(2, 121, __pyx_L1_error)
+   }
+   __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(((struct __pyx_array_obj *)__pyx_v_self), __pyx_v_shape, __pyx_v_itemsize, __pyx_v_format, __pyx_v_mode, __pyx_v_allocate_buffer);
+ 
+-  /* "View.MemoryView":120
++  /* "View.MemoryView":121
+  *         cdef bint dtype_is_object
+  * 
+  *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+@@ -11802,10 +12657,11 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   Py_ssize_t __pyx_t_8;
+   PyObject *__pyx_t_9 = NULL;
+   PyObject *__pyx_t_10 = NULL;
++  Py_ssize_t __pyx_t_11;
+   __Pyx_RefNannySetupContext("__cinit__", 0);
+   __Pyx_INCREF(__pyx_v_format);
+ 
+-  /* "View.MemoryView":127
++  /* "View.MemoryView":128
+  *         cdef PyObject **p
+  * 
+  *         self.ndim =  len(shape)             # <<<<<<<<<<<<<<
+@@ -11814,12 +12670,12 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   if (unlikely(__pyx_v_shape == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+-    __PYX_ERR(2, 127, __pyx_L1_error)
++    __PYX_ERR(2, 128, __pyx_L1_error)
+   }
+-  __pyx_t_1 = PyTuple_GET_SIZE(__pyx_v_shape); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(2, 127, __pyx_L1_error)
++  __pyx_t_1 = PyTuple_GET_SIZE(__pyx_v_shape); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(2, 128, __pyx_L1_error)
+   __pyx_v_self->ndim = ((int)__pyx_t_1);
+ 
+-  /* "View.MemoryView":128
++  /* "View.MemoryView":129
+  * 
+  *         self.ndim =  len(shape)
+  *         self.itemsize = itemsize             # <<<<<<<<<<<<<<
+@@ -11828,7 +12684,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->itemsize = __pyx_v_itemsize;
+ 
+-  /* "View.MemoryView":130
++  /* "View.MemoryView":131
+  *         self.itemsize = itemsize
+  * 
+  *         if not self.ndim:             # <<<<<<<<<<<<<<
+@@ -11836,22 +12692,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_2 = ((!(__pyx_v_self->ndim != 0)) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":131
++    /* "View.MemoryView":132
+  * 
+  *         if not self.ndim:
+  *             raise ValueError("Empty shape tuple for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if itemsize <= 0:
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__39, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 131, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__42, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 132, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 131, __pyx_L1_error)
++    __PYX_ERR(2, 132, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":130
++    /* "View.MemoryView":131
+  *         self.itemsize = itemsize
+  * 
+  *         if not self.ndim:             # <<<<<<<<<<<<<<
+@@ -11860,7 +12716,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":133
++  /* "View.MemoryView":134
+  *             raise ValueError("Empty shape tuple for cython.array")
+  * 
+  *         if itemsize <= 0:             # <<<<<<<<<<<<<<
+@@ -11868,22 +12724,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_2 = ((__pyx_v_itemsize <= 0) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":134
++    /* "View.MemoryView":135
+  * 
+  *         if itemsize <= 0:
+  *             raise ValueError("itemsize <= 0 for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if not isinstance(format, bytes):
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__40, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 134, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__43, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 135, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 134, __pyx_L1_error)
++    __PYX_ERR(2, 135, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":133
++    /* "View.MemoryView":134
+  *             raise ValueError("Empty shape tuple for cython.array")
+  * 
+  *         if itemsize <= 0:             # <<<<<<<<<<<<<<
+@@ -11892,7 +12748,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":136
++  /* "View.MemoryView":137
+  *             raise ValueError("itemsize <= 0 for cython.array")
+  * 
+  *         if not isinstance(format, bytes):             # <<<<<<<<<<<<<<
+@@ -11903,22 +12759,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_4 = ((!(__pyx_t_2 != 0)) != 0);
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":137
++    /* "View.MemoryView":138
+  * 
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')             # <<<<<<<<<<<<<<
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format
+  */
+-    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_format, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 137, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_format, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 138, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 137, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__44, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 138, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __Pyx_DECREF_SET(__pyx_v_format, __pyx_t_5);
+     __pyx_t_5 = 0;
+ 
+-    /* "View.MemoryView":136
++    /* "View.MemoryView":137
+  *             raise ValueError("itemsize <= 0 for cython.array")
+  * 
+  *         if not isinstance(format, bytes):             # <<<<<<<<<<<<<<
+@@ -11927,14 +12783,14 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":138
++  /* "View.MemoryView":139
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')
+  *         self._format = format  # keep a reference to the byte string             # <<<<<<<<<<<<<<
+  *         self.format = self._format
+  * 
+  */
+-  if (!(likely(PyBytes_CheckExact(__pyx_v_format))||((__pyx_v_format) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_v_format)->tp_name), 0))) __PYX_ERR(2, 138, __pyx_L1_error)
++  if (!(likely(PyBytes_CheckExact(__pyx_v_format))||((__pyx_v_format) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_v_format)->tp_name), 0))) __PYX_ERR(2, 139, __pyx_L1_error)
+   __pyx_t_5 = __pyx_v_format;
+   __Pyx_INCREF(__pyx_t_5);
+   __Pyx_GIVEREF(__pyx_t_5);
+@@ -11943,17 +12799,21 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_v_self->_format = ((PyObject*)__pyx_t_5);
+   __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":139
++  /* "View.MemoryView":140
+  *             format = format.encode('ASCII')
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_AsString(__pyx_v_self->_format); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(2, 139, __pyx_L1_error)
++  if (unlikely(__pyx_v_self->_format == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "expected bytes, NoneType found");
++    __PYX_ERR(2, 140, __pyx_L1_error)
++  }
++  __pyx_t_6 = __Pyx_PyBytes_AsWritableString(__pyx_v_self->_format); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(2, 140, __pyx_L1_error)
+   __pyx_v_self->format = __pyx_t_6;
+ 
+-  /* "View.MemoryView":142
++  /* "View.MemoryView":143
+  * 
+  * 
+  *         self._shape =  PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2)             # <<<<<<<<<<<<<<
+@@ -11962,7 +12822,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->_shape = ((Py_ssize_t *)PyObject_Malloc((((sizeof(Py_ssize_t)) * __pyx_v_self->ndim) * 2)));
+ 
+-  /* "View.MemoryView":143
++  /* "View.MemoryView":144
+  * 
+  *         self._shape =  PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2)
+  *         self._strides = self._shape + self.ndim             # <<<<<<<<<<<<<<
+@@ -11971,7 +12831,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->_strides = (__pyx_v_self->_shape + __pyx_v_self->ndim);
+ 
+-  /* "View.MemoryView":145
++  /* "View.MemoryView":146
+  *         self._strides = self._shape + self.ndim
+  * 
+  *         if not self._shape:             # <<<<<<<<<<<<<<
+@@ -11979,22 +12839,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_4 = ((!(__pyx_v_self->_shape != 0)) != 0);
+-  if (__pyx_t_4) {
++  if (unlikely(__pyx_t_4)) {
+ 
+-    /* "View.MemoryView":146
++    /* "View.MemoryView":147
+  * 
+  *         if not self._shape:
+  *             raise MemoryError("unable to allocate shape and strides.")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__42, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 146, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__45, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 147, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __PYX_ERR(2, 146, __pyx_L1_error)
++    __PYX_ERR(2, 147, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":145
++    /* "View.MemoryView":146
+  *         self._strides = self._shape + self.ndim
+  * 
+  *         if not self._shape:             # <<<<<<<<<<<<<<
+@@ -12003,7 +12863,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":149
++  /* "View.MemoryView":150
+  * 
+  * 
+  *         for idx, dim in enumerate(shape):             # <<<<<<<<<<<<<<
+@@ -12014,19 +12874,19 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_5 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_5); __pyx_t_1 = 0;
+   for (;;) {
+     if (__pyx_t_1 >= PyTuple_GET_SIZE(__pyx_t_5)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(2, 149, __pyx_L1_error)
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(2, 150, __pyx_L1_error)
+     #else
+-    __pyx_t_3 = PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 149, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 150, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     #endif
+-    __pyx_t_8 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_8 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 149, __pyx_L1_error)
++    __pyx_t_8 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_8 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 150, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_dim = __pyx_t_8;
+     __pyx_v_idx = __pyx_t_7;
+     __pyx_t_7 = (__pyx_t_7 + 1);
+ 
+-    /* "View.MemoryView":150
++    /* "View.MemoryView":151
+  * 
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:             # <<<<<<<<<<<<<<
+@@ -12034,20 +12894,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  *             self._shape[idx] = dim
+  */
+     __pyx_t_4 = ((__pyx_v_dim <= 0) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":151
++      /* "View.MemoryView":152
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:
+  *                 raise ValueError("Invalid shape in axis %d: %d." % (idx, dim))             # <<<<<<<<<<<<<<
+  *             self._shape[idx] = dim
+  * 
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_idx); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_idx); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_9 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_9 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_10 = PyTuple_New(2); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_10 = PyTuple_New(2); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_10);
+       __Pyx_GIVEREF(__pyx_t_3);
+       PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_3);
+@@ -12055,22 +12915,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+       PyTuple_SET_ITEM(__pyx_t_10, 1, __pyx_t_9);
+       __pyx_t_3 = 0;
+       __pyx_t_9 = 0;
+-      __pyx_t_9 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_shape_in_axis_d_d, __pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_shape_in_axis_d_d, __pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+-      __pyx_t_10 = PyTuple_New(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_10);
+-      __Pyx_GIVEREF(__pyx_t_9);
+-      PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_9);
+-      __pyx_t_9 = 0;
+-      __pyx_t_9 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_10, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+-      __Pyx_Raise(__pyx_t_9, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-      __PYX_ERR(2, 151, __pyx_L1_error)
++      __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++      __PYX_ERR(2, 152, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":150
++      /* "View.MemoryView":151
+  * 
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:             # <<<<<<<<<<<<<<
+@@ -12079,7 +12934,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":152
++    /* "View.MemoryView":153
+  *             if dim <= 0:
+  *                 raise ValueError("Invalid shape in axis %d: %d." % (idx, dim))
+  *             self._shape[idx] = dim             # <<<<<<<<<<<<<<
+@@ -12088,7 +12943,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     (__pyx_v_self->_shape[__pyx_v_idx]) = __pyx_v_dim;
+ 
+-    /* "View.MemoryView":149
++    /* "View.MemoryView":150
+  * 
+  * 
+  *         for idx, dim in enumerate(shape):             # <<<<<<<<<<<<<<
+@@ -12098,17 +12953,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   }
+   __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":155
++  /* "View.MemoryView":156
+  * 
+  *         cdef char order
+  *         if mode == 'fortran':             # <<<<<<<<<<<<<<
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  */
+-  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_fortran, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 155, __pyx_L1_error)
++  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_fortran, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 156, __pyx_L1_error)
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":156
++    /* "View.MemoryView":157
+  *         cdef char order
+  *         if mode == 'fortran':
+  *             order = b'F'             # <<<<<<<<<<<<<<
+@@ -12117,7 +12972,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_order = 'F';
+ 
+-    /* "View.MemoryView":157
++    /* "View.MemoryView":158
+  *         if mode == 'fortran':
+  *             order = b'F'
+  *             self.mode = u'fortran'             # <<<<<<<<<<<<<<
+@@ -12130,7 +12985,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __Pyx_DECREF(__pyx_v_self->mode);
+     __pyx_v_self->mode = __pyx_n_u_fortran;
+ 
+-    /* "View.MemoryView":155
++    /* "View.MemoryView":156
+  * 
+  *         cdef char order
+  *         if mode == 'fortran':             # <<<<<<<<<<<<<<
+@@ -12140,17 +12995,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":158
++  /* "View.MemoryView":159
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':             # <<<<<<<<<<<<<<
+  *             order = b'C'
+  *             self.mode = u'c'
+  */
+-  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_c, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 158, __pyx_L1_error)
+-  if (__pyx_t_4) {
++  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_c, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 159, __pyx_L1_error)
++  if (likely(__pyx_t_4)) {
+ 
+-    /* "View.MemoryView":159
++    /* "View.MemoryView":160
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':
+  *             order = b'C'             # <<<<<<<<<<<<<<
+@@ -12159,7 +13014,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_order = 'C';
+ 
+-    /* "View.MemoryView":160
++    /* "View.MemoryView":161
+  *         elif mode == 'c':
+  *             order = b'C'
+  *             self.mode = u'c'             # <<<<<<<<<<<<<<
+@@ -12172,7 +13027,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __Pyx_DECREF(__pyx_v_self->mode);
+     __pyx_v_self->mode = __pyx_n_u_c;
+ 
+-    /* "View.MemoryView":158
++    /* "View.MemoryView":159
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':             # <<<<<<<<<<<<<<
+@@ -12182,7 +13037,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":162
++  /* "View.MemoryView":163
+  *             self.mode = u'c'
+  *         else:
+  *             raise ValueError("Invalid mode, expected 'c' or 'fortran', got %s" % mode)             # <<<<<<<<<<<<<<
+@@ -12190,23 +13045,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  *         self.len = fill_contig_strides_array(self._shape, self._strides,
+  */
+   /*else*/ {
+-    __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_mode_expected_c_or_fortr, __pyx_v_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 162, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_5);
+-    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 162, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_5);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_5);
+-    __pyx_t_5 = 0;
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 162, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_mode_expected_c_or_fortr, __pyx_v_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 163, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __Pyx_Raise(__pyx_t_5, 0, 0, 0);
++    __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_5); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 163, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_10);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __PYX_ERR(2, 162, __pyx_L1_error)
++    __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++    __PYX_ERR(2, 163, __pyx_L1_error)
+   }
+   __pyx_L10:;
+ 
+-  /* "View.MemoryView":164
++  /* "View.MemoryView":165
+  *             raise ValueError("Invalid mode, expected 'c' or 'fortran', got %s" % mode)
+  * 
+  *         self.len = fill_contig_strides_array(self._shape, self._strides,             # <<<<<<<<<<<<<<
+@@ -12215,7 +13065,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->len = __pyx_fill_contig_strides_array(__pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_itemsize, __pyx_v_self->ndim, __pyx_v_order);
+ 
+-  /* "View.MemoryView":167
++  /* "View.MemoryView":168
+  *                                              itemsize, self.ndim, order)
+  * 
+  *         self.free_data = allocate_buffer             # <<<<<<<<<<<<<<
+@@ -12224,19 +13074,19 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->free_data = __pyx_v_allocate_buffer;
+ 
+-  /* "View.MemoryView":168
++  /* "View.MemoryView":169
+  * 
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'             # <<<<<<<<<<<<<<
+  *         if allocate_buffer:
+  * 
+  */
+-  __pyx_t_5 = PyObject_RichCompare(__pyx_v_format, __pyx_n_b_O, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 168, __pyx_L1_error)
+-  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 168, __pyx_L1_error)
+-  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++  __pyx_t_10 = PyObject_RichCompare(__pyx_v_format, __pyx_n_b_O, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 169, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 169, __pyx_L1_error)
++  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+   __pyx_v_self->dtype_is_object = __pyx_t_4;
+ 
+-  /* "View.MemoryView":169
++  /* "View.MemoryView":170
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'
+  *         if allocate_buffer:             # <<<<<<<<<<<<<<
+@@ -12246,7 +13096,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_4 = (__pyx_v_allocate_buffer != 0);
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":172
++    /* "View.MemoryView":173
+  * 
+  * 
+  *             self.data = malloc(self.len)             # <<<<<<<<<<<<<<
+@@ -12255,7 +13105,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_self->data = ((char *)malloc(__pyx_v_self->len));
+ 
+-    /* "View.MemoryView":173
++    /* "View.MemoryView":174
+  * 
+  *             self.data = malloc(self.len)
+  *             if not self.data:             # <<<<<<<<<<<<<<
+@@ -12263,22 +13113,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+     __pyx_t_4 = ((!(__pyx_v_self->data != 0)) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":174
++      /* "View.MemoryView":175
+  *             self.data = malloc(self.len)
+  *             if not self.data:
+  *                 raise MemoryError("unable to allocate array data.")             # <<<<<<<<<<<<<<
+  * 
+  *             if self.dtype_is_object:
+  */
+-      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__43, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 174, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_5);
+-      __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+-      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      __PYX_ERR(2, 174, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__46, NULL); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 175, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_10);
++      __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++      __PYX_ERR(2, 175, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":173
++      /* "View.MemoryView":174
+  * 
+  *             self.data = malloc(self.len)
+  *             if not self.data:             # <<<<<<<<<<<<<<
+@@ -12287,7 +13137,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":176
++    /* "View.MemoryView":177
+  *                 raise MemoryError("unable to allocate array data.")
+  * 
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -12297,7 +13147,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __pyx_t_4 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_4) {
+ 
+-      /* "View.MemoryView":177
++      /* "View.MemoryView":178
+  * 
+  *             if self.dtype_is_object:
+  *                 p =  self.data             # <<<<<<<<<<<<<<
+@@ -12306,7 +13156,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+       __pyx_v_p = ((PyObject **)__pyx_v_self->data);
+ 
+-      /* "View.MemoryView":178
++      /* "View.MemoryView":179
+  *             if self.dtype_is_object:
+  *                 p =  self.data
+  *                 for i in range(self.len / itemsize):             # <<<<<<<<<<<<<<
+@@ -12315,17 +13165,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+       if (unlikely(__pyx_v_itemsize == 0)) {
+         PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero");
+-        __PYX_ERR(2, 178, __pyx_L1_error)
++        __PYX_ERR(2, 179, __pyx_L1_error)
+       }
+       else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_itemsize == (Py_ssize_t)-1)  && unlikely(UNARY_NEG_WOULD_OVERFLOW(__pyx_v_self->len))) {
+         PyErr_SetString(PyExc_OverflowError, "value too large to perform division");
+-        __PYX_ERR(2, 178, __pyx_L1_error)
++        __PYX_ERR(2, 179, __pyx_L1_error)
+       }
+       __pyx_t_1 = __Pyx_div_Py_ssize_t(__pyx_v_self->len, __pyx_v_itemsize);
+-      for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_1; __pyx_t_8+=1) {
+-        __pyx_v_i = __pyx_t_8;
++      __pyx_t_8 = __pyx_t_1;
++      for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_8; __pyx_t_11+=1) {
++        __pyx_v_i = __pyx_t_11;
+ 
+-        /* "View.MemoryView":179
++        /* "View.MemoryView":180
+  *                 p =  self.data
+  *                 for i in range(self.len / itemsize):
+  *                     p[i] = Py_None             # <<<<<<<<<<<<<<
+@@ -12334,7 +13185,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+         (__pyx_v_p[__pyx_v_i]) = Py_None;
+ 
+-        /* "View.MemoryView":180
++        /* "View.MemoryView":181
+  *                 for i in range(self.len / itemsize):
+  *                     p[i] = Py_None
+  *                     Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+@@ -12344,7 +13195,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+         Py_INCREF(Py_None);
+       }
+ 
+-      /* "View.MemoryView":176
++      /* "View.MemoryView":177
+  *                 raise MemoryError("unable to allocate array data.")
+  * 
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -12353,7 +13204,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":169
++    /* "View.MemoryView":170
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'
+  *         if allocate_buffer:             # <<<<<<<<<<<<<<
+@@ -12362,7 +13213,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":120
++  /* "View.MemoryView":121
+  *         cdef bint dtype_is_object
+  * 
+  *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+@@ -12386,7 +13237,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":183
++/* "View.MemoryView":184
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+@@ -12418,13 +13269,15 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   Py_ssize_t __pyx_t_5;
+   int __pyx_t_6;
+   Py_ssize_t *__pyx_t_7;
+-  __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
+   }
++  __Pyx_RefNannySetupContext("__getbuffer__", 0);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
+ 
+-  /* "View.MemoryView":184
++  /* "View.MemoryView":185
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1             # <<<<<<<<<<<<<<
+@@ -12433,18 +13286,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_bufmode = -1;
+ 
+-  /* "View.MemoryView":185
++  /* "View.MemoryView":186
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":             # <<<<<<<<<<<<<<
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":
+  */
+-  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_c, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 185, __pyx_L1_error)
++  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_c, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 186, __pyx_L1_error)
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":186
++    /* "View.MemoryView":187
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -12453,7 +13306,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+     __pyx_v_bufmode = (PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS);
+ 
+-    /* "View.MemoryView":185
++    /* "View.MemoryView":186
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":             # <<<<<<<<<<<<<<
+@@ -12463,18 +13316,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":187
++  /* "View.MemoryView":188
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":             # <<<<<<<<<<<<<<
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  */
+-  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_fortran, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 187, __pyx_L1_error)
++  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_fortran, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 188, __pyx_L1_error)
+   __pyx_t_1 = (__pyx_t_2 != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":188
++    /* "View.MemoryView":189
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -12483,7 +13336,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+     __pyx_v_bufmode = (PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS);
+ 
+-    /* "View.MemoryView":187
++    /* "View.MemoryView":188
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":             # <<<<<<<<<<<<<<
+@@ -12493,7 +13346,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":189
++  /* "View.MemoryView":190
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):             # <<<<<<<<<<<<<<
+@@ -12501,22 +13354,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  *         info.buf = self.data
+  */
+   __pyx_t_1 = ((!((__pyx_v_flags & __pyx_v_bufmode) != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":190
++    /* "View.MemoryView":191
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")             # <<<<<<<<<<<<<<
+  *         info.buf = self.data
+  *         info.len = self.len
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__44, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 190, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__47, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 191, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 190, __pyx_L1_error)
++    __PYX_ERR(2, 191, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":189
++    /* "View.MemoryView":190
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):             # <<<<<<<<<<<<<<
+@@ -12525,7 +13378,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   }
+ 
+-  /* "View.MemoryView":191
++  /* "View.MemoryView":192
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")
+  *         info.buf = self.data             # <<<<<<<<<<<<<<
+@@ -12535,7 +13388,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_4 = __pyx_v_self->data;
+   __pyx_v_info->buf = __pyx_t_4;
+ 
+-  /* "View.MemoryView":192
++  /* "View.MemoryView":193
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")
+  *         info.buf = self.data
+  *         info.len = self.len             # <<<<<<<<<<<<<<
+@@ -12545,7 +13398,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_5 = __pyx_v_self->len;
+   __pyx_v_info->len = __pyx_t_5;
+ 
+-  /* "View.MemoryView":193
++  /* "View.MemoryView":194
+  *         info.buf = self.data
+  *         info.len = self.len
+  *         info.ndim = self.ndim             # <<<<<<<<<<<<<<
+@@ -12555,7 +13408,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_6 = __pyx_v_self->ndim;
+   __pyx_v_info->ndim = __pyx_t_6;
+ 
+-  /* "View.MemoryView":194
++  /* "View.MemoryView":195
+  *         info.len = self.len
+  *         info.ndim = self.ndim
+  *         info.shape = self._shape             # <<<<<<<<<<<<<<
+@@ -12565,7 +13418,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_7 = __pyx_v_self->_shape;
+   __pyx_v_info->shape = __pyx_t_7;
+ 
+-  /* "View.MemoryView":195
++  /* "View.MemoryView":196
+  *         info.ndim = self.ndim
+  *         info.shape = self._shape
+  *         info.strides = self._strides             # <<<<<<<<<<<<<<
+@@ -12575,7 +13428,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_7 = __pyx_v_self->_strides;
+   __pyx_v_info->strides = __pyx_t_7;
+ 
+-  /* "View.MemoryView":196
++  /* "View.MemoryView":197
+  *         info.shape = self._shape
+  *         info.strides = self._strides
+  *         info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -12584,7 +13437,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_info->suboffsets = NULL;
+ 
+-  /* "View.MemoryView":197
++  /* "View.MemoryView":198
+  *         info.strides = self._strides
+  *         info.suboffsets = NULL
+  *         info.itemsize = self.itemsize             # <<<<<<<<<<<<<<
+@@ -12594,7 +13447,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_5 = __pyx_v_self->itemsize;
+   __pyx_v_info->itemsize = __pyx_t_5;
+ 
+-  /* "View.MemoryView":198
++  /* "View.MemoryView":199
+  *         info.suboffsets = NULL
+  *         info.itemsize = self.itemsize
+  *         info.readonly = 0             # <<<<<<<<<<<<<<
+@@ -12603,7 +13456,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_info->readonly = 0;
+ 
+-  /* "View.MemoryView":200
++  /* "View.MemoryView":201
+  *         info.readonly = 0
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -12613,7 +13466,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":201
++    /* "View.MemoryView":202
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             info.format = self.format             # <<<<<<<<<<<<<<
+@@ -12623,7 +13476,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     __pyx_t_4 = __pyx_v_self->format;
+     __pyx_v_info->format = __pyx_t_4;
+ 
+-    /* "View.MemoryView":200
++    /* "View.MemoryView":201
+  *         info.readonly = 0
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -12633,7 +13486,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     goto __pyx_L5;
+   }
+ 
+-  /* "View.MemoryView":203
++  /* "View.MemoryView":204
+  *             info.format = self.format
+  *         else:
+  *             info.format = NULL             # <<<<<<<<<<<<<<
+@@ -12645,7 +13498,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   }
+   __pyx_L5:;
+ 
+-  /* "View.MemoryView":205
++  /* "View.MemoryView":206
+  *             info.format = NULL
+  * 
+  *         info.obj = self             # <<<<<<<<<<<<<<
+@@ -12658,7 +13511,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __Pyx_DECREF(__pyx_v_info->obj);
+   __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "View.MemoryView":183
++  /* "View.MemoryView":184
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+@@ -12673,22 +13526,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __Pyx_XDECREF(__pyx_t_3);
+   __Pyx_AddTraceback("View.MemoryView.array.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
++  if (__pyx_v_info->obj != NULL) {
+     __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   goto __pyx_L2;
+   __pyx_L0:;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   __pyx_L2:;
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":209
++/* "View.MemoryView":210
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")
+  * 
+  *     def __dealloc__(array self):             # <<<<<<<<<<<<<<
+@@ -12712,7 +13565,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":210
++  /* "View.MemoryView":211
+  * 
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:             # <<<<<<<<<<<<<<
+@@ -12722,7 +13575,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __pyx_t_1 = ((__pyx_v_self->callback_free_data != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":211
++    /* "View.MemoryView":212
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)             # <<<<<<<<<<<<<<
+@@ -12731,7 +13584,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     __pyx_v_self->callback_free_data(__pyx_v_self->data);
+ 
+-    /* "View.MemoryView":210
++    /* "View.MemoryView":211
+  * 
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:             # <<<<<<<<<<<<<<
+@@ -12741,7 +13594,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":212
++  /* "View.MemoryView":213
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:             # <<<<<<<<<<<<<<
+@@ -12751,7 +13604,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __pyx_t_1 = (__pyx_v_self->free_data != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":213
++    /* "View.MemoryView":214
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -12761,7 +13614,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+     __pyx_t_1 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":214
++      /* "View.MemoryView":215
+  *         elif self.free_data:
+  *             if self.dtype_is_object:
+  *                 refcount_objects_in_slice(self.data, self._shape,             # <<<<<<<<<<<<<<
+@@ -12770,7 +13623,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+       __pyx_memoryview_refcount_objects_in_slice(__pyx_v_self->data, __pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_self->ndim, 0);
+ 
+-      /* "View.MemoryView":213
++      /* "View.MemoryView":214
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -12779,7 +13632,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     }
+ 
+-    /* "View.MemoryView":216
++    /* "View.MemoryView":217
+  *                 refcount_objects_in_slice(self.data, self._shape,
+  *                                           self._strides, self.ndim, False)
+  *             free(self.data)             # <<<<<<<<<<<<<<
+@@ -12788,7 +13641,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     free(__pyx_v_self->data);
+ 
+-    /* "View.MemoryView":212
++    /* "View.MemoryView":213
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:             # <<<<<<<<<<<<<<
+@@ -12798,7 +13651,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":217
++  /* "View.MemoryView":218
+  *                                           self._strides, self.ndim, False)
+  *             free(self.data)
+  *         PyObject_Free(self._shape)             # <<<<<<<<<<<<<<
+@@ -12807,7 +13660,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+   PyObject_Free(__pyx_v_self->_shape);
+ 
+-  /* "View.MemoryView":209
++  /* "View.MemoryView":210
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")
+  * 
+  *     def __dealloc__(array self):             # <<<<<<<<<<<<<<
+@@ -12819,7 +13672,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":220
++/* "View.MemoryView":221
+  * 
+  *     @property
+  *     def memview(self):             # <<<<<<<<<<<<<<
+@@ -12846,7 +13699,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":221
++  /* "View.MemoryView":222
+  *     @property
+  *     def memview(self):
+  *         return self.get_memview()             # <<<<<<<<<<<<<<
+@@ -12854,13 +13707,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+  *     @cname('get_memview')
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = ((struct __pyx_vtabstruct_array *)__pyx_v_self->__pyx_vtab)->get_memview(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 221, __pyx_L1_error)
++  __pyx_t_1 = ((struct __pyx_vtabstruct_array *)__pyx_v_self->__pyx_vtab)->get_memview(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 222, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":220
++  /* "View.MemoryView":221
+  * 
+  *     @property
+  *     def memview(self):             # <<<<<<<<<<<<<<
+@@ -12879,7 +13732,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":224
++/* "View.MemoryView":225
+  * 
+  *     @cname('get_memview')
+  *     cdef get_memview(self):             # <<<<<<<<<<<<<<
+@@ -12896,7 +13749,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("get_memview", 0);
+ 
+-  /* "View.MemoryView":225
++  /* "View.MemoryView":226
+  *     @cname('get_memview')
+  *     cdef get_memview(self):
+  *         flags =  PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE             # <<<<<<<<<<<<<<
+@@ -12905,19 +13758,19 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+  */
+   __pyx_v_flags = ((PyBUF_ANY_CONTIGUOUS | PyBUF_FORMAT) | PyBUF_WRITABLE);
+ 
+-  /* "View.MemoryView":226
++  /* "View.MemoryView":227
+  *     cdef get_memview(self):
+  *         flags =  PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE
+  *         return  memoryview(self, flags, self.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+- * 
++ *     def __len__(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(((PyObject *)__pyx_v_self));
+   __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+@@ -12928,14 +13781,14 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_1 = 0;
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":224
++  /* "View.MemoryView":225
+  * 
+  *     @cname('get_memview')
+  *     cdef get_memview(self):             # <<<<<<<<<<<<<<
+@@ -12957,7 +13810,57 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+ }
+ 
+ /* "View.MemoryView":229
++ *         return  memoryview(self, flags, self.dtype_is_object)
++ * 
++ *     def __len__(self):             # <<<<<<<<<<<<<<
++ *         return self._shape[0]
++ * 
++ */
++
++/* Python wrapper */
++static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self); /*proto*/
++static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
++  Py_ssize_t __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__len__ (wrapper)", 0);
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(((struct __pyx_array_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
++  Py_ssize_t __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__len__", 0);
++
++  /* "View.MemoryView":230
++ * 
++ *     def __len__(self):
++ *         return self._shape[0]             # <<<<<<<<<<<<<<
++ * 
++ *     def __getattr__(self, attr):
++ */
++  __pyx_r = (__pyx_v_self->_shape[0]);
++  goto __pyx_L0;
++
++  /* "View.MemoryView":229
++ *         return  memoryview(self, flags, self.dtype_is_object)
++ * 
++ *     def __len__(self):             # <<<<<<<<<<<<<<
++ *         return self._shape[0]
+  * 
++ */
++
++  /* function exit code */
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":232
++ *         return self._shape[0]
+  * 
+  *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
+  *         return getattr(self.memview, attr)
+@@ -12970,21 +13873,21 @@ static PyObject *__pyx_array___getattr__(PyObject *__pyx_v_self, PyObject *__pyx
+   PyObject *__pyx_r = 0;
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__getattr__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_attr));
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_attr));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr) {
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr) {
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("__getattr__", 0);
+ 
+-  /* "View.MemoryView":230
++  /* "View.MemoryView":233
+  * 
+  *     def __getattr__(self, attr):
+  *         return getattr(self.memview, attr)             # <<<<<<<<<<<<<<
+@@ -12992,17 +13895,17 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(
+  *     def __getitem__(self, item):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 230, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_GetAttr(__pyx_t_1, __pyx_v_attr); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 230, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_GetAttr(__pyx_t_1, __pyx_v_attr); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":229
+- * 
++  /* "View.MemoryView":232
++ *         return self._shape[0]
+  * 
+  *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
+  *         return getattr(self.memview, attr)
+@@ -13021,7 +13924,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":232
++/* "View.MemoryView":235
+  *         return getattr(self.memview, attr)
+  * 
+  *     def __getitem__(self, item):             # <<<<<<<<<<<<<<
+@@ -13034,118 +13937,225 @@ static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObject *__pyx
+ static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
+   PyObject *__pyx_r = 0;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item));
++  __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  __Pyx_RefNannySetupContext("__getitem__", 0);
++
++  /* "View.MemoryView":236
++ * 
++ *     def __getitem__(self, item):
++ *         return self.memview[item]             # <<<<<<<<<<<<<<
++ * 
++ *     def __setitem__(self, item, value):
++ */
++  __Pyx_XDECREF(__pyx_r);
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 236, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_t_2 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_item); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 236, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __pyx_r = __pyx_t_2;
++  __pyx_t_2 = 0;
++  goto __pyx_L0;
++
++  /* "View.MemoryView":235
++ *         return getattr(self.memview, attr)
++ * 
++ *     def __getitem__(self, item):             # <<<<<<<<<<<<<<
++ *         return self.memview[item]
++ * 
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_2);
++  __Pyx_AddTraceback("View.MemoryView.array.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":238
++ *         return self.memview[item]
++ * 
++ *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
++ *         self.memview[item] = value
++ * 
++ */
++
++/* Python wrapper */
++static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /*proto*/
++static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item), ((PyObject *)__pyx_v_value));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setitem__", 0);
++
++  /* "View.MemoryView":239
++ * 
++ *     def __setitem__(self, item, value):
++ *         self.memview[item] = value             # <<<<<<<<<<<<<<
++ * 
++ * 
++ */
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 239, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_v_item, __pyx_v_value) < 0)) __PYX_ERR(2, 239, __pyx_L1_error)
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++
++  /* "View.MemoryView":238
++ *         return self.memview[item]
++ * 
++ *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
++ *         self.memview[item] = value
++ * 
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.array.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item) {
++static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self) {
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+-  PyObject *__pyx_t_2 = NULL;
+-  __Pyx_RefNannySetupContext("__getitem__", 0);
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
+ 
+-  /* "View.MemoryView":233
+- * 
+- *     def __getitem__(self, item):
+- *         return self.memview[item]             # <<<<<<<<<<<<<<
+- * 
+- *     def __setitem__(self, item, value):
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
+  */
+-  __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 233, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__48, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyObject_GetItem(__pyx_t_1, __pyx_v_item); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 233, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_r = __pyx_t_2;
+-  __pyx_t_2 = 0;
+-  goto __pyx_L0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":232
+- *         return getattr(self.memview, attr)
+- * 
+- *     def __getitem__(self, item):             # <<<<<<<<<<<<<<
+- *         return self.memview[item]
+- * 
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
+  */
+ 
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_1);
+-  __Pyx_XDECREF(__pyx_t_2);
+-  __Pyx_AddTraceback("View.MemoryView.array.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = NULL;
+-  __pyx_L0:;
+   __Pyx_XGIVEREF(__pyx_r);
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":235
+- *         return self.memview[item]
+- * 
+- *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
+- *         self.memview[item] = value
+- * 
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
+  */
+ 
+ /* Python wrapper */
+-static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /*proto*/
+-static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
+-  int __pyx_r;
++static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item), ((PyObject *)__pyx_v_value));
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_array_2__setstate_cython__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
+-  int __pyx_r;
++static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+-  __Pyx_RefNannySetupContext("__setitem__", 0);
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
+ 
+-  /* "View.MemoryView":236
+- * 
+- *     def __setitem__(self, item, value):
+- *         self.memview[item] = value             # <<<<<<<<<<<<<<
+- * 
+- * 
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
+  */
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 236, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__49, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_v_item, __pyx_v_value) < 0)) __PYX_ERR(2, 236, __pyx_L1_error)
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":235
+- *         return self.memview[item]
+- * 
+- *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
+- *         self.memview[item] = value
+- * 
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
+  */
+ 
+   /* function exit code */
+-  __pyx_r = 0;
+-  goto __pyx_L0;
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_1);
+-  __Pyx_AddTraceback("View.MemoryView.array.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-  __pyx_r = -1;
+-  __pyx_L0:;
++  __Pyx_AddTraceback("View.MemoryView.array.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":240
++/* "View.MemoryView":243
+  * 
+  * @cname("__pyx_array_new")
+  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format,             # <<<<<<<<<<<<<<
+@@ -13164,7 +14174,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("array_cwrapper", 0);
+ 
+-  /* "View.MemoryView":244
++  /* "View.MemoryView":247
+  *     cdef array result
+  * 
+  *     if buf == NULL:             # <<<<<<<<<<<<<<
+@@ -13174,20 +14184,20 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   __pyx_t_1 = ((__pyx_v_buf == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":245
++    /* "View.MemoryView":248
+  * 
+  *     if buf == NULL:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))             # <<<<<<<<<<<<<<
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  */
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_4 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_INCREF(__pyx_v_shape);
+     __Pyx_GIVEREF(__pyx_v_shape);
+@@ -13201,13 +14211,13 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     __pyx_t_2 = 0;
+     __pyx_t_3 = 0;
+     __pyx_t_4 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "View.MemoryView":244
++    /* "View.MemoryView":247
+  *     cdef array result
+  * 
+  *     if buf == NULL:             # <<<<<<<<<<<<<<
+@@ -13217,7 +14227,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":247
++  /* "View.MemoryView":250
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),             # <<<<<<<<<<<<<<
+@@ -13225,13 +14235,13 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+  *         result.data = buf
+  */
+   /*else*/ {
+-    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_INCREF(__pyx_v_shape);
+     __Pyx_GIVEREF(__pyx_v_shape);
+@@ -13246,32 +14256,32 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     __pyx_t_5 = 0;
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":248
++    /* "View.MemoryView":251
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  *                        allocate_buffer=False)             # <<<<<<<<<<<<<<
+  *         result.data = buf
+  * 
+  */
+-    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 248, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 251, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_allocate_buffer, Py_False) < 0) __PYX_ERR(2, 248, __pyx_L1_error)
++    if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_allocate_buffer, Py_False) < 0) __PYX_ERR(2, 251, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":247
++    /* "View.MemoryView":250
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),             # <<<<<<<<<<<<<<
+  *                        allocate_buffer=False)
+  *         result.data = buf
+  */
+-    __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_5);
+     __pyx_t_5 = 0;
+ 
+-    /* "View.MemoryView":249
++    /* "View.MemoryView":252
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  *                        allocate_buffer=False)
+  *         result.data = buf             # <<<<<<<<<<<<<<
+@@ -13282,7 +14292,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":251
++  /* "View.MemoryView":254
+  *         result.data = buf
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -13294,7 +14304,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   __pyx_r = __pyx_v_result;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":240
++  /* "View.MemoryView":243
+  * 
+  * @cname("__pyx_array_new")
+  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format,             # <<<<<<<<<<<<<<
+@@ -13317,7 +14327,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":277
++/* "View.MemoryView":280
+  * cdef class Enum(object):
+  *     cdef object name
+  *     def __init__(self, name):             # <<<<<<<<<<<<<<
+@@ -13340,17 +14350,18 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
+       }
+       if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(2, 277, __pyx_L3_error)
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(2, 280, __pyx_L3_error)
+       }
+     } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
+       goto __pyx_L5_argtuple_error;
+@@ -13361,7 +14372,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 277, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 280, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.Enum.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+@@ -13379,7 +14390,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__init__", 0);
+ 
+-  /* "View.MemoryView":278
++  /* "View.MemoryView":281
+  *     cdef object name
+  *     def __init__(self, name):
+  *         self.name = name             # <<<<<<<<<<<<<<
+@@ -13392,7 +14403,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   __Pyx_DECREF(__pyx_v_self->name);
+   __pyx_v_self->name = __pyx_v_name;
+ 
+-  /* "View.MemoryView":277
++  /* "View.MemoryView":280
+  * cdef class Enum(object):
+  *     cdef object name
+  *     def __init__(self, name):             # <<<<<<<<<<<<<<
+@@ -13406,7 +14417,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":279
++/* "View.MemoryView":282
+  *     def __init__(self, name):
+  *         self.name = name
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -13432,7 +14443,7 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__repr__", 0);
+ 
+-  /* "View.MemoryView":280
++  /* "View.MemoryView":283
+  *         self.name = name
+  *     def __repr__(self):
+  *         return self.name             # <<<<<<<<<<<<<<
+@@ -13444,7 +14455,7 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   __pyx_r = __pyx_v_self->name;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":279
++  /* "View.MemoryView":282
+  *     def __init__(self, name):
+  *         self.name = name
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -13459,7 +14470,294 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":294
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
++  int __pyx_v_use_setstate;
++  PyObject *__pyx_v_state = NULL;
++  PyObject *__pyx_v__dict = NULL;
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_2;
++  int __pyx_t_3;
++  PyObject *__pyx_t_4 = NULL;
++  PyObject *__pyx_t_5 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     cdef bint use_setstate
++ *     state = (self.name,)             # <<<<<<<<<<<<<<
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:
++ */
++  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_INCREF(__pyx_v_self->name);
++  __Pyx_GIVEREF(__pyx_v_self->name);
++  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->name);
++  __pyx_v_state = ((PyObject*)__pyx_t_1);
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":4
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)             # <<<<<<<<<<<<<<
++ *     if _dict is not None:
++ *         state += (_dict,)
++ */
++  __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_v__dict = __pyx_t_1;
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":5
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:             # <<<<<<<<<<<<<<
++ *         state += (_dict,)
++ *         use_setstate = True
++ */
++  __pyx_t_2 = (__pyx_v__dict != Py_None);
++  __pyx_t_3 = (__pyx_t_2 != 0);
++  if (__pyx_t_3) {
++
++    /* "(tree fragment)":6
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:
++ *         state += (_dict,)             # <<<<<<<<<<<<<<
++ *         use_setstate = True
++ *     else:
++ */
++    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(__pyx_v__dict);
++    __Pyx_GIVEREF(__pyx_v__dict);
++    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict);
++    __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4));
++    __pyx_t_4 = 0;
++
++    /* "(tree fragment)":7
++ *     if _dict is not None:
++ *         state += (_dict,)
++ *         use_setstate = True             # <<<<<<<<<<<<<<
++ *     else:
++ *         use_setstate = self.name is not None
++ */
++    __pyx_v_use_setstate = 1;
++
++    /* "(tree fragment)":5
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:             # <<<<<<<<<<<<<<
++ *         state += (_dict,)
++ *         use_setstate = True
++ */
++    goto __pyx_L3;
++  }
++
++  /* "(tree fragment)":9
++ *         use_setstate = True
++ *     else:
++ *         use_setstate = self.name is not None             # <<<<<<<<<<<<<<
++ *     if use_setstate:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ */
++  /*else*/ {
++    __pyx_t_3 = (__pyx_v_self->name != Py_None);
++    __pyx_v_use_setstate = __pyx_t_3;
++  }
++  __pyx_L3:;
++
++  /* "(tree fragment)":10
++ *     else:
++ *         use_setstate = self.name is not None
++ *     if use_setstate:             # <<<<<<<<<<<<<<
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ */
++  __pyx_t_3 = (__pyx_v_use_setstate != 0);
++  if (__pyx_t_3) {
++
++    /* "(tree fragment)":11
++ *         use_setstate = self.name is not None
++ *     if use_setstate:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state             # <<<<<<<<<<<<<<
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ */
++    __Pyx_XDECREF(__pyx_r);
++    __pyx_t_4 = __Pyx_GetModuleGlobalName(__pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_INCREF(__pyx_int_184977713);
++    __Pyx_GIVEREF(__pyx_int_184977713);
++    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_184977713);
++    __Pyx_INCREF(Py_None);
++    __Pyx_GIVEREF(Py_None);
++    PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None);
++    __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_5);
++    __Pyx_GIVEREF(__pyx_t_4);
++    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
++    __Pyx_INCREF(__pyx_v_state);
++    __Pyx_GIVEREF(__pyx_v_state);
++    PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state);
++    __pyx_t_4 = 0;
++    __pyx_t_1 = 0;
++    __pyx_r = __pyx_t_5;
++    __pyx_t_5 = 0;
++    goto __pyx_L0;
++
++    /* "(tree fragment)":10
++ *     else:
++ *         use_setstate = self.name is not None
++ *     if use_setstate:             # <<<<<<<<<<<<<<
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ */
++  }
++
++  /* "(tree fragment)":13
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++  /*else*/ {
++    __Pyx_XDECREF(__pyx_r);
++    __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_5);
++    __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_INCREF(__pyx_int_184977713);
++    __Pyx_GIVEREF(__pyx_int_184977713);
++    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_184977713);
++    __Pyx_INCREF(__pyx_v_state);
++    __Pyx_GIVEREF(__pyx_v_state);
++    PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state);
++    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_GIVEREF(__pyx_t_5);
++    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1);
++    __pyx_t_5 = 0;
++    __pyx_t_1 = 0;
++    __pyx_r = __pyx_t_4;
++    __pyx_t_4 = 0;
++    goto __pyx_L0;
++  }
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_4);
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XDECREF(__pyx_v_state);
++  __Pyx_XDECREF(__pyx_v__dict);
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":14
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_MemviewEnum_2__setstate_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":15
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)             # <<<<<<<<<<<<<<
++ */
++  if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 15, __pyx_L1_error)
++  __pyx_t_1 = __pyx_unpickle_Enum__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++
++  /* "(tree fragment)":14
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++
++  /* function exit code */
++  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.Enum.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":297
+  * 
+  * @cname('__pyx_align_pointer')
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:             # <<<<<<<<<<<<<<
+@@ -13473,7 +14771,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   void *__pyx_r;
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":296
++  /* "View.MemoryView":299
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:
+  *     "Align pointer memory on a given boundary"
+  *     cdef Py_intptr_t aligned_p =  memory             # <<<<<<<<<<<<<<
+@@ -13482,7 +14780,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   __pyx_v_aligned_p = ((Py_intptr_t)__pyx_v_memory);
+ 
+-  /* "View.MemoryView":300
++  /* "View.MemoryView":303
+  * 
+  *     with cython.cdivision(True):
+  *         offset = aligned_p % alignment             # <<<<<<<<<<<<<<
+@@ -13491,7 +14789,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   __pyx_v_offset = (__pyx_v_aligned_p % __pyx_v_alignment);
+ 
+-  /* "View.MemoryView":302
++  /* "View.MemoryView":305
+  *         offset = aligned_p % alignment
+  * 
+  *     if offset > 0:             # <<<<<<<<<<<<<<
+@@ -13501,7 +14799,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   __pyx_t_1 = ((__pyx_v_offset > 0) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":303
++    /* "View.MemoryView":306
+  * 
+  *     if offset > 0:
+  *         aligned_p += alignment - offset             # <<<<<<<<<<<<<<
+@@ -13510,7 +14808,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+     __pyx_v_aligned_p = (__pyx_v_aligned_p + (__pyx_v_alignment - __pyx_v_offset));
+ 
+-    /* "View.MemoryView":302
++    /* "View.MemoryView":305
+  *         offset = aligned_p % alignment
+  * 
+  *     if offset > 0:             # <<<<<<<<<<<<<<
+@@ -13519,7 +14817,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   }
+ 
+-  /* "View.MemoryView":305
++  /* "View.MemoryView":308
+  *         aligned_p += alignment - offset
+  * 
+  *     return  aligned_p             # <<<<<<<<<<<<<<
+@@ -13529,7 +14827,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   __pyx_r = ((void *)__pyx_v_aligned_p);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":294
++  /* "View.MemoryView":297
+  * 
+  * @cname('__pyx_align_pointer')
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:             # <<<<<<<<<<<<<<
+@@ -13542,7 +14840,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":341
++/* "View.MemoryView":344
+  *     cdef __Pyx_TypeInfo *typeinfo
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):             # <<<<<<<<<<<<<<
+@@ -13567,33 +14865,39 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_obj)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_obj)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
+         else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(2, 341, __pyx_L3_error)
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(2, 344, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_dtype_is_object);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dtype_is_object);
+           if (value) { values[2] = value; kw_args--; }
+         }
+       }
+       if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 341, __pyx_L3_error)
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 344, __pyx_L3_error)
+       }
+     } else {
+       switch (PyTuple_GET_SIZE(__pyx_args)) {
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+         values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+         break;
+@@ -13601,16 +14905,16 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       }
+     }
+     __pyx_v_obj = values[0];
+-    __pyx_v_flags = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 341, __pyx_L3_error)
++    __pyx_v_flags = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 344, __pyx_L3_error)
+     if (values[2]) {
+-      __pyx_v_dtype_is_object = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_dtype_is_object == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 341, __pyx_L3_error)
++      __pyx_v_dtype_is_object = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_dtype_is_object == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 344, __pyx_L3_error)
+     } else {
+       __pyx_v_dtype_is_object = ((int)0);
+     }
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 341, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 344, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.memoryview.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+@@ -13632,7 +14936,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   int __pyx_t_4;
+   __Pyx_RefNannySetupContext("__cinit__", 0);
+ 
+-  /* "View.MemoryView":342
++  /* "View.MemoryView":345
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):
+  *         self.obj = obj             # <<<<<<<<<<<<<<
+@@ -13645,7 +14949,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __Pyx_DECREF(__pyx_v_self->obj);
+   __pyx_v_self->obj = __pyx_v_obj;
+ 
+-  /* "View.MemoryView":343
++  /* "View.MemoryView":346
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):
+  *         self.obj = obj
+  *         self.flags = flags             # <<<<<<<<<<<<<<
+@@ -13654,7 +14958,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->flags = __pyx_v_flags;
+ 
+-  /* "View.MemoryView":344
++  /* "View.MemoryView":347
+  *         self.obj = obj
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:             # <<<<<<<<<<<<<<
+@@ -13674,16 +14978,16 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_L4_bool_binop_done:;
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":345
++    /* "View.MemoryView":348
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)             # <<<<<<<<<<<<<<
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None
+  */
+-    __pyx_t_4 = __Pyx_GetBuffer(__pyx_v_obj, (&__pyx_v_self->view), __pyx_v_flags); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 345, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_GetBuffer(__pyx_v_obj, (&__pyx_v_self->view), __pyx_v_flags); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 348, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":346
++    /* "View.MemoryView":349
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:             # <<<<<<<<<<<<<<
+@@ -13693,7 +14997,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     __pyx_t_1 = ((((PyObject *)__pyx_v_self->view.obj) == NULL) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":347
++      /* "View.MemoryView":350
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None             # <<<<<<<<<<<<<<
+@@ -13702,7 +15006,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+       ((Py_buffer *)(&__pyx_v_self->view))->obj = Py_None;
+ 
+-      /* "View.MemoryView":348
++      /* "View.MemoryView":351
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None
+  *                 Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+@@ -13711,7 +15015,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+       Py_INCREF(Py_None);
+ 
+-      /* "View.MemoryView":346
++      /* "View.MemoryView":349
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:             # <<<<<<<<<<<<<<
+@@ -13720,7 +15024,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     }
+ 
+-    /* "View.MemoryView":344
++    /* "View.MemoryView":347
+  *         self.obj = obj
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:             # <<<<<<<<<<<<<<
+@@ -13729,7 +15033,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":351
++  /* "View.MemoryView":354
+  * 
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:             # <<<<<<<<<<<<<<
+@@ -13739,7 +15043,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_memoryview_thread_locks_used < 8) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":352
++    /* "View.MemoryView":355
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]             # <<<<<<<<<<<<<<
+@@ -13748,7 +15052,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_v_self->lock = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
+ 
+-    /* "View.MemoryView":353
++    /* "View.MemoryView":356
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1             # <<<<<<<<<<<<<<
+@@ -13757,7 +15061,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used + 1);
+ 
+-    /* "View.MemoryView":351
++    /* "View.MemoryView":354
+  * 
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:             # <<<<<<<<<<<<<<
+@@ -13766,7 +15070,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":354
++  /* "View.MemoryView":357
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -13776,7 +15080,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_v_self->lock == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":355
++    /* "View.MemoryView":358
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()             # <<<<<<<<<<<<<<
+@@ -13785,7 +15089,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_v_self->lock = PyThread_allocate_lock();
+ 
+-    /* "View.MemoryView":356
++    /* "View.MemoryView":359
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -13793,18 +15097,18 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  * 
+  */
+     __pyx_t_1 = ((__pyx_v_self->lock == NULL) != 0);
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "View.MemoryView":357
++      /* "View.MemoryView":360
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:
+  *                 raise MemoryError             # <<<<<<<<<<<<<<
+  * 
+  *         if flags & PyBUF_FORMAT:
+  */
+-      PyErr_NoMemory(); __PYX_ERR(2, 357, __pyx_L1_error)
++      PyErr_NoMemory(); __PYX_ERR(2, 360, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":356
++      /* "View.MemoryView":359
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -13813,7 +15117,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     }
+ 
+-    /* "View.MemoryView":354
++    /* "View.MemoryView":357
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -13822,7 +15126,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":359
++  /* "View.MemoryView":362
+  *                 raise MemoryError
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -13832,7 +15136,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":360
++    /* "View.MemoryView":363
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0')             # <<<<<<<<<<<<<<
+@@ -13850,7 +15154,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     __pyx_L11_bool_binop_done:;
+     __pyx_v_self->dtype_is_object = __pyx_t_1;
+ 
+-    /* "View.MemoryView":359
++    /* "View.MemoryView":362
+  *                 raise MemoryError
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -13860,7 +15164,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":362
++  /* "View.MemoryView":365
+  *             self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0')
+  *         else:
+  *             self.dtype_is_object = dtype_is_object             # <<<<<<<<<<<<<<
+@@ -13872,7 +15176,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   }
+   __pyx_L10:;
+ 
+-  /* "View.MemoryView":364
++  /* "View.MemoryView":367
+  *             self.dtype_is_object = dtype_is_object
+  * 
+  *         self.acquisition_count_aligned_p = <__pyx_atomic_int *> align_pointer(             # <<<<<<<<<<<<<<
+@@ -13881,7 +15185,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->acquisition_count_aligned_p = ((__pyx_atomic_int *)__pyx_align_pointer(((void *)(&(__pyx_v_self->acquisition_count[0]))), (sizeof(__pyx_atomic_int))));
+ 
+-  /* "View.MemoryView":366
++  /* "View.MemoryView":369
+  *         self.acquisition_count_aligned_p = <__pyx_atomic_int *> align_pointer(
+  *                    &self.acquisition_count[0], sizeof(__pyx_atomic_int))
+  *         self.typeinfo = NULL             # <<<<<<<<<<<<<<
+@@ -13890,7 +15194,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->typeinfo = NULL;
+ 
+-  /* "View.MemoryView":341
++  /* "View.MemoryView":344
+  *     cdef __Pyx_TypeInfo *typeinfo
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):             # <<<<<<<<<<<<<<
+@@ -13909,7 +15213,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":368
++/* "View.MemoryView":371
+  *         self.typeinfo = NULL
+  * 
+  *     def __dealloc__(memoryview self):             # <<<<<<<<<<<<<<
+@@ -13935,11 +15239,12 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   int __pyx_t_2;
+   int __pyx_t_3;
+   int __pyx_t_4;
+-  PyThread_type_lock __pyx_t_5;
++  int __pyx_t_5;
+   PyThread_type_lock __pyx_t_6;
++  PyThread_type_lock __pyx_t_7;
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":369
++  /* "View.MemoryView":372
+  * 
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:             # <<<<<<<<<<<<<<
+@@ -13950,7 +15255,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":370
++    /* "View.MemoryView":373
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:
+  *             __Pyx_ReleaseBuffer(&self.view)             # <<<<<<<<<<<<<<
+@@ -13959,7 +15264,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+     __Pyx_ReleaseBuffer((&__pyx_v_self->view));
+ 
+-    /* "View.MemoryView":369
++    /* "View.MemoryView":372
+  * 
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:             # <<<<<<<<<<<<<<
+@@ -13968,7 +15273,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+   }
+ 
+-  /* "View.MemoryView":374
++  /* "View.MemoryView":377
+  *         cdef int i
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:             # <<<<<<<<<<<<<<
+@@ -13978,7 +15283,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __pyx_t_2 = ((__pyx_v_self->lock != NULL) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":375
++    /* "View.MemoryView":378
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):             # <<<<<<<<<<<<<<
+@@ -13986,10 +15291,11 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  */
+     __pyx_t_3 = __pyx_memoryview_thread_locks_used;
+-    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
+-      __pyx_v_i = __pyx_t_4;
++    __pyx_t_4 = __pyx_t_3;
++    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
++      __pyx_v_i = __pyx_t_5;
+ 
+-      /* "View.MemoryView":376
++      /* "View.MemoryView":379
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:             # <<<<<<<<<<<<<<
+@@ -13999,7 +15305,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+       __pyx_t_2 = (((__pyx_memoryview_thread_locks[__pyx_v_i]) == __pyx_v_self->lock) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":377
++        /* "View.MemoryView":380
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1             # <<<<<<<<<<<<<<
+@@ -14008,7 +15314,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used - 1);
+ 
+-        /* "View.MemoryView":378
++        /* "View.MemoryView":381
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:             # <<<<<<<<<<<<<<
+@@ -14018,27 +15324,27 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+         __pyx_t_2 = ((__pyx_v_i != __pyx_memoryview_thread_locks_used) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":380
++          /* "View.MemoryView":383
+  *                     if i != __pyx_memoryview_thread_locks_used:
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])             # <<<<<<<<<<<<<<
+  *                     break
+  *             else:
+  */
+-          __pyx_t_5 = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
+-          __pyx_t_6 = (__pyx_memoryview_thread_locks[__pyx_v_i]);
++          __pyx_t_6 = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
++          __pyx_t_7 = (__pyx_memoryview_thread_locks[__pyx_v_i]);
+ 
+-          /* "View.MemoryView":379
++          /* "View.MemoryView":382
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (             # <<<<<<<<<<<<<<
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])
+  *                     break
+  */
+-          (__pyx_memoryview_thread_locks[__pyx_v_i]) = __pyx_t_5;
+-          (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]) = __pyx_t_6;
++          (__pyx_memoryview_thread_locks[__pyx_v_i]) = __pyx_t_6;
++          (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]) = __pyx_t_7;
+ 
+-          /* "View.MemoryView":378
++          /* "View.MemoryView":381
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:             # <<<<<<<<<<<<<<
+@@ -14047,7 +15353,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         }
+ 
+-        /* "View.MemoryView":381
++        /* "View.MemoryView":384
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])
+  *                     break             # <<<<<<<<<<<<<<
+@@ -14056,7 +15362,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         goto __pyx_L6_break;
+ 
+-        /* "View.MemoryView":376
++        /* "View.MemoryView":379
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:             # <<<<<<<<<<<<<<
+@@ -14067,7 +15373,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+     }
+     /*else*/ {
+ 
+-      /* "View.MemoryView":383
++      /* "View.MemoryView":386
+  *                     break
+  *             else:
+  *                 PyThread_free_lock(self.lock)             # <<<<<<<<<<<<<<
+@@ -14078,7 +15384,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+     }
+     __pyx_L6_break:;
+ 
+-    /* "View.MemoryView":374
++    /* "View.MemoryView":377
+  *         cdef int i
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:             # <<<<<<<<<<<<<<
+@@ -14087,7 +15393,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+   }
+ 
+-  /* "View.MemoryView":368
++  /* "View.MemoryView":371
+  *         self.typeinfo = NULL
+  * 
+  *     def __dealloc__(memoryview self):             # <<<<<<<<<<<<<<
+@@ -14099,7 +15405,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":385
++/* "View.MemoryView":388
+  *                 PyThread_free_lock(self.lock)
+  * 
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:             # <<<<<<<<<<<<<<
+@@ -14122,7 +15428,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   char *__pyx_t_7;
+   __Pyx_RefNannySetupContext("get_item_pointer", 0);
+ 
+-  /* "View.MemoryView":387
++  /* "View.MemoryView":390
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:
+  *         cdef Py_ssize_t dim
+  *         cdef char *itemp =  self.view.buf             # <<<<<<<<<<<<<<
+@@ -14131,7 +15437,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+  */
+   __pyx_v_itemp = ((char *)__pyx_v_self->view.buf);
+ 
+-  /* "View.MemoryView":389
++  /* "View.MemoryView":392
+  *         cdef char *itemp =  self.view.buf
+  * 
+  *         for dim, idx in enumerate(index):             # <<<<<<<<<<<<<<
+@@ -14143,26 +15449,26 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+     __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
+     __pyx_t_4 = NULL;
+   } else {
+-    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 389, __pyx_L1_error)
++    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 392, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 389, __pyx_L1_error)
++    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 392, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_4)) {
+       if (likely(PyList_CheckExact(__pyx_t_2))) {
+         if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 389, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 392, __pyx_L1_error)
+         #else
+-        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 389, __pyx_L1_error)
++        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 392, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_5);
+         #endif
+       } else {
+         if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 389, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 392, __pyx_L1_error)
+         #else
+-        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 389, __pyx_L1_error)
++        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 392, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_5);
+         #endif
+       }
+@@ -14171,8 +15477,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+       if (unlikely(!__pyx_t_5)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 389, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 392, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -14183,18 +15489,18 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+     __pyx_v_dim = __pyx_t_1;
+     __pyx_t_1 = (__pyx_t_1 + 1);
+ 
+-    /* "View.MemoryView":390
++    /* "View.MemoryView":393
+  * 
+  *         for dim, idx in enumerate(index):
+  *             itemp = pybuffer_index(&self.view, itemp, idx, dim)             # <<<<<<<<<<<<<<
+  * 
+  *         return itemp
+  */
+-    __pyx_t_6 = __Pyx_PyIndex_AsSsize_t(__pyx_v_idx); if (unlikely((__pyx_t_6 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 390, __pyx_L1_error)
+-    __pyx_t_7 = __pyx_pybuffer_index((&__pyx_v_self->view), __pyx_v_itemp, __pyx_t_6, __pyx_v_dim); if (unlikely(__pyx_t_7 == NULL)) __PYX_ERR(2, 390, __pyx_L1_error)
++    __pyx_t_6 = __Pyx_PyIndex_AsSsize_t(__pyx_v_idx); if (unlikely((__pyx_t_6 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 393, __pyx_L1_error)
++    __pyx_t_7 = __pyx_pybuffer_index((&__pyx_v_self->view), __pyx_v_itemp, __pyx_t_6, __pyx_v_dim); if (unlikely(__pyx_t_7 == ((char *)NULL))) __PYX_ERR(2, 393, __pyx_L1_error)
+     __pyx_v_itemp = __pyx_t_7;
+ 
+-    /* "View.MemoryView":389
++    /* "View.MemoryView":392
+  *         cdef char *itemp =  self.view.buf
+  * 
+  *         for dim, idx in enumerate(index):             # <<<<<<<<<<<<<<
+@@ -14204,7 +15510,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":392
++  /* "View.MemoryView":395
+  *             itemp = pybuffer_index(&self.view, itemp, idx, dim)
+  * 
+  *         return itemp             # <<<<<<<<<<<<<<
+@@ -14214,7 +15520,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   __pyx_r = __pyx_v_itemp;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":385
++  /* "View.MemoryView":388
+  *                 PyThread_free_lock(self.lock)
+  * 
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:             # <<<<<<<<<<<<<<
+@@ -14234,7 +15540,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":395
++/* "View.MemoryView":398
+  * 
+  * 
+  *     def __getitem__(memoryview self, object index):             # <<<<<<<<<<<<<<
+@@ -14269,7 +15575,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   char *__pyx_t_6;
+   __Pyx_RefNannySetupContext("__getitem__", 0);
+ 
+-  /* "View.MemoryView":396
++  /* "View.MemoryView":399
+  * 
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -14280,7 +15586,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":397
++    /* "View.MemoryView":400
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:
+  *             return self             # <<<<<<<<<<<<<<
+@@ -14292,7 +15598,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+     __pyx_r = ((PyObject *)__pyx_v_self);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":396
++    /* "View.MemoryView":399
+  * 
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -14301,58 +15607,54 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  */
+   }
+ 
+-  /* "View.MemoryView":399
++  /* "View.MemoryView":402
+  *             return self
+  * 
+  *         have_slices, indices = _unellipsify(index, self.view.ndim)             # <<<<<<<<<<<<<<
+  * 
+  *         cdef char *itemp
+  */
+-  __pyx_t_3 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 399, __pyx_L1_error)
++  __pyx_t_3 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 402, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   if (likely(__pyx_t_3 != Py_None)) {
+     PyObject* sequence = __pyx_t_3;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-      __PYX_ERR(2, 399, __pyx_L1_error)
++      __PYX_ERR(2, 402, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); 
+     __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); 
+     __Pyx_INCREF(__pyx_t_4);
+     __Pyx_INCREF(__pyx_t_5);
+     #else
+-    __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 399, __pyx_L1_error)
++    __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 402, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 399, __pyx_L1_error)
++    __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 402, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     #endif
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   } else {
+-    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 399, __pyx_L1_error)
++    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 402, __pyx_L1_error)
+   }
+   __pyx_v_have_slices = __pyx_t_4;
+   __pyx_t_4 = 0;
+   __pyx_v_indices = __pyx_t_5;
+   __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":402
++  /* "View.MemoryView":405
+  * 
+  *         cdef char *itemp
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             return memview_slice(self, indices)
+  *         else:
+  */
+-  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 402, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 405, __pyx_L1_error)
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":403
++    /* "View.MemoryView":406
+  *         cdef char *itemp
+  *         if have_slices:
+  *             return memview_slice(self, indices)             # <<<<<<<<<<<<<<
+@@ -14360,13 +15662,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  *             itemp = self.get_item_pointer(indices)
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_3 = ((PyObject *)__pyx_memview_slice(__pyx_v_self, __pyx_v_indices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 403, __pyx_L1_error)
++    __pyx_t_3 = ((PyObject *)__pyx_memview_slice(__pyx_v_self, __pyx_v_indices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 406, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":402
++    /* "View.MemoryView":405
+  * 
+  *         cdef char *itemp
+  *         if have_slices:             # <<<<<<<<<<<<<<
+@@ -14375,7 +15677,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  */
+   }
+ 
+-  /* "View.MemoryView":405
++  /* "View.MemoryView":408
+  *             return memview_slice(self, indices)
+  *         else:
+  *             itemp = self.get_item_pointer(indices)             # <<<<<<<<<<<<<<
+@@ -14383,10 +15685,10 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  * 
+  */
+   /*else*/ {
+-    __pyx_t_6 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_indices); if (unlikely(__pyx_t_6 == NULL)) __PYX_ERR(2, 405, __pyx_L1_error)
++    __pyx_t_6 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_indices); if (unlikely(__pyx_t_6 == ((char *)NULL))) __PYX_ERR(2, 408, __pyx_L1_error)
+     __pyx_v_itemp = __pyx_t_6;
+ 
+-    /* "View.MemoryView":406
++    /* "View.MemoryView":409
+  *         else:
+  *             itemp = self.get_item_pointer(indices)
+  *             return self.convert_item_to_object(itemp)             # <<<<<<<<<<<<<<
+@@ -14394,14 +15696,14 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  *     def __setitem__(memoryview self, object index, object value):
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->convert_item_to_object(__pyx_v_self, __pyx_v_itemp); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 406, __pyx_L1_error)
++    __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->convert_item_to_object(__pyx_v_self, __pyx_v_itemp); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 409, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":395
++  /* "View.MemoryView":398
+  * 
+  * 
+  *     def __getitem__(memoryview self, object index):             # <<<<<<<<<<<<<<
+@@ -14424,12 +15726,12 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":408
++/* "View.MemoryView":411
+  *             return self.convert_item_to_object(itemp)
+  * 
+- *     def __setitem__(memoryview self, object index, object value):             # <<<<<<<<<<<<<<
+- *         have_slices, index = _unellipsify(index, self.view.ndim)
+- * 
++ *     def __setitem__(memoryview self, object index, object value):             # <<<<<<<<<<<<<<
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")
+  */
+ 
+ /* Python wrapper */
+@@ -14450,111 +15752,139 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+   PyObject *__pyx_v_obj = NULL;
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+-  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_1;
+   PyObject *__pyx_t_2 = NULL;
+   PyObject *__pyx_t_3 = NULL;
+-  int __pyx_t_4;
++  PyObject *__pyx_t_4 = NULL;
+   __Pyx_RefNannySetupContext("__setitem__", 0);
+   __Pyx_INCREF(__pyx_v_index);
+ 
+-  /* "View.MemoryView":409
++  /* "View.MemoryView":412
++ * 
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
++ */
++  __pyx_t_1 = (__pyx_v_self->view.readonly != 0);
++  if (unlikely(__pyx_t_1)) {
++
++    /* "View.MemoryView":413
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         have_slices, index = _unellipsify(index, self.view.ndim)
++ */
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__50, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 413, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_Raise(__pyx_t_2, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __PYX_ERR(2, 413, __pyx_L1_error)
++
++    /* "View.MemoryView":412
+  * 
+  *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
++ */
++  }
++
++  /* "View.MemoryView":415
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
+  *         have_slices, index = _unellipsify(index, self.view.ndim)             # <<<<<<<<<<<<<<
+  * 
+  *         if have_slices:
+  */
+-  __pyx_t_1 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 409, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_1);
+-  if (likely(__pyx_t_1 != Py_None)) {
+-    PyObject* sequence = __pyx_t_1;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++  __pyx_t_2 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 415, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  if (likely(__pyx_t_2 != Py_None)) {
++    PyObject* sequence = __pyx_t_2;
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-      __PYX_ERR(2, 409, __pyx_L1_error)
++      __PYX_ERR(2, 415, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); 
+-    __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); 
+-    __Pyx_INCREF(__pyx_t_2);
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
++    __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); 
+     __Pyx_INCREF(__pyx_t_3);
++    __Pyx_INCREF(__pyx_t_4);
+     #else
+-    __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 409, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 409, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 415, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
++    __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 415, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
+     #endif
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   } else {
+-    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 409, __pyx_L1_error)
++    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 415, __pyx_L1_error)
+   }
+-  __pyx_v_have_slices = __pyx_t_2;
+-  __pyx_t_2 = 0;
+-  __Pyx_DECREF_SET(__pyx_v_index, __pyx_t_3);
++  __pyx_v_have_slices = __pyx_t_3;
+   __pyx_t_3 = 0;
++  __Pyx_DECREF_SET(__pyx_v_index, __pyx_t_4);
++  __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":411
++  /* "View.MemoryView":417
+  *         have_slices, index = _unellipsify(index, self.view.ndim)
+  * 
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             obj = self.is_slice(value)
+  *             if obj:
+  */
+-  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 411, __pyx_L1_error)
+-  if (__pyx_t_4) {
++  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 417, __pyx_L1_error)
++  if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":412
++    /* "View.MemoryView":418
+  * 
+  *         if have_slices:
+  *             obj = self.is_slice(value)             # <<<<<<<<<<<<<<
+  *             if obj:
+  *                 self.setitem_slice_assignment(self[index], obj)
+  */
+-    __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->is_slice(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 412, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_v_obj = __pyx_t_1;
+-    __pyx_t_1 = 0;
++    __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->is_slice(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 418, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __pyx_v_obj = __pyx_t_2;
++    __pyx_t_2 = 0;
+ 
+-    /* "View.MemoryView":413
++    /* "View.MemoryView":419
+  *         if have_slices:
+  *             obj = self.is_slice(value)
+  *             if obj:             # <<<<<<<<<<<<<<
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  */
+-    __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 413, __pyx_L1_error)
+-    if (__pyx_t_4) {
++    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 419, __pyx_L1_error)
++    if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":414
++      /* "View.MemoryView":420
+  *             obj = self.is_slice(value)
+  *             if obj:
+  *                 self.setitem_slice_assignment(self[index], obj)             # <<<<<<<<<<<<<<
+  *             else:
+  *                 self.setitem_slice_assign_scalar(self[index], value)
+  */
+-      __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 414, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assignment(__pyx_v_self, __pyx_t_1, __pyx_v_obj); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 414, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __pyx_t_2 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 420, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_2);
++      __pyx_t_4 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assignment(__pyx_v_self, __pyx_t_2, __pyx_v_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 420, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ 
+-      /* "View.MemoryView":413
++      /* "View.MemoryView":419
+  *         if have_slices:
+  *             obj = self.is_slice(value)
+  *             if obj:             # <<<<<<<<<<<<<<
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  */
+-      goto __pyx_L4;
++      goto __pyx_L5;
+     }
+ 
+-    /* "View.MemoryView":416
++    /* "View.MemoryView":422
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  *                 self.setitem_slice_assign_scalar(self[index], value)             # <<<<<<<<<<<<<<
+@@ -14562,27 +15892,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+  *             self.setitem_indexed(index, value)
+  */
+     /*else*/ {
+-      __pyx_t_3 = PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_3);
+-      if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assign_scalar(__pyx_v_self, ((struct __pyx_memoryview_obj *)__pyx_t_3), __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++      __pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 422, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_memoryview_type))))) __PYX_ERR(2, 422, __pyx_L1_error)
++      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assign_scalar(__pyx_v_self, ((struct __pyx_memoryview_obj *)__pyx_t_4), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 422, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_2);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     }
+-    __pyx_L4:;
++    __pyx_L5:;
+ 
+-    /* "View.MemoryView":411
++    /* "View.MemoryView":417
+  *         have_slices, index = _unellipsify(index, self.view.ndim)
+  * 
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             obj = self.is_slice(value)
+  *             if obj:
+  */
+-    goto __pyx_L3;
++    goto __pyx_L4;
+   }
+ 
+-  /* "View.MemoryView":418
++  /* "View.MemoryView":424
+  *                 self.setitem_slice_assign_scalar(self[index], value)
+  *         else:
+  *             self.setitem_indexed(index, value)             # <<<<<<<<<<<<<<
+@@ -14590,27 +15920,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+  *     cdef is_slice(self, obj):
+  */
+   /*else*/ {
+-    __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_indexed(__pyx_v_self, __pyx_v_index, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 418, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_indexed(__pyx_v_self, __pyx_v_index, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 424, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   }
+-  __pyx_L3:;
++  __pyx_L4:;
+ 
+-  /* "View.MemoryView":408
++  /* "View.MemoryView":411
+  *             return self.convert_item_to_object(itemp)
+  * 
+  *     def __setitem__(memoryview self, object index, object value):             # <<<<<<<<<<<<<<
+- *         have_slices, index = _unellipsify(index, self.view.ndim)
+- * 
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")
+  */
+ 
+   /* function exit code */
+   __pyx_r = 0;
+   goto __pyx_L0;
+   __pyx_L1_error:;
+-  __Pyx_XDECREF(__pyx_t_1);
+   __Pyx_XDECREF(__pyx_t_2);
+   __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_XDECREF(__pyx_t_4);
+   __Pyx_AddTraceback("View.MemoryView.memoryview.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+   __pyx_L0:;
+@@ -14621,7 +15951,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":420
++/* "View.MemoryView":426
+  *             self.setitem_indexed(index, value)
+  * 
+  *     cdef is_slice(self, obj):             # <<<<<<<<<<<<<<
+@@ -14644,7 +15974,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __Pyx_RefNannySetupContext("is_slice", 0);
+   __Pyx_INCREF(__pyx_v_obj);
+ 
+-  /* "View.MemoryView":421
++  /* "View.MemoryView":427
+  * 
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):             # <<<<<<<<<<<<<<
+@@ -14655,7 +15985,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":422
++    /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+@@ -14671,34 +16001,34 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __Pyx_XGOTREF(__pyx_t_5);
+       /*try:*/ {
+ 
+-        /* "View.MemoryView":423
++        /* "View.MemoryView":429
+  *         if not isinstance(obj, memoryview):
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,             # <<<<<<<<<<<<<<
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  */
+-        __pyx_t_6 = __Pyx_PyInt_From_int((__pyx_v_self->flags | PyBUF_ANY_CONTIGUOUS)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_6 = __Pyx_PyInt_From_int((__pyx_v_self->flags | PyBUF_ANY_CONTIGUOUS)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_6);
+ 
+-        /* "View.MemoryView":424
++        /* "View.MemoryView":430
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)             # <<<<<<<<<<<<<<
+  *             except TypeError:
+  *                 return None
+  */
+-        __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 424, __pyx_L4_error)
++        __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 430, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_7);
+ 
+-        /* "View.MemoryView":423
++        /* "View.MemoryView":429
+  *         if not isinstance(obj, memoryview):
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,             # <<<<<<<<<<<<<<
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  */
+-        __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_8);
+         __Pyx_INCREF(__pyx_v_obj);
+         __Pyx_GIVEREF(__pyx_v_obj);
+@@ -14709,13 +16039,13 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+         PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_7);
+         __pyx_t_6 = 0;
+         __pyx_t_7 = 0;
+-        __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+         __Pyx_DECREF_SET(__pyx_v_obj, __pyx_t_7);
+         __pyx_t_7 = 0;
+ 
+-        /* "View.MemoryView":422
++        /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+@@ -14726,14 +16056,13 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+       __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+       __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      goto __pyx_L11_try_end;
++      goto __pyx_L9_try_end;
+       __pyx_L4_error:;
+-      __Pyx_PyThreadState_assign
+       __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+       __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+       __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ 
+-      /* "View.MemoryView":425
++      /* "View.MemoryView":431
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)
+  *             except TypeError:             # <<<<<<<<<<<<<<
+@@ -14743,12 +16072,12 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError);
+       if (__pyx_t_9) {
+         __Pyx_AddTraceback("View.MemoryView.memoryview.is_slice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-        if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_6) < 0) __PYX_ERR(2, 425, __pyx_L6_except_error)
++        if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_6) < 0) __PYX_ERR(2, 431, __pyx_L6_except_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         __Pyx_GOTREF(__pyx_t_8);
+         __Pyx_GOTREF(__pyx_t_6);
+ 
+-        /* "View.MemoryView":426
++        /* "View.MemoryView":432
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  *                 return None             # <<<<<<<<<<<<<<
+@@ -14756,8 +16085,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+  *         return obj
+  */
+         __Pyx_XDECREF(__pyx_r);
+-        __Pyx_INCREF(Py_None);
+-        __pyx_r = Py_None;
++        __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+         __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+         __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+@@ -14766,30 +16094,28 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       goto __pyx_L6_except_error;
+       __pyx_L6_except_error:;
+ 
+-      /* "View.MemoryView":422
++      /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)
+  */
+-      __Pyx_PyThreadState_assign
+       __Pyx_XGIVEREF(__pyx_t_3);
+       __Pyx_XGIVEREF(__pyx_t_4);
+       __Pyx_XGIVEREF(__pyx_t_5);
+       __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+       goto __pyx_L1_error;
+       __pyx_L7_except_return:;
+-      __Pyx_PyThreadState_assign
+       __Pyx_XGIVEREF(__pyx_t_3);
+       __Pyx_XGIVEREF(__pyx_t_4);
+       __Pyx_XGIVEREF(__pyx_t_5);
+       __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+       goto __pyx_L0;
+-      __pyx_L11_try_end:;
++      __pyx_L9_try_end:;
+     }
+ 
+-    /* "View.MemoryView":421
++    /* "View.MemoryView":427
+  * 
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):             # <<<<<<<<<<<<<<
+@@ -14798,7 +16124,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+  */
+   }
+ 
+-  /* "View.MemoryView":428
++  /* "View.MemoryView":434
+  *                 return None
+  * 
+  *         return obj             # <<<<<<<<<<<<<<
+@@ -14810,7 +16136,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __pyx_r = __pyx_v_obj;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":420
++  /* "View.MemoryView":426
+  *             self.setitem_indexed(index, value)
+  * 
+  *     cdef is_slice(self, obj):             # <<<<<<<<<<<<<<
+@@ -14832,7 +16158,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":430
++/* "View.MemoryView":436
+  *         return obj
+  * 
+  *     cdef setitem_slice_assignment(self, dst, src):             # <<<<<<<<<<<<<<
+@@ -14851,50 +16177,50 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
+   int __pyx_t_4;
+   __Pyx_RefNannySetupContext("setitem_slice_assignment", 0);
+ 
+-  /* "View.MemoryView":434
++  /* "View.MemoryView":440
+  *         cdef __Pyx_memviewslice src_slice
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  */
+-  if (!(likely(((__pyx_v_src) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_src, __pyx_memoryview_type))))) __PYX_ERR(2, 434, __pyx_L1_error)
++  if (!(likely(((__pyx_v_src) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_src, __pyx_memoryview_type))))) __PYX_ERR(2, 440, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":435
++  /* "View.MemoryView":441
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  */
+-  if (!(likely(((__pyx_v_dst) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_dst, __pyx_memoryview_type))))) __PYX_ERR(2, 435, __pyx_L1_error)
++  if (!(likely(((__pyx_v_dst) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_dst, __pyx_memoryview_type))))) __PYX_ERR(2, 441, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":436
++  /* "View.MemoryView":442
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):
+  */
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_src, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_src, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dst, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dst, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":434
++  /* "View.MemoryView":440
+  *         cdef __Pyx_memviewslice src_slice
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  */
+-  __pyx_t_4 = __pyx_memoryview_copy_contents((__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_src), (&__pyx_v_src_slice))[0]), (__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_dst), (&__pyx_v_dst_slice))[0]), __pyx_t_2, __pyx_t_3, __pyx_v_self->dtype_is_object); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 434, __pyx_L1_error)
++  __pyx_t_4 = __pyx_memoryview_copy_contents((__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_src), (&__pyx_v_src_slice))[0]), (__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_dst), (&__pyx_v_dst_slice))[0]), __pyx_t_2, __pyx_t_3, __pyx_v_self->dtype_is_object); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 440, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":430
++  /* "View.MemoryView":436
+  *         return obj
+  * 
+  *     cdef setitem_slice_assignment(self, dst, src):             # <<<<<<<<<<<<<<
+@@ -14915,7 +16241,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":438
++/* "View.MemoryView":444
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):             # <<<<<<<<<<<<<<
+@@ -14944,7 +16270,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   PyObject *__pyx_t_11 = NULL;
+   __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 0);
+ 
+-  /* "View.MemoryView":440
++  /* "View.MemoryView":446
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):
+  *         cdef int array[128]
+  *         cdef void *tmp = NULL             # <<<<<<<<<<<<<<
+@@ -14953,7 +16279,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   __pyx_v_tmp = NULL;
+ 
+-  /* "View.MemoryView":445
++  /* "View.MemoryView":451
+  *         cdef __Pyx_memviewslice *dst_slice
+  *         cdef __Pyx_memviewslice tmp_slice
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)             # <<<<<<<<<<<<<<
+@@ -14962,7 +16288,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   __pyx_v_dst_slice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_dst, (&__pyx_v_tmp_slice));
+ 
+-  /* "View.MemoryView":447
++  /* "View.MemoryView":453
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)
+  * 
+  *         if self.view.itemsize > sizeof(array):             # <<<<<<<<<<<<<<
+@@ -14972,7 +16298,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   __pyx_t_1 = ((((size_t)__pyx_v_self->view.itemsize) > (sizeof(__pyx_v_array))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":448
++    /* "View.MemoryView":454
+  * 
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)             # <<<<<<<<<<<<<<
+@@ -14981,7 +16307,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     __pyx_v_tmp = PyMem_Malloc(__pyx_v_self->view.itemsize);
+ 
+-    /* "View.MemoryView":449
++    /* "View.MemoryView":455
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:             # <<<<<<<<<<<<<<
+@@ -14989,18 +16315,18 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  *             item = tmp
+  */
+     __pyx_t_1 = ((__pyx_v_tmp == NULL) != 0);
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "View.MemoryView":450
++      /* "View.MemoryView":456
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:
+  *                 raise MemoryError             # <<<<<<<<<<<<<<
+  *             item = tmp
+  *         else:
+  */
+-      PyErr_NoMemory(); __PYX_ERR(2, 450, __pyx_L1_error)
++      PyErr_NoMemory(); __PYX_ERR(2, 456, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":449
++      /* "View.MemoryView":455
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:             # <<<<<<<<<<<<<<
+@@ -15009,7 +16335,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     }
+ 
+-    /* "View.MemoryView":451
++    /* "View.MemoryView":457
+  *             if tmp == NULL:
+  *                 raise MemoryError
+  *             item = tmp             # <<<<<<<<<<<<<<
+@@ -15018,7 +16344,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     __pyx_v_item = __pyx_v_tmp;
+ 
+-    /* "View.MemoryView":447
++    /* "View.MemoryView":453
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)
+  * 
+  *         if self.view.itemsize > sizeof(array):             # <<<<<<<<<<<<<<
+@@ -15028,7 +16354,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":453
++  /* "View.MemoryView":459
+  *             item = tmp
+  *         else:
+  *             item =  array             # <<<<<<<<<<<<<<
+@@ -15040,7 +16366,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":455
++  /* "View.MemoryView":461
+  *             item =  array
+  * 
+  *         try:             # <<<<<<<<<<<<<<
+@@ -15049,7 +16375,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   /*try:*/ {
+ 
+-    /* "View.MemoryView":456
++    /* "View.MemoryView":462
+  * 
+  *         try:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -15059,7 +16385,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_t_1 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":457
++      /* "View.MemoryView":463
+  *         try:
+  *             if self.dtype_is_object:
+  *                 ( item)[0] =  value             # <<<<<<<<<<<<<<
+@@ -15068,7 +16394,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+       (((PyObject **)__pyx_v_item)[0]) = ((PyObject *)__pyx_v_value);
+ 
+-      /* "View.MemoryView":456
++      /* "View.MemoryView":462
+  * 
+  *         try:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -15078,7 +16404,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       goto __pyx_L8;
+     }
+ 
+-    /* "View.MemoryView":459
++    /* "View.MemoryView":465
+  *                 ( item)[0] =  value
+  *             else:
+  *                 self.assign_item_from_object( item, value)             # <<<<<<<<<<<<<<
+@@ -15086,13 +16412,13 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  * 
+  */
+     /*else*/ {
+-      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, ((char *)__pyx_v_item), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 459, __pyx_L6_error)
++      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, ((char *)__pyx_v_item), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 465, __pyx_L6_error)
+       __Pyx_GOTREF(__pyx_t_2);
+       __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     }
+     __pyx_L8:;
+ 
+-    /* "View.MemoryView":463
++    /* "View.MemoryView":469
+  * 
+  * 
+  *             if self.view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -15102,18 +16428,18 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_t_1 = ((__pyx_v_self->view.suboffsets != NULL) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":464
++      /* "View.MemoryView":470
+  * 
+  *             if self.view.suboffsets != NULL:
+  *                 assert_direct_dimensions(self.view.suboffsets, self.view.ndim)             # <<<<<<<<<<<<<<
+  *             slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize,
+  *                                 item, self.dtype_is_object)
+  */
+-      __pyx_t_2 = assert_direct_dimensions(__pyx_v_self->view.suboffsets, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 464, __pyx_L6_error)
++      __pyx_t_2 = assert_direct_dimensions(__pyx_v_self->view.suboffsets, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 470, __pyx_L6_error)
+       __Pyx_GOTREF(__pyx_t_2);
+       __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-      /* "View.MemoryView":463
++      /* "View.MemoryView":469
+  * 
+  * 
+  *             if self.view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -15122,7 +16448,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     }
+ 
+-    /* "View.MemoryView":465
++    /* "View.MemoryView":471
+  *             if self.view.suboffsets != NULL:
+  *                 assert_direct_dimensions(self.view.suboffsets, self.view.ndim)
+  *             slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize,             # <<<<<<<<<<<<<<
+@@ -15132,7 +16458,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_memoryview_slice_assign_scalar(__pyx_v_dst_slice, __pyx_v_dst->view.ndim, __pyx_v_self->view.itemsize, __pyx_v_item, __pyx_v_self->dtype_is_object);
+   }
+ 
+-  /* "View.MemoryView":468
++  /* "View.MemoryView":474
+  *                                 item, self.dtype_is_object)
+  *         finally:
+  *             PyMem_Free(tmp)             # <<<<<<<<<<<<<<
+@@ -15144,11 +16470,11 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       PyMem_Free(__pyx_v_tmp);
+       goto __pyx_L7;
+     }
++    __pyx_L6_error:;
+     /*exception exit:*/{
+       __Pyx_PyThreadState_declare
+-      __pyx_L6_error:;
+-      __pyx_t_6 = 0; __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0;
+       __Pyx_PyThreadState_assign
++      __pyx_t_6 = 0; __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0;
+       __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+       if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_9, &__pyx_t_10, &__pyx_t_11);
+       if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8) < 0)) __Pyx_ErrFetch(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+@@ -15162,7 +16488,6 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       {
+         PyMem_Free(__pyx_v_tmp);
+       }
+-      __Pyx_PyThreadState_assign
+       if (PY_MAJOR_VERSION >= 3) {
+         __Pyx_XGIVEREF(__pyx_t_9);
+         __Pyx_XGIVEREF(__pyx_t_10);
+@@ -15180,7 +16505,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_L7:;
+   }
+ 
+-  /* "View.MemoryView":438
++  /* "View.MemoryView":444
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):             # <<<<<<<<<<<<<<
+@@ -15201,7 +16526,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":470
++/* "View.MemoryView":476
+  *             PyMem_Free(tmp)
+  * 
+  *     cdef setitem_indexed(self, index, value):             # <<<<<<<<<<<<<<
+@@ -15217,28 +16542,28 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("setitem_indexed", 0);
+ 
+-  /* "View.MemoryView":471
++  /* "View.MemoryView":477
+  * 
+  *     cdef setitem_indexed(self, index, value):
+  *         cdef char *itemp = self.get_item_pointer(index)             # <<<<<<<<<<<<<<
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  */
+-  __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_index); if (unlikely(__pyx_t_1 == NULL)) __PYX_ERR(2, 471, __pyx_L1_error)
++  __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_index); if (unlikely(__pyx_t_1 == ((char *)NULL))) __PYX_ERR(2, 477, __pyx_L1_error)
+   __pyx_v_itemp = __pyx_t_1;
+ 
+-  /* "View.MemoryView":472
++  /* "View.MemoryView":478
+  *     cdef setitem_indexed(self, index, value):
+  *         cdef char *itemp = self.get_item_pointer(index)
+  *         self.assign_item_from_object(itemp, value)             # <<<<<<<<<<<<<<
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  */
+-  __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 472, __pyx_L1_error)
++  __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 478, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":470
++  /* "View.MemoryView":476
+  *             PyMem_Free(tmp)
+  * 
+  *     cdef setitem_indexed(self, index, value):             # <<<<<<<<<<<<<<
+@@ -15259,7 +16584,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":474
++/* "View.MemoryView":480
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -15280,38 +16605,37 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+   PyObject *__pyx_t_7 = NULL;
+-  Py_ssize_t __pyx_t_8;
++  int __pyx_t_8;
+   PyObject *__pyx_t_9 = NULL;
+   size_t __pyx_t_10;
+   int __pyx_t_11;
+-  int __pyx_t_12;
+   __Pyx_RefNannySetupContext("convert_item_to_object", 0);
+ 
+-  /* "View.MemoryView":477
++  /* "View.MemoryView":483
+  *         """Only used if instantiated manually by the user, or if Cython doesn't
+  *         know how to convert the type"""
+  *         import struct             # <<<<<<<<<<<<<<
+  *         cdef bytes bytesitem
+  * 
+  */
+-  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 477, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 483, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_struct = __pyx_t_1;
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":480
++  /* "View.MemoryView":486
+  *         cdef bytes bytesitem
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]             # <<<<<<<<<<<<<<
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)
+  */
+-  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_itemp + 0, __pyx_v_self->view.itemsize - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 480, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_itemp + 0, __pyx_v_self->view.itemsize - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 486, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_bytesitem = ((PyObject*)__pyx_t_1);
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":481
++  /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+@@ -15327,20 +16651,20 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+     __Pyx_XGOTREF(__pyx_t_4);
+     /*try:*/ {
+ 
+-      /* "View.MemoryView":482
++      /* "View.MemoryView":488
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)             # <<<<<<<<<<<<<<
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")
+  */
+-      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_unpack); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 482, __pyx_L3_error)
++      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_unpack); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 488, __pyx_L3_error)
+       __Pyx_GOTREF(__pyx_t_5);
+-      __pyx_t_6 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 482, __pyx_L3_error)
++      __pyx_t_6 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 488, __pyx_L3_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __pyx_t_7 = NULL;
+       __pyx_t_8 = 0;
+-      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
++      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_5))) {
+         __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_5);
+         if (likely(__pyx_t_7)) {
+           PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
+@@ -15350,25 +16674,45 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+           __pyx_t_8 = 1;
+         }
+       }
+-      __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 482, __pyx_L3_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      if (__pyx_t_7) {
+-        __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_7); __pyx_t_7 = NULL;
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_5)) {
++        PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_bytesitem};
++        __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
++        PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_bytesitem};
++        __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_GOTREF(__pyx_t_9);
++        if (__pyx_t_7) {
++          __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_7); __pyx_t_7 = NULL;
++        }
++        __Pyx_GIVEREF(__pyx_t_6);
++        PyTuple_SET_ITEM(__pyx_t_9, 0+__pyx_t_8, __pyx_t_6);
++        __Pyx_INCREF(__pyx_v_bytesitem);
++        __Pyx_GIVEREF(__pyx_v_bytesitem);
++        PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_v_bytesitem);
++        __pyx_t_6 = 0;
++        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       }
+-      __Pyx_GIVEREF(__pyx_t_6);
+-      PyTuple_SET_ITEM(__pyx_t_9, 0+__pyx_t_8, __pyx_t_6);
+-      __Pyx_INCREF(__pyx_v_bytesitem);
+-      __Pyx_GIVEREF(__pyx_v_bytesitem);
+-      PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_v_bytesitem);
+-      __pyx_t_6 = 0;
+-      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 482, __pyx_L3_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+       __pyx_v_result = __pyx_t_1;
+       __pyx_t_1 = 0;
+ 
+-      /* "View.MemoryView":481
++      /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+@@ -15377,7 +16721,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  */
+     }
+ 
+-    /* "View.MemoryView":486
++    /* "View.MemoryView":492
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  *             if len(self.view.format) == 1:             # <<<<<<<<<<<<<<
+@@ -15389,7 +16733,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+       __pyx_t_11 = ((__pyx_t_10 == 1) != 0);
+       if (__pyx_t_11) {
+ 
+-        /* "View.MemoryView":487
++        /* "View.MemoryView":493
+  *         else:
+  *             if len(self.view.format) == 1:
+  *                 return result[0]             # <<<<<<<<<<<<<<
+@@ -15397,13 +16741,13 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  * 
+  */
+         __Pyx_XDECREF(__pyx_r);
+-        __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_result, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 487, __pyx_L5_except_error)
++        __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_result, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 493, __pyx_L5_except_error)
+         __Pyx_GOTREF(__pyx_t_1);
+         __pyx_r = __pyx_t_1;
+         __pyx_t_1 = 0;
+         goto __pyx_L6_except_return;
+ 
+-        /* "View.MemoryView":486
++        /* "View.MemoryView":492
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  *             if len(self.view.format) == 1:             # <<<<<<<<<<<<<<
+@@ -15412,7 +16756,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  */
+       }
+ 
+-      /* "View.MemoryView":488
++      /* "View.MemoryView":494
+  *             if len(self.view.format) == 1:
+  *                 return result[0]
+  *             return result             # <<<<<<<<<<<<<<
+@@ -15425,62 +16769,62 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+       goto __pyx_L6_except_return;
+     }
+     __pyx_L3_error:;
+-    __Pyx_PyThreadState_assign
+     __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+     __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
+     __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-    /* "View.MemoryView":483
++    /* "View.MemoryView":489
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:             # <<<<<<<<<<<<<<
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  */
+-    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_error); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 483, __pyx_L5_except_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_12 = __Pyx_PyErr_ExceptionMatches(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    if (__pyx_t_12) {
++    __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_5, &__pyx_t_9);
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_error); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 489, __pyx_L5_except_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_8 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_6);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    __Pyx_ErrRestore(__pyx_t_1, __pyx_t_5, __pyx_t_9);
++    __pyx_t_1 = 0; __pyx_t_5 = 0; __pyx_t_9 = 0;
++    if (__pyx_t_8) {
+       __Pyx_AddTraceback("View.MemoryView.memoryview.convert_item_to_object", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_5, &__pyx_t_9) < 0) __PYX_ERR(2, 483, __pyx_L5_except_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_GOTREF(__pyx_t_5);
++      if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(2, 489, __pyx_L5_except_error)
+       __Pyx_GOTREF(__pyx_t_9);
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_1);
+ 
+-      /* "View.MemoryView":484
++      /* "View.MemoryView":490
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")             # <<<<<<<<<<<<<<
+  *         else:
+  *             if len(self.view.format) == 1:
+  */
+-      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__45, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 484, __pyx_L5_except_error)
++      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__51, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 490, __pyx_L5_except_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_Raise(__pyx_t_6, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-      __PYX_ERR(2, 484, __pyx_L5_except_error)
++      __PYX_ERR(2, 490, __pyx_L5_except_error)
+     }
+     goto __pyx_L5_except_error;
+     __pyx_L5_except_error:;
+ 
+-    /* "View.MemoryView":481
++    /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  */
+-    __Pyx_PyThreadState_assign
+     __Pyx_XGIVEREF(__pyx_t_2);
+     __Pyx_XGIVEREF(__pyx_t_3);
+     __Pyx_XGIVEREF(__pyx_t_4);
+     __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
+     goto __pyx_L1_error;
+     __pyx_L6_except_return:;
+-    __Pyx_PyThreadState_assign
+     __Pyx_XGIVEREF(__pyx_t_2);
+     __Pyx_XGIVEREF(__pyx_t_3);
+     __Pyx_XGIVEREF(__pyx_t_4);
+@@ -15488,7 +16832,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":474
++  /* "View.MemoryView":480
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -15514,7 +16858,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":490
++/* "View.MemoryView":496
+  *             return result
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -15535,28 +16879,29 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   PyObject *__pyx_t_4 = NULL;
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+-  Py_ssize_t __pyx_t_7;
++  int __pyx_t_7;
+   PyObject *__pyx_t_8 = NULL;
+-  PyObject *__pyx_t_9 = NULL;
+-  char *__pyx_t_10;
++  Py_ssize_t __pyx_t_9;
++  PyObject *__pyx_t_10 = NULL;
+   char *__pyx_t_11;
+   char *__pyx_t_12;
+   char *__pyx_t_13;
++  char *__pyx_t_14;
+   __Pyx_RefNannySetupContext("assign_item_from_object", 0);
+ 
+-  /* "View.MemoryView":493
++  /* "View.MemoryView":499
+  *         """Only used if instantiated manually by the user, or if Cython doesn't
+  *         know how to convert the type"""
+  *         import struct             # <<<<<<<<<<<<<<
+  *         cdef char c
+  *         cdef bytes bytesvalue
+  */
+-  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 493, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 499, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_struct = __pyx_t_1;
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":498
++  /* "View.MemoryView":504
+  *         cdef Py_ssize_t i
+  * 
+  *         if isinstance(value, tuple):             # <<<<<<<<<<<<<<
+@@ -15567,37 +16912,37 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   __pyx_t_3 = (__pyx_t_2 != 0);
+   if (__pyx_t_3) {
+ 
+-    /* "View.MemoryView":499
++    /* "View.MemoryView":505
+  * 
+  *         if isinstance(value, tuple):
+  *             bytesvalue = struct.pack(self.view.format, *value)             # <<<<<<<<<<<<<<
+  *         else:
+  *             bytesvalue = struct.pack(self.view.format, value)
+  */
+-    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_4 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_GIVEREF(__pyx_t_4);
+     PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
+     __pyx_t_4 = 0;
+-    __pyx_t_4 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_6 = PyNumber_Add(__pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_6 = PyNumber_Add(__pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 499, __pyx_L1_error)
++    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 505, __pyx_L1_error)
+     __pyx_v_bytesvalue = ((PyObject*)__pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "View.MemoryView":498
++    /* "View.MemoryView":504
+  *         cdef Py_ssize_t i
+  * 
+  *         if isinstance(value, tuple):             # <<<<<<<<<<<<<<
+@@ -15607,7 +16952,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":501
++  /* "View.MemoryView":507
+  *             bytesvalue = struct.pack(self.view.format, *value)
+  *         else:
+  *             bytesvalue = struct.pack(self.view.format, value)             # <<<<<<<<<<<<<<
+@@ -15615,13 +16960,13 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+  *         for i, c in enumerate(bytesvalue):
+  */
+   /*else*/ {
+-    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 501, __pyx_L1_error)
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 507, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+-    __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 501, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 507, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+     __pyx_t_5 = NULL;
+     __pyx_t_7 = 0;
+-    if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
++    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
+       __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6);
+       if (likely(__pyx_t_5)) {
+         PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
+@@ -15631,66 +16976,86 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+         __pyx_t_7 = 1;
+       }
+     }
+-    __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 501, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    if (__pyx_t_5) {
+-      __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_5); __pyx_t_5 = NULL;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_6)) {
++      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_t_1, __pyx_v_value};
++      __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
++      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_t_1, __pyx_v_value};
++      __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    } else
++    #endif
++    {
++      __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      if (__pyx_t_5) {
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_5); __pyx_t_5 = NULL;
++      }
++      __Pyx_GIVEREF(__pyx_t_1);
++      PyTuple_SET_ITEM(__pyx_t_8, 0+__pyx_t_7, __pyx_t_1);
++      __Pyx_INCREF(__pyx_v_value);
++      __Pyx_GIVEREF(__pyx_v_value);
++      PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_v_value);
++      __pyx_t_1 = 0;
++      __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+     }
+-    __Pyx_GIVEREF(__pyx_t_1);
+-    PyTuple_SET_ITEM(__pyx_t_8, 0+__pyx_t_7, __pyx_t_1);
+-    __Pyx_INCREF(__pyx_v_value);
+-    __Pyx_GIVEREF(__pyx_v_value);
+-    PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_v_value);
+-    __pyx_t_1 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 501, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 501, __pyx_L1_error)
++    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 507, __pyx_L1_error)
+     __pyx_v_bytesvalue = ((PyObject*)__pyx_t_4);
+     __pyx_t_4 = 0;
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":503
++  /* "View.MemoryView":509
+  *             bytesvalue = struct.pack(self.view.format, value)
+  * 
+  *         for i, c in enumerate(bytesvalue):             # <<<<<<<<<<<<<<
+  *             itemp[i] = c
+  * 
+  */
+-  __pyx_t_7 = 0;
++  __pyx_t_9 = 0;
+   if (unlikely(__pyx_v_bytesvalue == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' is not iterable");
+-    __PYX_ERR(2, 503, __pyx_L1_error)
++    __PYX_ERR(2, 509, __pyx_L1_error)
+   }
+   __Pyx_INCREF(__pyx_v_bytesvalue);
+-  __pyx_t_9 = __pyx_v_bytesvalue;
+-  __pyx_t_11 = PyBytes_AS_STRING(__pyx_t_9);
+-  __pyx_t_12 = (__pyx_t_11 + PyBytes_GET_SIZE(__pyx_t_9));
+-  for (__pyx_t_13 = __pyx_t_11; __pyx_t_13 < __pyx_t_12; __pyx_t_13++) {
+-    __pyx_t_10 = __pyx_t_13;
+-    __pyx_v_c = (__pyx_t_10[0]);
++  __pyx_t_10 = __pyx_v_bytesvalue;
++  __pyx_t_12 = PyBytes_AS_STRING(__pyx_t_10);
++  __pyx_t_13 = (__pyx_t_12 + PyBytes_GET_SIZE(__pyx_t_10));
++  for (__pyx_t_14 = __pyx_t_12; __pyx_t_14 < __pyx_t_13; __pyx_t_14++) {
++    __pyx_t_11 = __pyx_t_14;
++    __pyx_v_c = (__pyx_t_11[0]);
+ 
+-    /* "View.MemoryView":504
++    /* "View.MemoryView":510
+  * 
+  *         for i, c in enumerate(bytesvalue):
+  *             itemp[i] = c             # <<<<<<<<<<<<<<
+  * 
+  *     @cname('getbuffer')
+  */
+-    __pyx_v_i = __pyx_t_7;
++    __pyx_v_i = __pyx_t_9;
+ 
+-    /* "View.MemoryView":503
++    /* "View.MemoryView":509
+  *             bytesvalue = struct.pack(self.view.format, value)
+  * 
+  *         for i, c in enumerate(bytesvalue):             # <<<<<<<<<<<<<<
+  *             itemp[i] = c
+  * 
+  */
+-    __pyx_t_7 = (__pyx_t_7 + 1);
++    __pyx_t_9 = (__pyx_t_9 + 1);
+ 
+-    /* "View.MemoryView":504
++    /* "View.MemoryView":510
+  * 
+  *         for i, c in enumerate(bytesvalue):
+  *             itemp[i] = c             # <<<<<<<<<<<<<<
+@@ -15699,9 +17064,9 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+  */
+     (__pyx_v_itemp[__pyx_v_i]) = __pyx_v_c;
+   }
+-  __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
++  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ 
+-  /* "View.MemoryView":490
++  /* "View.MemoryView":496
+  *             return result
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -15718,7 +17083,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   __Pyx_XDECREF(__pyx_t_5);
+   __Pyx_XDECREF(__pyx_t_6);
+   __Pyx_XDECREF(__pyx_t_8);
+-  __Pyx_XDECREF(__pyx_t_9);
++  __Pyx_XDECREF(__pyx_t_10);
+   __Pyx_AddTraceback("View.MemoryView.memoryview.assign_item_from_object", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = 0;
+   __pyx_L0:;
+@@ -15729,12 +17094,12 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":507
++/* "View.MemoryView":513
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+- *         if flags & PyBUF_STRIDES:
+- *             info.shape = self.view.shape
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
+  */
+ 
+ /* Python wrapper */
+@@ -15754,20 +17119,64 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   int __pyx_t_1;
+-  Py_ssize_t *__pyx_t_2;
+-  char *__pyx_t_3;
+-  void *__pyx_t_4;
+-  int __pyx_t_5;
+-  Py_ssize_t __pyx_t_6;
++  int __pyx_t_2;
++  PyObject *__pyx_t_3 = NULL;
++  Py_ssize_t *__pyx_t_4;
++  char *__pyx_t_5;
++  void *__pyx_t_6;
++  int __pyx_t_7;
++  Py_ssize_t __pyx_t_8;
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
++  }
+   __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
++
++  /* "View.MemoryView":514
++ *     @cname('getbuffer')
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
++ */
++  __pyx_t_2 = ((__pyx_v_flags & PyBUF_WRITABLE) != 0);
++  if (__pyx_t_2) {
++  } else {
++    __pyx_t_1 = __pyx_t_2;
++    goto __pyx_L4_bool_binop_done;
+   }
++  __pyx_t_2 = (__pyx_v_self->view.readonly != 0);
++  __pyx_t_1 = __pyx_t_2;
++  __pyx_L4_bool_binop_done:;
++  if (unlikely(__pyx_t_1)) {
++
++    /* "View.MemoryView":515
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         if flags & PyBUF_STRIDES:
++ */
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__52, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 515, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __PYX_ERR(2, 515, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":508
++    /* "View.MemoryView":514
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
++ */
++  }
++
++  /* "View.MemoryView":517
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.shape = self.view.shape
+  *         else:
+@@ -15775,27 +17184,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":509
+- *     def __getbuffer__(self, Py_buffer *info, int flags):
++    /* "View.MemoryView":518
++ * 
+  *         if flags & PyBUF_STRIDES:
+  *             info.shape = self.view.shape             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.shape = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.shape;
+-    __pyx_v_info->shape = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.shape;
++    __pyx_v_info->shape = __pyx_t_4;
+ 
+-    /* "View.MemoryView":508
+- *     @cname('getbuffer')
+- *     def __getbuffer__(self, Py_buffer *info, int flags):
++    /* "View.MemoryView":517
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.shape = self.view.shape
+  *         else:
+  */
+-    goto __pyx_L3;
++    goto __pyx_L6;
+   }
+ 
+-  /* "View.MemoryView":511
++  /* "View.MemoryView":520
+  *             info.shape = self.view.shape
+  *         else:
+  *             info.shape = NULL             # <<<<<<<<<<<<<<
+@@ -15805,9 +17214,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->shape = NULL;
+   }
+-  __pyx_L3:;
++  __pyx_L6:;
+ 
+-  /* "View.MemoryView":513
++  /* "View.MemoryView":522
+  *             info.shape = NULL
+  * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+@@ -15817,27 +17226,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":514
++    /* "View.MemoryView":523
+  * 
+  *         if flags & PyBUF_STRIDES:
+  *             info.strides = self.view.strides             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.strides = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.strides;
+-    __pyx_v_info->strides = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.strides;
++    __pyx_v_info->strides = __pyx_t_4;
+ 
+-    /* "View.MemoryView":513
++    /* "View.MemoryView":522
+  *             info.shape = NULL
+  * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.strides = self.view.strides
+  *         else:
+  */
+-    goto __pyx_L4;
++    goto __pyx_L7;
+   }
+ 
+-  /* "View.MemoryView":516
++  /* "View.MemoryView":525
+  *             info.strides = self.view.strides
+  *         else:
+  *             info.strides = NULL             # <<<<<<<<<<<<<<
+@@ -15847,9 +17256,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->strides = NULL;
+   }
+-  __pyx_L4:;
++  __pyx_L7:;
+ 
+-  /* "View.MemoryView":518
++  /* "View.MemoryView":527
+  *             info.strides = NULL
+  * 
+  *         if flags & PyBUF_INDIRECT:             # <<<<<<<<<<<<<<
+@@ -15859,27 +17268,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_INDIRECT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":519
++    /* "View.MemoryView":528
+  * 
+  *         if flags & PyBUF_INDIRECT:
+  *             info.suboffsets = self.view.suboffsets             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.suboffsets = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.suboffsets;
+-    __pyx_v_info->suboffsets = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.suboffsets;
++    __pyx_v_info->suboffsets = __pyx_t_4;
+ 
+-    /* "View.MemoryView":518
++    /* "View.MemoryView":527
+  *             info.strides = NULL
+  * 
+  *         if flags & PyBUF_INDIRECT:             # <<<<<<<<<<<<<<
+  *             info.suboffsets = self.view.suboffsets
+  *         else:
+  */
+-    goto __pyx_L5;
++    goto __pyx_L8;
+   }
+ 
+-  /* "View.MemoryView":521
++  /* "View.MemoryView":530
+  *             info.suboffsets = self.view.suboffsets
+  *         else:
+  *             info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -15889,9 +17298,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->suboffsets = NULL;
+   }
+-  __pyx_L5:;
++  __pyx_L8:;
+ 
+-  /* "View.MemoryView":523
++  /* "View.MemoryView":532
+  *             info.suboffsets = NULL
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -15901,27 +17310,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":524
++    /* "View.MemoryView":533
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             info.format = self.view.format             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.format = NULL
+  */
+-    __pyx_t_3 = __pyx_v_self->view.format;
+-    __pyx_v_info->format = __pyx_t_3;
++    __pyx_t_5 = __pyx_v_self->view.format;
++    __pyx_v_info->format = __pyx_t_5;
+ 
+-    /* "View.MemoryView":523
++    /* "View.MemoryView":532
+  *             info.suboffsets = NULL
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+  *             info.format = self.view.format
+  *         else:
+  */
+-    goto __pyx_L6;
++    goto __pyx_L9;
+   }
+ 
+-  /* "View.MemoryView":526
++  /* "View.MemoryView":535
+  *             info.format = self.view.format
+  *         else:
+  *             info.format = NULL             # <<<<<<<<<<<<<<
+@@ -15931,60 +17340,61 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->format = NULL;
+   }
+-  __pyx_L6:;
++  __pyx_L9:;
+ 
+-  /* "View.MemoryView":528
++  /* "View.MemoryView":537
+  *             info.format = NULL
+  * 
+  *         info.buf = self.view.buf             # <<<<<<<<<<<<<<
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize
+  */
+-  __pyx_t_4 = __pyx_v_self->view.buf;
+-  __pyx_v_info->buf = __pyx_t_4;
++  __pyx_t_6 = __pyx_v_self->view.buf;
++  __pyx_v_info->buf = __pyx_t_6;
+ 
+-  /* "View.MemoryView":529
++  /* "View.MemoryView":538
+  * 
+  *         info.buf = self.view.buf
+  *         info.ndim = self.view.ndim             # <<<<<<<<<<<<<<
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len
+  */
+-  __pyx_t_5 = __pyx_v_self->view.ndim;
+-  __pyx_v_info->ndim = __pyx_t_5;
++  __pyx_t_7 = __pyx_v_self->view.ndim;
++  __pyx_v_info->ndim = __pyx_t_7;
+ 
+-  /* "View.MemoryView":530
++  /* "View.MemoryView":539
+  *         info.buf = self.view.buf
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize             # <<<<<<<<<<<<<<
+  *         info.len = self.view.len
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  */
+-  __pyx_t_6 = __pyx_v_self->view.itemsize;
+-  __pyx_v_info->itemsize = __pyx_t_6;
++  __pyx_t_8 = __pyx_v_self->view.itemsize;
++  __pyx_v_info->itemsize = __pyx_t_8;
+ 
+-  /* "View.MemoryView":531
++  /* "View.MemoryView":540
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len             # <<<<<<<<<<<<<<
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  *         info.obj = self
+  */
+-  __pyx_t_6 = __pyx_v_self->view.len;
+-  __pyx_v_info->len = __pyx_t_6;
++  __pyx_t_8 = __pyx_v_self->view.len;
++  __pyx_v_info->len = __pyx_t_8;
+ 
+-  /* "View.MemoryView":532
++  /* "View.MemoryView":541
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len
+- *         info.readonly = 0             # <<<<<<<<<<<<<<
++ *         info.readonly = self.view.readonly             # <<<<<<<<<<<<<<
+  *         info.obj = self
+  * 
+  */
+-  __pyx_v_info->readonly = 0;
++  __pyx_t_1 = __pyx_v_self->view.readonly;
++  __pyx_v_info->readonly = __pyx_t_1;
+ 
+-  /* "View.MemoryView":533
++  /* "View.MemoryView":542
+  *         info.len = self.view.len
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  *         info.obj = self             # <<<<<<<<<<<<<<
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")
+@@ -15995,25 +17405,37 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __Pyx_DECREF(__pyx_v_info->obj);
+   __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "View.MemoryView":507
++  /* "View.MemoryView":513
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+- *         if flags & PyBUF_STRIDES:
+- *             info.shape = self.view.shape
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
+  */
+ 
+   /* function exit code */
+   __pyx_r = 0;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  if (__pyx_v_info->obj != NULL) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
++  }
++  goto __pyx_L2;
++  __pyx_L0:;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
++  __pyx_L2:;
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":539
++/* "View.MemoryView":548
+  * 
+  *     @property
+  *     def T(self):             # <<<<<<<<<<<<<<
+@@ -16042,29 +17464,29 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   int __pyx_t_2;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":540
++  /* "View.MemoryView":549
+  *     @property
+  *     def T(self):
+  *         cdef _memoryviewslice result = memoryview_copy(self)             # <<<<<<<<<<<<<<
+  *         transpose_memslice(&result.from_slice)
+  *         return result
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_object(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 540, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_object(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 549, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_memoryviewslice_type))))) __PYX_ERR(2, 540, __pyx_L1_error)
++  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_memoryviewslice_type))))) __PYX_ERR(2, 549, __pyx_L1_error)
+   __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_1);
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":541
++  /* "View.MemoryView":550
+  *     def T(self):
+  *         cdef _memoryviewslice result = memoryview_copy(self)
+  *         transpose_memslice(&result.from_slice)             # <<<<<<<<<<<<<<
+  *         return result
+  * 
+  */
+-  __pyx_t_2 = __pyx_memslice_transpose((&__pyx_v_result->from_slice)); if (unlikely(__pyx_t_2 == 0)) __PYX_ERR(2, 541, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memslice_transpose((&__pyx_v_result->from_slice)); if (unlikely(__pyx_t_2 == ((int)0))) __PYX_ERR(2, 550, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":542
++  /* "View.MemoryView":551
+  *         cdef _memoryviewslice result = memoryview_copy(self)
+  *         transpose_memslice(&result.from_slice)
+  *         return result             # <<<<<<<<<<<<<<
+@@ -16076,7 +17498,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":539
++  /* "View.MemoryView":548
+  * 
+  *     @property
+  *     def T(self):             # <<<<<<<<<<<<<<
+@@ -16096,7 +17518,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":545
++/* "View.MemoryView":554
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -16122,7 +17544,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":546
++  /* "View.MemoryView":555
+  *     @property
+  *     def base(self):
+  *         return self.obj             # <<<<<<<<<<<<<<
+@@ -16134,7 +17556,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   __pyx_r = __pyx_v_self->obj;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":545
++  /* "View.MemoryView":554
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -16149,7 +17571,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":549
++/* "View.MemoryView":558
+  * 
+  *     @property
+  *     def shape(self):             # <<<<<<<<<<<<<<
+@@ -16181,7 +17603,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":550
++  /* "View.MemoryView":559
+  *     @property
+  *     def shape(self):
+  *         return tuple([length for length in self.view.shape[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -16189,25 +17611,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 550, __pyx_L1_error)
++  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 559, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_t_3 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim);
+   for (__pyx_t_4 = __pyx_v_self->view.shape; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) {
+     __pyx_t_2 = __pyx_t_4;
+     __pyx_v_length = (__pyx_t_2[0]);
+-    __pyx_t_5 = PyInt_FromSsize_t(__pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 550, __pyx_L1_error)
++    __pyx_t_5 = PyInt_FromSsize_t(__pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 559, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(2, 550, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(2, 559, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+   }
+-  __pyx_t_5 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 550, __pyx_L1_error)
++  __pyx_t_5 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 559, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_r = __pyx_t_5;
+   __pyx_t_5 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":549
++  /* "View.MemoryView":558
+  * 
+  *     @property
+  *     def shape(self):             # <<<<<<<<<<<<<<
+@@ -16227,7 +17649,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":553
++/* "View.MemoryView":562
+  * 
+  *     @property
+  *     def strides(self):             # <<<<<<<<<<<<<<
+@@ -16260,7 +17682,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+   PyObject *__pyx_t_6 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":554
++  /* "View.MemoryView":563
+  *     @property
+  *     def strides(self):
+  *         if self.view.strides == NULL:             # <<<<<<<<<<<<<<
+@@ -16268,22 +17690,22 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  *             raise ValueError("Buffer view does not expose strides")
+  */
+   __pyx_t_1 = ((__pyx_v_self->view.strides == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":556
++    /* "View.MemoryView":565
+  *         if self.view.strides == NULL:
+  * 
+  *             raise ValueError("Buffer view does not expose strides")             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])
+  */
+-    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__46, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 556, __pyx_L1_error)
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__53, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __PYX_ERR(2, 556, __pyx_L1_error)
++    __PYX_ERR(2, 565, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":554
++    /* "View.MemoryView":563
+  *     @property
+  *     def strides(self):
+  *         if self.view.strides == NULL:             # <<<<<<<<<<<<<<
+@@ -16292,7 +17714,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  */
+   }
+ 
+-  /* "View.MemoryView":558
++  /* "View.MemoryView":567
+  *             raise ValueError("Buffer view does not expose strides")
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -16300,25 +17722,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 558, __pyx_L1_error)
++  __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 567, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_4 = (__pyx_v_self->view.strides + __pyx_v_self->view.ndim);
+   for (__pyx_t_5 = __pyx_v_self->view.strides; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) {
+     __pyx_t_3 = __pyx_t_5;
+     __pyx_v_stride = (__pyx_t_3[0]);
+-    __pyx_t_6 = PyInt_FromSsize_t(__pyx_v_stride); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 558, __pyx_L1_error)
++    __pyx_t_6 = PyInt_FromSsize_t(__pyx_v_stride); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 567, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(2, 558, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(2, 567, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+   }
+-  __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 558, __pyx_L1_error)
++  __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 567, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_r = __pyx_t_6;
+   __pyx_t_6 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":553
++  /* "View.MemoryView":562
+  * 
+  *     @property
+  *     def strides(self):             # <<<<<<<<<<<<<<
+@@ -16338,7 +17760,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":561
++/* "View.MemoryView":570
+  * 
+  *     @property
+  *     def suboffsets(self):             # <<<<<<<<<<<<<<
+@@ -16371,7 +17793,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   Py_ssize_t *__pyx_t_6;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":562
++  /* "View.MemoryView":571
+  *     @property
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:             # <<<<<<<<<<<<<<
+@@ -16381,7 +17803,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   __pyx_t_1 = ((__pyx_v_self->view.suboffsets == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":563
++    /* "View.MemoryView":572
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:
+  *             return (-1,) * self.view.ndim             # <<<<<<<<<<<<<<
+@@ -16389,16 +17811,16 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 563, __pyx_L1_error)
++    __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 572, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PyNumber_Multiply(__pyx_tuple__47, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 563, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_Multiply(__pyx_tuple__54, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 572, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":562
++    /* "View.MemoryView":571
+  *     @property
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:             # <<<<<<<<<<<<<<
+@@ -16407,7 +17829,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  */
+   }
+ 
+-  /* "View.MemoryView":565
++  /* "View.MemoryView":574
+  *             return (-1,) * self.view.ndim
+  * 
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -16415,25 +17837,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 574, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __pyx_t_5 = (__pyx_v_self->view.suboffsets + __pyx_v_self->view.ndim);
+   for (__pyx_t_6 = __pyx_v_self->view.suboffsets; __pyx_t_6 < __pyx_t_5; __pyx_t_6++) {
+     __pyx_t_4 = __pyx_t_6;
+     __pyx_v_suboffset = (__pyx_t_4[0]);
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_suboffset); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_suboffset); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 574, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_2))) __PYX_ERR(2, 565, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_2))) __PYX_ERR(2, 574, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   }
+-  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_3)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_3)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 574, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":561
++  /* "View.MemoryView":570
+  * 
+  *     @property
+  *     def suboffsets(self):             # <<<<<<<<<<<<<<
+@@ -16453,7 +17875,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":568
++/* "View.MemoryView":577
+  * 
+  *     @property
+  *     def ndim(self):             # <<<<<<<<<<<<<<
+@@ -16480,7 +17902,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":569
++  /* "View.MemoryView":578
+  *     @property
+  *     def ndim(self):
+  *         return self.view.ndim             # <<<<<<<<<<<<<<
+@@ -16488,13 +17910,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 569, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 578, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":568
++  /* "View.MemoryView":577
+  * 
+  *     @property
+  *     def ndim(self):             # <<<<<<<<<<<<<<
+@@ -16513,7 +17935,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":572
++/* "View.MemoryView":581
+  * 
+  *     @property
+  *     def itemsize(self):             # <<<<<<<<<<<<<<
+@@ -16540,7 +17962,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":573
++  /* "View.MemoryView":582
+  *     @property
+  *     def itemsize(self):
+  *         return self.view.itemsize             # <<<<<<<<<<<<<<
+@@ -16548,13 +17970,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 573, __pyx_L1_error)
++  __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 582, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":572
++  /* "View.MemoryView":581
+  * 
+  *     @property
+  *     def itemsize(self):             # <<<<<<<<<<<<<<
+@@ -16573,7 +17995,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":576
++/* "View.MemoryView":585
+  * 
+  *     @property
+  *     def nbytes(self):             # <<<<<<<<<<<<<<
+@@ -16602,7 +18024,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":577
++  /* "View.MemoryView":586
+  *     @property
+  *     def nbytes(self):
+  *         return self.size * self.view.itemsize             # <<<<<<<<<<<<<<
+@@ -16610,11 +18032,11 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_size); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_size); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyNumber_Multiply(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_3 = PyNumber_Multiply(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+@@ -16622,7 +18044,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   __pyx_t_3 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":576
++  /* "View.MemoryView":585
+  * 
+  *     @property
+  *     def nbytes(self):             # <<<<<<<<<<<<<<
+@@ -16643,7 +18065,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":580
++/* "View.MemoryView":589
+  * 
+  *     @property
+  *     def size(self):             # <<<<<<<<<<<<<<
+@@ -16677,7 +18099,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   PyObject *__pyx_t_6 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":581
++  /* "View.MemoryView":590
+  *     @property
+  *     def size(self):
+  *         if self._size is None:             # <<<<<<<<<<<<<<
+@@ -16688,7 +18110,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":582
++    /* "View.MemoryView":591
+  *     def size(self):
+  *         if self._size is None:
+  *             result = 1             # <<<<<<<<<<<<<<
+@@ -16698,7 +18120,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __Pyx_INCREF(__pyx_int_1);
+     __pyx_v_result = __pyx_int_1;
+ 
+-    /* "View.MemoryView":584
++    /* "View.MemoryView":593
+  *             result = 1
+  * 
+  *             for length in self.view.shape[:self.view.ndim]:             # <<<<<<<<<<<<<<
+@@ -16708,25 +18130,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __pyx_t_4 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim);
+     for (__pyx_t_5 = __pyx_v_self->view.shape; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) {
+       __pyx_t_3 = __pyx_t_5;
+-      __pyx_t_6 = PyInt_FromSsize_t((__pyx_t_3[0])); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 584, __pyx_L1_error)
++      __pyx_t_6 = PyInt_FromSsize_t((__pyx_t_3[0])); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 593, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_6);
+       __pyx_t_6 = 0;
+ 
+-      /* "View.MemoryView":585
++      /* "View.MemoryView":594
+  * 
+  *             for length in self.view.shape[:self.view.ndim]:
+  *                 result *= length             # <<<<<<<<<<<<<<
+  * 
+  *             self._size = result
+  */
+-      __pyx_t_6 = PyNumber_InPlaceMultiply(__pyx_v_result, __pyx_v_length); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 585, __pyx_L1_error)
++      __pyx_t_6 = PyNumber_InPlaceMultiply(__pyx_v_result, __pyx_v_length); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 594, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_DECREF_SET(__pyx_v_result, __pyx_t_6);
+       __pyx_t_6 = 0;
+     }
+ 
+-    /* "View.MemoryView":587
++    /* "View.MemoryView":596
+  *                 result *= length
+  * 
+  *             self._size = result             # <<<<<<<<<<<<<<
+@@ -16739,7 +18161,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __Pyx_DECREF(__pyx_v_self->_size);
+     __pyx_v_self->_size = __pyx_v_result;
+ 
+-    /* "View.MemoryView":581
++    /* "View.MemoryView":590
+  *     @property
+  *     def size(self):
+  *         if self._size is None:             # <<<<<<<<<<<<<<
+@@ -16748,7 +18170,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+  */
+   }
+ 
+-  /* "View.MemoryView":589
++  /* "View.MemoryView":598
+  *             self._size = result
+  * 
+  *         return self._size             # <<<<<<<<<<<<<<
+@@ -16760,7 +18182,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   __pyx_r = __pyx_v_self->_size;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":580
++  /* "View.MemoryView":589
+  * 
+  *     @property
+  *     def size(self):             # <<<<<<<<<<<<<<
+@@ -16781,7 +18203,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":591
++/* "View.MemoryView":600
+  *         return self._size
+  * 
+  *     def __len__(self):             # <<<<<<<<<<<<<<
+@@ -16808,7 +18230,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__len__", 0);
+ 
+-  /* "View.MemoryView":592
++  /* "View.MemoryView":601
+  * 
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:             # <<<<<<<<<<<<<<
+@@ -16818,7 +18240,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   __pyx_t_1 = ((__pyx_v_self->view.ndim >= 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":593
++    /* "View.MemoryView":602
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:
+  *             return self.view.shape[0]             # <<<<<<<<<<<<<<
+@@ -16828,7 +18250,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+     __pyx_r = (__pyx_v_self->view.shape[0]);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":592
++    /* "View.MemoryView":601
+  * 
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:             # <<<<<<<<<<<<<<
+@@ -16837,7 +18259,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+  */
+   }
+ 
+-  /* "View.MemoryView":595
++  /* "View.MemoryView":604
+  *             return self.view.shape[0]
+  * 
+  *         return 0             # <<<<<<<<<<<<<<
+@@ -16847,7 +18269,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":591
++  /* "View.MemoryView":600
+  *         return self._size
+  * 
+  *     def __len__(self):             # <<<<<<<<<<<<<<
+@@ -16861,7 +18283,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":597
++/* "View.MemoryView":606
+  *         return 0
+  * 
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -16890,7 +18312,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("__repr__", 0);
+ 
+-  /* "View.MemoryView":598
++  /* "View.MemoryView":607
+  * 
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,             # <<<<<<<<<<<<<<
+@@ -16898,54 +18320,48 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":599
++  /* "View.MemoryView":608
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,
+  *                                                id(self))             # <<<<<<<<<<<<<<
+  * 
+  *     def __str__(self):
+  */
+-  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 599, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 608, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __Pyx_INCREF(((PyObject *)__pyx_v_self));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+-  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+-  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_id, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 599, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":598
++  /* "View.MemoryView":607
+  * 
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,             # <<<<<<<<<<<<<<
+  *                                                id(self))
+  * 
+  */
+-  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 598, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
++  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 607, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_GIVEREF(__pyx_t_1);
+-  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+-  __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3);
++  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
++  __Pyx_GIVEREF(__pyx_t_2);
++  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
+   __pyx_t_1 = 0;
+-  __pyx_t_3 = 0;
+-  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 598, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-  __pyx_r = __pyx_t_3;
+-  __pyx_t_3 = 0;
++  __pyx_t_2 = 0;
++  __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 607, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++  __pyx_r = __pyx_t_2;
++  __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":597
++  /* "View.MemoryView":606
+  *         return 0
+  * 
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -16966,7 +18382,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":601
++/* "View.MemoryView":610
+  *                                                id(self))
+  * 
+  *     def __str__(self):             # <<<<<<<<<<<<<<
+@@ -16994,7 +18410,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("__str__", 0);
+ 
+-  /* "View.MemoryView":602
++  /* "View.MemoryView":611
+  * 
+  *     def __str__(self):
+  *         return "" % (self.base.__class__.__name__,)             # <<<<<<<<<<<<<<
+@@ -17002,27 +18418,27 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_GIVEREF(__pyx_t_1);
+   PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+   __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_object, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_object, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":601
++  /* "View.MemoryView":610
+  *                                                id(self))
+  * 
+  *     def __str__(self):             # <<<<<<<<<<<<<<
+@@ -17042,7 +18458,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":605
++/* "View.MemoryView":614
+  * 
+  * 
+  *     def is_c_contig(self):             # <<<<<<<<<<<<<<
+@@ -17071,7 +18487,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("is_c_contig", 0);
+ 
+-  /* "View.MemoryView":608
++  /* "View.MemoryView":617
+  *         cdef __Pyx_memviewslice *mslice
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)             # <<<<<<<<<<<<<<
+@@ -17080,7 +18496,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+  */
+   __pyx_v_mslice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp));
+ 
+-  /* "View.MemoryView":609
++  /* "View.MemoryView":618
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)             # <<<<<<<<<<<<<<
+@@ -17088,13 +18504,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+  *     def is_f_contig(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 609, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 618, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":605
++  /* "View.MemoryView":614
+  * 
+  * 
+  *     def is_c_contig(self):             # <<<<<<<<<<<<<<
+@@ -17113,7 +18529,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":611
++/* "View.MemoryView":620
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)
+  * 
+  *     def is_f_contig(self):             # <<<<<<<<<<<<<<
+@@ -17142,7 +18558,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("is_f_contig", 0);
+ 
+-  /* "View.MemoryView":614
++  /* "View.MemoryView":623
+  *         cdef __Pyx_memviewslice *mslice
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)             # <<<<<<<<<<<<<<
+@@ -17151,7 +18567,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+  */
+   __pyx_v_mslice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp));
+ 
+-  /* "View.MemoryView":615
++  /* "View.MemoryView":624
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)             # <<<<<<<<<<<<<<
+@@ -17159,13 +18575,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+  *     def copy(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 615, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 624, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":611
++  /* "View.MemoryView":620
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)
+  * 
+  *     def is_f_contig(self):             # <<<<<<<<<<<<<<
+@@ -17184,7 +18600,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":617
++/* "View.MemoryView":626
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)
+  * 
+  *     def copy(self):             # <<<<<<<<<<<<<<
+@@ -17214,7 +18630,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("copy", 0);
+ 
+-  /* "View.MemoryView":619
++  /* "View.MemoryView":628
+  *     def copy(self):
+  *         cdef __Pyx_memviewslice mslice
+  *         cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -17223,7 +18639,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  */
+   __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_F_CONTIGUOUS));
+ 
+-  /* "View.MemoryView":621
++  /* "View.MemoryView":630
+  *         cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS
+  * 
+  *         slice_copy(self, &mslice)             # <<<<<<<<<<<<<<
+@@ -17232,17 +18648,17 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_mslice));
+ 
+-  /* "View.MemoryView":622
++  /* "View.MemoryView":631
+  * 
+  *         slice_copy(self, &mslice)
+  *         mslice = slice_copy_contig(&mslice, "c", self.view.ndim,             # <<<<<<<<<<<<<<
+  *                                    self.view.itemsize,
+  *                                    flags|PyBUF_C_CONTIGUOUS,
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), ((char *)"c"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 622, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), ((char *)"c"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 631, __pyx_L1_error)
+   __pyx_v_mslice = __pyx_t_1;
+ 
+-  /* "View.MemoryView":627
++  /* "View.MemoryView":636
+  *                                    self.dtype_is_object)
+  * 
+  *         return memoryview_copy_from_slice(self, &mslice)             # <<<<<<<<<<<<<<
+@@ -17250,13 +18666,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  *     def copy_fortran(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_mslice)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 627, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_mslice)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 636, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":617
++  /* "View.MemoryView":626
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)
+  * 
+  *     def copy(self):             # <<<<<<<<<<<<<<
+@@ -17275,7 +18691,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":629
++/* "View.MemoryView":638
+  *         return memoryview_copy_from_slice(self, &mslice)
+  * 
+  *     def copy_fortran(self):             # <<<<<<<<<<<<<<
+@@ -17306,7 +18722,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("copy_fortran", 0);
+ 
+-  /* "View.MemoryView":631
++  /* "View.MemoryView":640
+  *     def copy_fortran(self):
+  *         cdef __Pyx_memviewslice src, dst
+  *         cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -17315,7 +18731,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  */
+   __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_C_CONTIGUOUS));
+ 
+-  /* "View.MemoryView":633
++  /* "View.MemoryView":642
+  *         cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS
+  * 
+  *         slice_copy(self, &src)             # <<<<<<<<<<<<<<
+@@ -17324,17 +18740,17 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_src));
+ 
+-  /* "View.MemoryView":634
++  /* "View.MemoryView":643
+  * 
+  *         slice_copy(self, &src)
+  *         dst = slice_copy_contig(&src, "fortran", self.view.ndim,             # <<<<<<<<<<<<<<
+  *                                 self.view.itemsize,
+  *                                 flags|PyBUF_F_CONTIGUOUS,
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), ((char *)"fortran"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 634, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), ((char *)"fortran"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 643, __pyx_L1_error)
+   __pyx_v_dst = __pyx_t_1;
+ 
+-  /* "View.MemoryView":639
++  /* "View.MemoryView":648
+  *                                 self.dtype_is_object)
+  * 
+  *         return memoryview_copy_from_slice(self, &dst)             # <<<<<<<<<<<<<<
+@@ -17342,13 +18758,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_dst)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 639, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_dst)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 648, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":629
++  /* "View.MemoryView":638
+  *         return memoryview_copy_from_slice(self, &mslice)
+  * 
+  *     def copy_fortran(self):             # <<<<<<<<<<<<<<
+@@ -17367,7 +18783,114 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":643
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__55, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryview_2__setstate_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__56, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":652
+  * 
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):             # <<<<<<<<<<<<<<
+@@ -17384,18 +18907,18 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_cwrapper", 0);
+ 
+-  /* "View.MemoryView":644
++  /* "View.MemoryView":653
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)             # <<<<<<<<<<<<<<
+  *     result.typeinfo = typeinfo
+  *     return result
+  */
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(__pyx_v_o);
+   __Pyx_GIVEREF(__pyx_v_o);
+@@ -17406,13 +18929,13 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_1 = 0;
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_v_result = ((struct __pyx_memoryview_obj *)__pyx_t_2);
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":645
++  /* "View.MemoryView":654
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)
+  *     result.typeinfo = typeinfo             # <<<<<<<<<<<<<<
+@@ -17421,7 +18944,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+  */
+   __pyx_v_result->typeinfo = __pyx_v_typeinfo;
+ 
+-  /* "View.MemoryView":646
++  /* "View.MemoryView":655
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)
+  *     result.typeinfo = typeinfo
+  *     return result             # <<<<<<<<<<<<<<
+@@ -17433,7 +18956,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":643
++  /* "View.MemoryView":652
+  * 
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):             # <<<<<<<<<<<<<<
+@@ -17455,7 +18978,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":649
++/* "View.MemoryView":658
+  * 
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):             # <<<<<<<<<<<<<<
+@@ -17469,7 +18992,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("memoryview_check", 0);
+ 
+-  /* "View.MemoryView":650
++  /* "View.MemoryView":659
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):
+  *     return isinstance(o, memoryview)             # <<<<<<<<<<<<<<
+@@ -17480,7 +19003,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   __pyx_r = __pyx_t_1;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":649
++  /* "View.MemoryView":658
+  * 
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):             # <<<<<<<<<<<<<<
+@@ -17494,7 +19017,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":652
++/* "View.MemoryView":661
+  *     return isinstance(o, memoryview)
+  * 
+  * cdef tuple _unellipsify(object index, int ndim):             # <<<<<<<<<<<<<<
+@@ -17525,7 +19048,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   PyObject *__pyx_t_11 = NULL;
+   __Pyx_RefNannySetupContext("_unellipsify", 0);
+ 
+-  /* "View.MemoryView":657
++  /* "View.MemoryView":666
+  *     full slices.
+  *     """
+  *     if not isinstance(index, tuple):             # <<<<<<<<<<<<<<
+@@ -17536,14 +19059,14 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":658
++    /* "View.MemoryView":667
+  *     """
+  *     if not isinstance(index, tuple):
+  *         tup = (index,)             # <<<<<<<<<<<<<<
+  *     else:
+  *         tup = index
+  */
+-    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 658, __pyx_L1_error)
++    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 667, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_INCREF(__pyx_v_index);
+     __Pyx_GIVEREF(__pyx_v_index);
+@@ -17551,7 +19074,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_v_tup = __pyx_t_3;
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":657
++    /* "View.MemoryView":666
+  *     full slices.
+  *     """
+  *     if not isinstance(index, tuple):             # <<<<<<<<<<<<<<
+@@ -17561,7 +19084,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":660
++  /* "View.MemoryView":669
+  *         tup = (index,)
+  *     else:
+  *         tup = index             # <<<<<<<<<<<<<<
+@@ -17574,19 +19097,19 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":662
++  /* "View.MemoryView":671
+  *         tup = index
+  * 
+  *     result = []             # <<<<<<<<<<<<<<
+  *     have_slices = False
+  *     seen_ellipsis = False
+  */
+-  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 662, __pyx_L1_error)
++  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 671, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __pyx_v_result = ((PyObject*)__pyx_t_3);
+   __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":663
++  /* "View.MemoryView":672
+  * 
+  *     result = []
+  *     have_slices = False             # <<<<<<<<<<<<<<
+@@ -17595,7 +19118,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   __pyx_v_have_slices = 0;
+ 
+-  /* "View.MemoryView":664
++  /* "View.MemoryView":673
+  *     result = []
+  *     have_slices = False
+  *     seen_ellipsis = False             # <<<<<<<<<<<<<<
+@@ -17604,7 +19127,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   __pyx_v_seen_ellipsis = 0;
+ 
+-  /* "View.MemoryView":665
++  /* "View.MemoryView":674
+  *     have_slices = False
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):             # <<<<<<<<<<<<<<
+@@ -17617,26 +19140,26 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_4 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
+     __pyx_t_6 = NULL;
+   } else {
+-    __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_tup); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_tup); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 674, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 674, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_6)) {
+       if (likely(PyList_CheckExact(__pyx_t_4))) {
+         if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 665, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 674, __pyx_L1_error)
+         #else
+-        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         #endif
+       } else {
+         if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 665, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 674, __pyx_L1_error)
+         #else
+-        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         #endif
+       }
+@@ -17645,8 +19168,8 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       if (unlikely(!__pyx_t_7)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 665, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 674, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -17656,13 +19179,13 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_7 = 0;
+     __Pyx_INCREF(__pyx_t_3);
+     __Pyx_XDECREF_SET(__pyx_v_idx, __pyx_t_3);
+-    __pyx_t_7 = __Pyx_PyInt_AddObjC(__pyx_t_3, __pyx_int_1, 1, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_7 = __Pyx_PyInt_AddObjC(__pyx_t_3, __pyx_int_1, 1, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_7);
+     __Pyx_DECREF(__pyx_t_3);
+     __pyx_t_3 = __pyx_t_7;
+     __pyx_t_7 = 0;
+ 
+-    /* "View.MemoryView":666
++    /* "View.MemoryView":675
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -17673,7 +19196,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_1 = (__pyx_t_2 != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":667
++      /* "View.MemoryView":676
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:             # <<<<<<<<<<<<<<
+@@ -17683,27 +19206,27 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_t_1 = ((!(__pyx_v_seen_ellipsis != 0)) != 0);
+       if (__pyx_t_1) {
+ 
+-        /* "View.MemoryView":668
++        /* "View.MemoryView":677
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))             # <<<<<<<<<<<<<<
+  *                 seen_ellipsis = True
+  *             else:
+  */
+-        __pyx_t_8 = PyObject_Length(__pyx_v_tup); if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(2, 668, __pyx_L1_error)
+-        __pyx_t_7 = PyList_New(1 * ((((__pyx_v_ndim - __pyx_t_8) + 1)<0) ? 0:((__pyx_v_ndim - __pyx_t_8) + 1))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 668, __pyx_L1_error)
++        __pyx_t_8 = PyObject_Length(__pyx_v_tup); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(2, 677, __pyx_L1_error)
++        __pyx_t_7 = PyList_New(1 * ((((__pyx_v_ndim - __pyx_t_8) + 1)<0) ? 0:((__pyx_v_ndim - __pyx_t_8) + 1))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 677, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         { Py_ssize_t __pyx_temp;
+           for (__pyx_temp=0; __pyx_temp < ((__pyx_v_ndim - __pyx_t_8) + 1); __pyx_temp++) {
+-            __Pyx_INCREF(__pyx_slice__48);
+-            __Pyx_GIVEREF(__pyx_slice__48);
+-            PyList_SET_ITEM(__pyx_t_7, __pyx_temp, __pyx_slice__48);
++            __Pyx_INCREF(__pyx_slice__57);
++            __Pyx_GIVEREF(__pyx_slice__57);
++            PyList_SET_ITEM(__pyx_t_7, __pyx_temp, __pyx_slice__57);
+           }
+         }
+-        __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_7); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 668, __pyx_L1_error)
++        __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_7); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 677, __pyx_L1_error)
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ 
+-        /* "View.MemoryView":669
++        /* "View.MemoryView":678
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))
+  *                 seen_ellipsis = True             # <<<<<<<<<<<<<<
+@@ -17712,7 +19235,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+         __pyx_v_seen_ellipsis = 1;
+ 
+-        /* "View.MemoryView":667
++        /* "View.MemoryView":676
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:             # <<<<<<<<<<<<<<
+@@ -17722,7 +19245,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+         goto __pyx_L7;
+       }
+ 
+-      /* "View.MemoryView":671
++      /* "View.MemoryView":680
+  *                 seen_ellipsis = True
+  *             else:
+  *                 result.append(slice(None))             # <<<<<<<<<<<<<<
+@@ -17730,11 +19253,11 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  *         else:
+  */
+       /*else*/ {
+-        __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_slice__49); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 671, __pyx_L1_error)
++        __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_slice__58); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 680, __pyx_L1_error)
+       }
+       __pyx_L7:;
+ 
+-      /* "View.MemoryView":672
++      /* "View.MemoryView":681
+  *             else:
+  *                 result.append(slice(None))
+  *             have_slices = True             # <<<<<<<<<<<<<<
+@@ -17743,7 +19266,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+       __pyx_v_have_slices = 1;
+ 
+-      /* "View.MemoryView":666
++      /* "View.MemoryView":675
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -17753,7 +19276,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":674
++    /* "View.MemoryView":683
+  *             have_slices = True
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):             # <<<<<<<<<<<<<<
+@@ -17771,30 +19294,25 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_t_10 = ((!(PyIndex_Check(__pyx_v_item) != 0)) != 0);
+       __pyx_t_1 = __pyx_t_10;
+       __pyx_L9_bool_binop_done:;
+-      if (__pyx_t_1) {
++      if (unlikely(__pyx_t_1)) {
+ 
+-        /* "View.MemoryView":675
++        /* "View.MemoryView":684
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):
+  *                 raise TypeError("Cannot index with type '%s'" % type(item))             # <<<<<<<<<<<<<<
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)
+  */
+-        __pyx_t_7 = __Pyx_PyString_Format(__pyx_kp_s_Cannot_index_with_type_s, ((PyObject *)Py_TYPE(__pyx_v_item))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 675, __pyx_L1_error)
++        __pyx_t_7 = __Pyx_PyString_Format(__pyx_kp_s_Cannot_index_with_type_s, ((PyObject *)Py_TYPE(__pyx_v_item))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 684, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+-        __pyx_t_11 = PyTuple_New(1); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 675, __pyx_L1_error)
++        __pyx_t_11 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 684, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_11);
+-        __Pyx_GIVEREF(__pyx_t_7);
+-        PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_7);
+-        __pyx_t_7 = 0;
+-        __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 675, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_7);
+-        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
+-        __Pyx_Raise(__pyx_t_7, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+-        __PYX_ERR(2, 675, __pyx_L1_error)
++        __Pyx_Raise(__pyx_t_11, 0, 0, 0);
++        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
++        __PYX_ERR(2, 684, __pyx_L1_error)
+ 
+-        /* "View.MemoryView":674
++        /* "View.MemoryView":683
+  *             have_slices = True
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):             # <<<<<<<<<<<<<<
+@@ -17803,7 +19321,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+       }
+ 
+-      /* "View.MemoryView":677
++      /* "View.MemoryView":686
+  *                 raise TypeError("Cannot index with type '%s'" % type(item))
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)             # <<<<<<<<<<<<<<
+@@ -17822,18 +19340,18 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_L11_bool_binop_done:;
+       __pyx_v_have_slices = __pyx_t_1;
+ 
+-      /* "View.MemoryView":678
++      /* "View.MemoryView":687
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)
+  *             result.append(item)             # <<<<<<<<<<<<<<
+  * 
+  *     nslices = ndim - len(result)
+  */
+-      __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_v_item); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 678, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_v_item); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 687, __pyx_L1_error)
+     }
+     __pyx_L6:;
+ 
+-    /* "View.MemoryView":665
++    /* "View.MemoryView":674
+  *     have_slices = False
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):             # <<<<<<<<<<<<<<
+@@ -17844,17 +19362,17 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":680
++  /* "View.MemoryView":689
+  *             result.append(item)
+  * 
+  *     nslices = ndim - len(result)             # <<<<<<<<<<<<<<
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)
+  */
+-  __pyx_t_5 = PyList_GET_SIZE(__pyx_v_result); if (unlikely(__pyx_t_5 == -1)) __PYX_ERR(2, 680, __pyx_L1_error)
++  __pyx_t_5 = PyList_GET_SIZE(__pyx_v_result); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(2, 689, __pyx_L1_error)
+   __pyx_v_nslices = (__pyx_v_ndim - __pyx_t_5);
+ 
+-  /* "View.MemoryView":681
++  /* "View.MemoryView":690
+  * 
+  *     nslices = ndim - len(result)
+  *     if nslices:             # <<<<<<<<<<<<<<
+@@ -17864,26 +19382,26 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __pyx_t_1 = (__pyx_v_nslices != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":682
++    /* "View.MemoryView":691
+  *     nslices = ndim - len(result)
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)             # <<<<<<<<<<<<<<
+  * 
+  *     return have_slices or nslices, tuple(result)
+  */
+-    __pyx_t_3 = PyList_New(1 * ((__pyx_v_nslices<0) ? 0:__pyx_v_nslices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 682, __pyx_L1_error)
++    __pyx_t_3 = PyList_New(1 * ((__pyx_v_nslices<0) ? 0:__pyx_v_nslices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 691, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     { Py_ssize_t __pyx_temp;
+       for (__pyx_temp=0; __pyx_temp < __pyx_v_nslices; __pyx_temp++) {
+-        __Pyx_INCREF(__pyx_slice__50);
+-        __Pyx_GIVEREF(__pyx_slice__50);
+-        PyList_SET_ITEM(__pyx_t_3, __pyx_temp, __pyx_slice__50);
++        __Pyx_INCREF(__pyx_slice__59);
++        __Pyx_GIVEREF(__pyx_slice__59);
++        PyList_SET_ITEM(__pyx_t_3, __pyx_temp, __pyx_slice__59);
+       }
+     }
+-    __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_3); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 682, __pyx_L1_error)
++    __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 691, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":681
++    /* "View.MemoryView":690
+  * 
+  *     nslices = ndim - len(result)
+  *     if nslices:             # <<<<<<<<<<<<<<
+@@ -17892,7 +19410,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   }
+ 
+-  /* "View.MemoryView":684
++  /* "View.MemoryView":693
+  *         result.extend([slice(None)] * nslices)
+  * 
+  *     return have_slices or nslices, tuple(result)             # <<<<<<<<<<<<<<
+@@ -17902,32 +19420,32 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __Pyx_XDECREF(__pyx_r);
+   if (!__pyx_v_have_slices) {
+   } else {
+-    __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __pyx_t_3 = __pyx_t_4;
+     __pyx_t_4 = 0;
+     goto __pyx_L14_bool_binop_done;
+   }
+-  __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_nslices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++  __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_nslices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __pyx_t_3 = __pyx_t_4;
+   __pyx_t_4 = 0;
+   __pyx_L14_bool_binop_done:;
+-  __pyx_t_4 = PyList_AsTuple(__pyx_v_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++  __pyx_t_4 = PyList_AsTuple(__pyx_v_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 684, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_7);
++  __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 693, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_11);
+   __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_3);
++  PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_3);
+   __Pyx_GIVEREF(__pyx_t_4);
+-  PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_4);
++  PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_4);
+   __pyx_t_3 = 0;
+   __pyx_t_4 = 0;
+-  __pyx_r = ((PyObject*)__pyx_t_7);
+-  __pyx_t_7 = 0;
++  __pyx_r = ((PyObject*)__pyx_t_11);
++  __pyx_t_11 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":652
++  /* "View.MemoryView":661
+  *     return isinstance(o, memoryview)
+  * 
+  * cdef tuple _unellipsify(object index, int ndim):             # <<<<<<<<<<<<<<
+@@ -17953,7 +19471,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":686
++/* "View.MemoryView":695
+  *     return have_slices or nslices, tuple(result)
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):             # <<<<<<<<<<<<<<
+@@ -17972,7 +19490,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
+ 
+-  /* "View.MemoryView":687
++  /* "View.MemoryView":696
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:             # <<<<<<<<<<<<<<
+@@ -17984,7 +19502,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+     __pyx_t_1 = __pyx_t_3;
+     __pyx_v_suboffset = (__pyx_t_1[0]);
+ 
+-    /* "View.MemoryView":688
++    /* "View.MemoryView":697
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -17992,22 +19510,22 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+  * 
+  */
+     __pyx_t_4 = ((__pyx_v_suboffset >= 0) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":689
++      /* "View.MemoryView":698
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             raise ValueError("Indirect dimensions not supported")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__51, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 689, __pyx_L1_error)
++      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__60, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 698, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_5);
+       __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      __PYX_ERR(2, 689, __pyx_L1_error)
++      __PYX_ERR(2, 698, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":688
++      /* "View.MemoryView":697
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -18017,7 +19535,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+     }
+   }
+ 
+-  /* "View.MemoryView":686
++  /* "View.MemoryView":695
+  *     return have_slices or nslices, tuple(result)
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):             # <<<<<<<<<<<<<<
+@@ -18038,7 +19556,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":696
++/* "View.MemoryView":705
+  * 
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):             # <<<<<<<<<<<<<<
+@@ -18079,7 +19597,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   Py_ssize_t __pyx_t_12;
+   __Pyx_RefNannySetupContext("memview_slice", 0);
+ 
+-  /* "View.MemoryView":697
++  /* "View.MemoryView":706
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):
+  *     cdef int new_ndim = 0, suboffset_dim = -1, dim             # <<<<<<<<<<<<<<
+@@ -18089,16 +19607,16 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_v_new_ndim = 0;
+   __pyx_v_suboffset_dim = -1;
+ 
+-  /* "View.MemoryView":704
++  /* "View.MemoryView":713
+  * 
+  * 
+  *     memset(&dst, 0, sizeof(dst))             # <<<<<<<<<<<<<<
+  * 
+  *     cdef _memoryviewslice memviewsliceobj
+  */
+-  memset((&__pyx_v_dst), 0, (sizeof(__pyx_v_dst)));
++  (void)(memset((&__pyx_v_dst), 0, (sizeof(__pyx_v_dst))));
+ 
+-  /* "View.MemoryView":708
++  /* "View.MemoryView":717
+  *     cdef _memoryviewslice memviewsliceobj
+  * 
+  *     assert memview.view.ndim > 0             # <<<<<<<<<<<<<<
+@@ -18109,12 +19627,12 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   if (unlikely(!Py_OptimizeFlag)) {
+     if (unlikely(!((__pyx_v_memview->view.ndim > 0) != 0))) {
+       PyErr_SetNone(PyExc_AssertionError);
+-      __PYX_ERR(2, 708, __pyx_L1_error)
++      __PYX_ERR(2, 717, __pyx_L1_error)
+     }
+   }
+   #endif
+ 
+-  /* "View.MemoryView":710
++  /* "View.MemoryView":719
+  *     assert memview.view.ndim > 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -18125,20 +19643,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":711
++    /* "View.MemoryView":720
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         memviewsliceobj = memview             # <<<<<<<<<<<<<<
+  *         p_src = &memviewsliceobj.from_slice
+  *     else:
+  */
+-    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 711, __pyx_L1_error)
++    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 720, __pyx_L1_error)
+     __pyx_t_3 = ((PyObject *)__pyx_v_memview);
+     __Pyx_INCREF(__pyx_t_3);
+     __pyx_v_memviewsliceobj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":712
++    /* "View.MemoryView":721
+  *     if isinstance(memview, _memoryviewslice):
+  *         memviewsliceobj = memview
+  *         p_src = &memviewsliceobj.from_slice             # <<<<<<<<<<<<<<
+@@ -18147,7 +19665,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+     __pyx_v_p_src = (&__pyx_v_memviewsliceobj->from_slice);
+ 
+-    /* "View.MemoryView":710
++    /* "View.MemoryView":719
+  *     assert memview.view.ndim > 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -18157,7 +19675,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":714
++  /* "View.MemoryView":723
+  *         p_src = &memviewsliceobj.from_slice
+  *     else:
+  *         slice_copy(memview, &src)             # <<<<<<<<<<<<<<
+@@ -18167,7 +19685,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   /*else*/ {
+     __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_src));
+ 
+-    /* "View.MemoryView":715
++    /* "View.MemoryView":724
+  *     else:
+  *         slice_copy(memview, &src)
+  *         p_src = &src             # <<<<<<<<<<<<<<
+@@ -18178,7 +19696,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":721
++  /* "View.MemoryView":730
+  * 
+  * 
+  *     dst.memview = p_src.memview             # <<<<<<<<<<<<<<
+@@ -18188,7 +19706,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_4 = __pyx_v_p_src->memview;
+   __pyx_v_dst.memview = __pyx_t_4;
+ 
+-  /* "View.MemoryView":722
++  /* "View.MemoryView":731
+  * 
+  *     dst.memview = p_src.memview
+  *     dst.data = p_src.data             # <<<<<<<<<<<<<<
+@@ -18198,7 +19716,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_5 = __pyx_v_p_src->data;
+   __pyx_v_dst.data = __pyx_t_5;
+ 
+-  /* "View.MemoryView":727
++  /* "View.MemoryView":736
+  * 
+  * 
+  *     cdef __Pyx_memviewslice *p_dst = &dst             # <<<<<<<<<<<<<<
+@@ -18207,7 +19725,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   __pyx_v_p_dst = (&__pyx_v_dst);
+ 
+-  /* "View.MemoryView":728
++  /* "View.MemoryView":737
+  * 
+  *     cdef __Pyx_memviewslice *p_dst = &dst
+  *     cdef int *p_suboffset_dim = &suboffset_dim             # <<<<<<<<<<<<<<
+@@ -18216,7 +19734,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   __pyx_v_p_suboffset_dim = (&__pyx_v_suboffset_dim);
+ 
+-  /* "View.MemoryView":732
++  /* "View.MemoryView":741
+  *     cdef bint have_start, have_stop, have_step
+  * 
+  *     for dim, index in enumerate(indices):             # <<<<<<<<<<<<<<
+@@ -18228,26 +19746,26 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_3 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_3); __pyx_t_7 = 0;
+     __pyx_t_8 = NULL;
+   } else {
+-    __pyx_t_7 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 732, __pyx_L1_error)
++    __pyx_t_7 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 741, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_8 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 732, __pyx_L1_error)
++    __pyx_t_8 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 741, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_8)) {
+       if (likely(PyList_CheckExact(__pyx_t_3))) {
+         if (__pyx_t_7 >= PyList_GET_SIZE(__pyx_t_3)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 732, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 741, __pyx_L1_error)
+         #else
+-        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 732, __pyx_L1_error)
++        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 741, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_9);
+         #endif
+       } else {
+         if (__pyx_t_7 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 732, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 741, __pyx_L1_error)
+         #else
+-        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 732, __pyx_L1_error)
++        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 741, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_9);
+         #endif
+       }
+@@ -18256,8 +19774,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       if (unlikely(!__pyx_t_9)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 732, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 741, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -18268,7 +19786,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_v_dim = __pyx_t_6;
+     __pyx_t_6 = (__pyx_t_6 + 1);
+ 
+-    /* "View.MemoryView":733
++    /* "View.MemoryView":742
+  * 
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):             # <<<<<<<<<<<<<<
+@@ -18278,25 +19796,25 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_2 = (PyIndex_Check(__pyx_v_index) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":737
++      /* "View.MemoryView":746
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  *                 index, 0, 0, # start, stop, step             # <<<<<<<<<<<<<<
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  */
+-      __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 737, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 746, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":734
++      /* "View.MemoryView":743
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):
+  *             slice_memviewslice(             # <<<<<<<<<<<<<<
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  */
+-      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_t_10, 0, 0, 0, 0, 0, 0); if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(2, 734, __pyx_L1_error)
++      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_t_10, 0, 0, 0, 0, 0, 0); if (unlikely(__pyx_t_11 == ((int)-1))) __PYX_ERR(2, 743, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":733
++      /* "View.MemoryView":742
+  * 
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):             # <<<<<<<<<<<<<<
+@@ -18306,7 +19824,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":740
++    /* "View.MemoryView":749
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  *         elif index is None:             # <<<<<<<<<<<<<<
+@@ -18317,7 +19835,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_1 = (__pyx_t_2 != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":741
++      /* "View.MemoryView":750
+  *                 False)
+  *         elif index is None:
+  *             p_dst.shape[new_ndim] = 1             # <<<<<<<<<<<<<<
+@@ -18326,7 +19844,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->shape[__pyx_v_new_ndim]) = 1;
+ 
+-      /* "View.MemoryView":742
++      /* "View.MemoryView":751
+  *         elif index is None:
+  *             p_dst.shape[new_ndim] = 1
+  *             p_dst.strides[new_ndim] = 0             # <<<<<<<<<<<<<<
+@@ -18335,7 +19853,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->strides[__pyx_v_new_ndim]) = 0;
+ 
+-      /* "View.MemoryView":743
++      /* "View.MemoryView":752
+  *             p_dst.shape[new_ndim] = 1
+  *             p_dst.strides[new_ndim] = 0
+  *             p_dst.suboffsets[new_ndim] = -1             # <<<<<<<<<<<<<<
+@@ -18344,7 +19862,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->suboffsets[__pyx_v_new_ndim]) = -1L;
+ 
+-      /* "View.MemoryView":744
++      /* "View.MemoryView":753
+  *             p_dst.strides[new_ndim] = 0
+  *             p_dst.suboffsets[new_ndim] = -1
+  *             new_ndim += 1             # <<<<<<<<<<<<<<
+@@ -18353,7 +19871,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       __pyx_v_new_ndim = (__pyx_v_new_ndim + 1);
+ 
+-      /* "View.MemoryView":740
++      /* "View.MemoryView":749
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  *         elif index is None:             # <<<<<<<<<<<<<<
+@@ -18363,7 +19881,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":746
++    /* "View.MemoryView":755
+  *             new_ndim += 1
+  *         else:
+  *             start = index.start or 0             # <<<<<<<<<<<<<<
+@@ -18371,13 +19889,13 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  *             step = index.step or 0
+  */
+     /*else*/ {
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 746, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 755, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 746, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 755, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 746, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 755, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L7_bool_binop_done;
+@@ -18386,20 +19904,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L7_bool_binop_done:;
+       __pyx_v_start = __pyx_t_10;
+ 
+-      /* "View.MemoryView":747
++      /* "View.MemoryView":756
+  *         else:
+  *             start = index.start or 0
+  *             stop = index.stop or 0             # <<<<<<<<<<<<<<
+  *             step = index.step or 0
+  * 
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 747, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 756, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 747, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 756, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 747, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 756, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L9_bool_binop_done;
+@@ -18408,20 +19926,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L9_bool_binop_done:;
+       __pyx_v_stop = __pyx_t_10;
+ 
+-      /* "View.MemoryView":748
++      /* "View.MemoryView":757
+  *             start = index.start or 0
+  *             stop = index.stop or 0
+  *             step = index.step or 0             # <<<<<<<<<<<<<<
+  * 
+  *             have_start = index.start is not None
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 748, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 757, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 748, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 757, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 748, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 757, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L11_bool_binop_done;
+@@ -18430,55 +19948,55 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L11_bool_binop_done:;
+       __pyx_v_step = __pyx_t_10;
+ 
+-      /* "View.MemoryView":750
++      /* "View.MemoryView":759
+  *             step = index.step or 0
+  * 
+  *             have_start = index.start is not None             # <<<<<<<<<<<<<<
+  *             have_stop = index.stop is not None
+  *             have_step = index.step is not None
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 750, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 759, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_start = __pyx_t_1;
+ 
+-      /* "View.MemoryView":751
++      /* "View.MemoryView":760
+  * 
+  *             have_start = index.start is not None
+  *             have_stop = index.stop is not None             # <<<<<<<<<<<<<<
+  *             have_step = index.step is not None
+  * 
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 751, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 760, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_stop = __pyx_t_1;
+ 
+-      /* "View.MemoryView":752
++      /* "View.MemoryView":761
+  *             have_start = index.start is not None
+  *             have_stop = index.stop is not None
+  *             have_step = index.step is not None             # <<<<<<<<<<<<<<
+  * 
+  *             slice_memviewslice(
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 752, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 761, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_step = __pyx_t_1;
+ 
+-      /* "View.MemoryView":754
++      /* "View.MemoryView":763
+  *             have_step = index.step is not None
+  * 
+  *             slice_memviewslice(             # <<<<<<<<<<<<<<
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  */
+-      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_start, __pyx_v_stop, __pyx_v_step, __pyx_v_have_start, __pyx_v_have_stop, __pyx_v_have_step, 1); if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(2, 754, __pyx_L1_error)
++      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_start, __pyx_v_stop, __pyx_v_step, __pyx_v_have_start, __pyx_v_have_stop, __pyx_v_have_step, 1); if (unlikely(__pyx_t_11 == ((int)-1))) __PYX_ERR(2, 763, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":760
++      /* "View.MemoryView":769
+  *                 have_start, have_stop, have_step,
+  *                 True)
+  *             new_ndim += 1             # <<<<<<<<<<<<<<
+@@ -18489,7 +20007,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     }
+     __pyx_L6:;
+ 
+-    /* "View.MemoryView":732
++    /* "View.MemoryView":741
+  *     cdef bint have_start, have_stop, have_step
+  * 
+  *     for dim, index in enumerate(indices):             # <<<<<<<<<<<<<<
+@@ -18499,7 +20017,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   }
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":762
++  /* "View.MemoryView":771
+  *             new_ndim += 1
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -18510,7 +20028,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":763
++    /* "View.MemoryView":772
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,             # <<<<<<<<<<<<<<
+@@ -18519,39 +20037,39 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+     __Pyx_XDECREF(((PyObject *)__pyx_r));
+ 
+-    /* "View.MemoryView":764
++    /* "View.MemoryView":773
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,
+  *                                     memviewsliceobj.to_object_func,             # <<<<<<<<<<<<<<
+  *                                     memviewsliceobj.to_dtype_func,
+  *                                     memview.dtype_is_object)
+  */
+-    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 764, __pyx_L1_error) }
++    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 773, __pyx_L1_error) }
+ 
+-    /* "View.MemoryView":765
++    /* "View.MemoryView":774
+  *         return memoryview_fromslice(dst, new_ndim,
+  *                                     memviewsliceobj.to_object_func,
+  *                                     memviewsliceobj.to_dtype_func,             # <<<<<<<<<<<<<<
+  *                                     memview.dtype_is_object)
+  *     else:
+  */
+-    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 765, __pyx_L1_error) }
++    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 774, __pyx_L1_error) }
+ 
+-    /* "View.MemoryView":763
++    /* "View.MemoryView":772
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,             # <<<<<<<<<<<<<<
+  *                                     memviewsliceobj.to_object_func,
+  *                                     memviewsliceobj.to_dtype_func,
+  */
+-    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, __pyx_v_memviewsliceobj->to_object_func, __pyx_v_memviewsliceobj->to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 763, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, __pyx_v_memviewsliceobj->to_object_func, __pyx_v_memviewsliceobj->to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 772, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 763, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 772, __pyx_L1_error)
+     __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":762
++    /* "View.MemoryView":771
+  *             new_ndim += 1
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -18560,7 +20078,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   }
+ 
+-  /* "View.MemoryView":768
++  /* "View.MemoryView":777
+  *                                     memview.dtype_is_object)
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,             # <<<<<<<<<<<<<<
+@@ -18570,30 +20088,30 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   /*else*/ {
+     __Pyx_XDECREF(((PyObject *)__pyx_r));
+ 
+-    /* "View.MemoryView":769
++    /* "View.MemoryView":778
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,
+  *                                     memview.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, NULL, NULL, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 768, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, NULL, NULL, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 777, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+ 
+-    /* "View.MemoryView":768
++    /* "View.MemoryView":777
+  *                                     memview.dtype_is_object)
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,             # <<<<<<<<<<<<<<
+  *                                     memview.dtype_is_object)
+  * 
+  */
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 768, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 777, __pyx_L1_error)
+     __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":696
++  /* "View.MemoryView":705
+  * 
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):             # <<<<<<<<<<<<<<
+@@ -18615,7 +20133,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":793
++/* "View.MemoryView":802
+  * 
+  * @cname('__pyx_memoryview_slice_memviewslice')
+  * cdef int slice_memviewslice(             # <<<<<<<<<<<<<<
+@@ -18631,7 +20149,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   int __pyx_t_2;
+   int __pyx_t_3;
+ 
+-  /* "View.MemoryView":813
++  /* "View.MemoryView":822
+  *     cdef bint negative_step
+  * 
+  *     if not is_slice:             # <<<<<<<<<<<<<<
+@@ -18641,7 +20159,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_1 = ((!(__pyx_v_is_slice != 0)) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":815
++    /* "View.MemoryView":824
+  *     if not is_slice:
+  * 
+  *         if start < 0:             # <<<<<<<<<<<<<<
+@@ -18651,7 +20169,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_1 = ((__pyx_v_start < 0) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":816
++      /* "View.MemoryView":825
+  * 
+  *         if start < 0:
+  *             start += shape             # <<<<<<<<<<<<<<
+@@ -18660,7 +20178,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_start = (__pyx_v_start + __pyx_v_shape);
+ 
+-      /* "View.MemoryView":815
++      /* "View.MemoryView":824
+  *     if not is_slice:
+  * 
+  *         if start < 0:             # <<<<<<<<<<<<<<
+@@ -18669,7 +20187,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":817
++    /* "View.MemoryView":826
+  *         if start < 0:
+  *             start += shape
+  *         if not 0 <= start < shape:             # <<<<<<<<<<<<<<
+@@ -18683,16 +20201,16 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":818
++      /* "View.MemoryView":827
+  *             start += shape
+  *         if not 0 <= start < shape:
+  *             _err_dim(IndexError, "Index out of bounds (axis %d)", dim)             # <<<<<<<<<<<<<<
+  *     else:
+  * 
+  */
+-      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"Index out of bounds (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 818, __pyx_L1_error)
++      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"Index out of bounds (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 827, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":817
++      /* "View.MemoryView":826
+  *         if start < 0:
+  *             start += shape
+  *         if not 0 <= start < shape:             # <<<<<<<<<<<<<<
+@@ -18701,7 +20219,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":813
++    /* "View.MemoryView":822
+  *     cdef bint negative_step
+  * 
+  *     if not is_slice:             # <<<<<<<<<<<<<<
+@@ -18711,7 +20229,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":821
++  /* "View.MemoryView":830
+  *     else:
+  * 
+  *         negative_step = have_step != 0 and step < 0             # <<<<<<<<<<<<<<
+@@ -18730,7 +20248,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_L6_bool_binop_done:;
+     __pyx_v_negative_step = __pyx_t_2;
+ 
+-    /* "View.MemoryView":823
++    /* "View.MemoryView":832
+  *         negative_step = have_step != 0 and step < 0
+  * 
+  *         if have_step and step == 0:             # <<<<<<<<<<<<<<
+@@ -18748,16 +20266,16 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_L9_bool_binop_done:;
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":824
++      /* "View.MemoryView":833
+  * 
+  *         if have_step and step == 0:
+  *             _err_dim(ValueError, "Step may not be zero (axis %d)", dim)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Step may not be zero (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 824, __pyx_L1_error)
++      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Step may not be zero (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 833, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":823
++      /* "View.MemoryView":832
+  *         negative_step = have_step != 0 and step < 0
+  * 
+  *         if have_step and step == 0:             # <<<<<<<<<<<<<<
+@@ -18766,7 +20284,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":827
++    /* "View.MemoryView":836
+  * 
+  * 
+  *         if have_start:             # <<<<<<<<<<<<<<
+@@ -18776,7 +20294,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (__pyx_v_have_start != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":828
++      /* "View.MemoryView":837
+  * 
+  *         if have_start:
+  *             if start < 0:             # <<<<<<<<<<<<<<
+@@ -18786,7 +20304,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_start < 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":829
++        /* "View.MemoryView":838
+  *         if have_start:
+  *             if start < 0:
+  *                 start += shape             # <<<<<<<<<<<<<<
+@@ -18795,7 +20313,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_start = (__pyx_v_start + __pyx_v_shape);
+ 
+-        /* "View.MemoryView":830
++        /* "View.MemoryView":839
+  *             if start < 0:
+  *                 start += shape
+  *                 if start < 0:             # <<<<<<<<<<<<<<
+@@ -18805,7 +20323,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = ((__pyx_v_start < 0) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":831
++          /* "View.MemoryView":840
+  *                 start += shape
+  *                 if start < 0:
+  *                     start = 0             # <<<<<<<<<<<<<<
+@@ -18814,7 +20332,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_start = 0;
+ 
+-          /* "View.MemoryView":830
++          /* "View.MemoryView":839
+  *             if start < 0:
+  *                 start += shape
+  *                 if start < 0:             # <<<<<<<<<<<<<<
+@@ -18823,7 +20341,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         }
+ 
+-        /* "View.MemoryView":828
++        /* "View.MemoryView":837
+  * 
+  *         if have_start:
+  *             if start < 0:             # <<<<<<<<<<<<<<
+@@ -18833,7 +20351,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L12;
+       }
+ 
+-      /* "View.MemoryView":832
++      /* "View.MemoryView":841
+  *                 if start < 0:
+  *                     start = 0
+  *             elif start >= shape:             # <<<<<<<<<<<<<<
+@@ -18843,7 +20361,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_start >= __pyx_v_shape) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":833
++        /* "View.MemoryView":842
+  *                     start = 0
+  *             elif start >= shape:
+  *                 if negative_step:             # <<<<<<<<<<<<<<
+@@ -18853,7 +20371,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = (__pyx_v_negative_step != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":834
++          /* "View.MemoryView":843
+  *             elif start >= shape:
+  *                 if negative_step:
+  *                     start = shape - 1             # <<<<<<<<<<<<<<
+@@ -18862,7 +20380,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_start = (__pyx_v_shape - 1);
+ 
+-          /* "View.MemoryView":833
++          /* "View.MemoryView":842
+  *                     start = 0
+  *             elif start >= shape:
+  *                 if negative_step:             # <<<<<<<<<<<<<<
+@@ -18872,7 +20390,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+           goto __pyx_L14;
+         }
+ 
+-        /* "View.MemoryView":836
++        /* "View.MemoryView":845
+  *                     start = shape - 1
+  *                 else:
+  *                     start = shape             # <<<<<<<<<<<<<<
+@@ -18884,7 +20402,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         }
+         __pyx_L14:;
+ 
+-        /* "View.MemoryView":832
++        /* "View.MemoryView":841
+  *                 if start < 0:
+  *                     start = 0
+  *             elif start >= shape:             # <<<<<<<<<<<<<<
+@@ -18894,7 +20412,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       }
+       __pyx_L12:;
+ 
+-      /* "View.MemoryView":827
++      /* "View.MemoryView":836
+  * 
+  * 
+  *         if have_start:             # <<<<<<<<<<<<<<
+@@ -18904,7 +20422,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L11;
+     }
+ 
+-    /* "View.MemoryView":838
++    /* "View.MemoryView":847
+  *                     start = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -18915,7 +20433,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = (__pyx_v_negative_step != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":839
++        /* "View.MemoryView":848
+  *         else:
+  *             if negative_step:
+  *                 start = shape - 1             # <<<<<<<<<<<<<<
+@@ -18924,7 +20442,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_start = (__pyx_v_shape - 1);
+ 
+-        /* "View.MemoryView":838
++        /* "View.MemoryView":847
+  *                     start = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -18934,7 +20452,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L15;
+       }
+ 
+-      /* "View.MemoryView":841
++      /* "View.MemoryView":850
+  *                 start = shape - 1
+  *             else:
+  *                 start = 0             # <<<<<<<<<<<<<<
+@@ -18948,7 +20466,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L11:;
+ 
+-    /* "View.MemoryView":843
++    /* "View.MemoryView":852
+  *                 start = 0
+  * 
+  *         if have_stop:             # <<<<<<<<<<<<<<
+@@ -18958,7 +20476,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (__pyx_v_have_stop != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":844
++      /* "View.MemoryView":853
+  * 
+  *         if have_stop:
+  *             if stop < 0:             # <<<<<<<<<<<<<<
+@@ -18968,7 +20486,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_stop < 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":845
++        /* "View.MemoryView":854
+  *         if have_stop:
+  *             if stop < 0:
+  *                 stop += shape             # <<<<<<<<<<<<<<
+@@ -18977,7 +20495,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = (__pyx_v_stop + __pyx_v_shape);
+ 
+-        /* "View.MemoryView":846
++        /* "View.MemoryView":855
+  *             if stop < 0:
+  *                 stop += shape
+  *                 if stop < 0:             # <<<<<<<<<<<<<<
+@@ -18987,7 +20505,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = ((__pyx_v_stop < 0) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":847
++          /* "View.MemoryView":856
+  *                 stop += shape
+  *                 if stop < 0:
+  *                     stop = 0             # <<<<<<<<<<<<<<
+@@ -18996,7 +20514,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_stop = 0;
+ 
+-          /* "View.MemoryView":846
++          /* "View.MemoryView":855
+  *             if stop < 0:
+  *                 stop += shape
+  *                 if stop < 0:             # <<<<<<<<<<<<<<
+@@ -19005,7 +20523,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         }
+ 
+-        /* "View.MemoryView":844
++        /* "View.MemoryView":853
+  * 
+  *         if have_stop:
+  *             if stop < 0:             # <<<<<<<<<<<<<<
+@@ -19015,7 +20533,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L17;
+       }
+ 
+-      /* "View.MemoryView":848
++      /* "View.MemoryView":857
+  *                 if stop < 0:
+  *                     stop = 0
+  *             elif stop > shape:             # <<<<<<<<<<<<<<
+@@ -19025,7 +20543,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_stop > __pyx_v_shape) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":849
++        /* "View.MemoryView":858
+  *                     stop = 0
+  *             elif stop > shape:
+  *                 stop = shape             # <<<<<<<<<<<<<<
+@@ -19034,7 +20552,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = __pyx_v_shape;
+ 
+-        /* "View.MemoryView":848
++        /* "View.MemoryView":857
+  *                 if stop < 0:
+  *                     stop = 0
+  *             elif stop > shape:             # <<<<<<<<<<<<<<
+@@ -19044,7 +20562,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       }
+       __pyx_L17:;
+ 
+-      /* "View.MemoryView":843
++      /* "View.MemoryView":852
+  *                 start = 0
+  * 
+  *         if have_stop:             # <<<<<<<<<<<<<<
+@@ -19054,7 +20572,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L16;
+     }
+ 
+-    /* "View.MemoryView":851
++    /* "View.MemoryView":860
+  *                 stop = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -19065,7 +20583,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = (__pyx_v_negative_step != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":852
++        /* "View.MemoryView":861
+  *         else:
+  *             if negative_step:
+  *                 stop = -1             # <<<<<<<<<<<<<<
+@@ -19074,7 +20592,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = -1L;
+ 
+-        /* "View.MemoryView":851
++        /* "View.MemoryView":860
+  *                 stop = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -19084,7 +20602,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L19;
+       }
+ 
+-      /* "View.MemoryView":854
++      /* "View.MemoryView":863
+  *                 stop = -1
+  *             else:
+  *                 stop = shape             # <<<<<<<<<<<<<<
+@@ -19098,7 +20616,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L16:;
+ 
+-    /* "View.MemoryView":856
++    /* "View.MemoryView":865
+  *                 stop = shape
+  * 
+  *         if not have_step:             # <<<<<<<<<<<<<<
+@@ -19108,7 +20626,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_v_have_step != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":857
++      /* "View.MemoryView":866
+  * 
+  *         if not have_step:
+  *             step = 1             # <<<<<<<<<<<<<<
+@@ -19117,7 +20635,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_step = 1;
+ 
+-      /* "View.MemoryView":856
++      /* "View.MemoryView":865
+  *                 stop = shape
+  * 
+  *         if not have_step:             # <<<<<<<<<<<<<<
+@@ -19126,7 +20644,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":861
++    /* "View.MemoryView":870
+  * 
+  *         with cython.cdivision(True):
+  *             new_shape = (stop - start) // step             # <<<<<<<<<<<<<<
+@@ -19135,7 +20653,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     __pyx_v_new_shape = ((__pyx_v_stop - __pyx_v_start) / __pyx_v_step);
+ 
+-    /* "View.MemoryView":863
++    /* "View.MemoryView":872
+  *             new_shape = (stop - start) // step
+  * 
+  *             if (stop - start) - step * new_shape:             # <<<<<<<<<<<<<<
+@@ -19145,7 +20663,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (((__pyx_v_stop - __pyx_v_start) - (__pyx_v_step * __pyx_v_new_shape)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":864
++      /* "View.MemoryView":873
+  * 
+  *             if (stop - start) - step * new_shape:
+  *                 new_shape += 1             # <<<<<<<<<<<<<<
+@@ -19154,7 +20672,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_new_shape = (__pyx_v_new_shape + 1);
+ 
+-      /* "View.MemoryView":863
++      /* "View.MemoryView":872
+  *             new_shape = (stop - start) // step
+  * 
+  *             if (stop - start) - step * new_shape:             # <<<<<<<<<<<<<<
+@@ -19163,7 +20681,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":866
++    /* "View.MemoryView":875
+  *                 new_shape += 1
+  * 
+  *         if new_shape < 0:             # <<<<<<<<<<<<<<
+@@ -19173,7 +20691,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((__pyx_v_new_shape < 0) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":867
++      /* "View.MemoryView":876
+  * 
+  *         if new_shape < 0:
+  *             new_shape = 0             # <<<<<<<<<<<<<<
+@@ -19182,7 +20700,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_new_shape = 0;
+ 
+-      /* "View.MemoryView":866
++      /* "View.MemoryView":875
+  *                 new_shape += 1
+  * 
+  *         if new_shape < 0:             # <<<<<<<<<<<<<<
+@@ -19191,7 +20709,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":870
++    /* "View.MemoryView":879
+  * 
+  * 
+  *         dst.strides[new_ndim] = stride * step             # <<<<<<<<<<<<<<
+@@ -19200,7 +20718,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     (__pyx_v_dst->strides[__pyx_v_new_ndim]) = (__pyx_v_stride * __pyx_v_step);
+ 
+-    /* "View.MemoryView":871
++    /* "View.MemoryView":880
+  * 
+  *         dst.strides[new_ndim] = stride * step
+  *         dst.shape[new_ndim] = new_shape             # <<<<<<<<<<<<<<
+@@ -19209,7 +20727,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     (__pyx_v_dst->shape[__pyx_v_new_ndim]) = __pyx_v_new_shape;
+ 
+-    /* "View.MemoryView":872
++    /* "View.MemoryView":881
+  *         dst.strides[new_ndim] = stride * step
+  *         dst.shape[new_ndim] = new_shape
+  *         dst.suboffsets[new_ndim] = suboffset             # <<<<<<<<<<<<<<
+@@ -19220,7 +20738,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":875
++  /* "View.MemoryView":884
+  * 
+  * 
+  *     if suboffset_dim[0] < 0:             # <<<<<<<<<<<<<<
+@@ -19230,7 +20748,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_2 = (((__pyx_v_suboffset_dim[0]) < 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":876
++    /* "View.MemoryView":885
+  * 
+  *     if suboffset_dim[0] < 0:
+  *         dst.data += start * stride             # <<<<<<<<<<<<<<
+@@ -19239,7 +20757,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     __pyx_v_dst->data = (__pyx_v_dst->data + (__pyx_v_start * __pyx_v_stride));
+ 
+-    /* "View.MemoryView":875
++    /* "View.MemoryView":884
+  * 
+  * 
+  *     if suboffset_dim[0] < 0:             # <<<<<<<<<<<<<<
+@@ -19249,7 +20767,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     goto __pyx_L23;
+   }
+ 
+-  /* "View.MemoryView":878
++  /* "View.MemoryView":887
+  *         dst.data += start * stride
+  *     else:
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride             # <<<<<<<<<<<<<<
+@@ -19262,7 +20780,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   }
+   __pyx_L23:;
+ 
+-  /* "View.MemoryView":880
++  /* "View.MemoryView":889
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride
+  * 
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -19272,7 +20790,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_2 = ((__pyx_v_suboffset >= 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":881
++    /* "View.MemoryView":890
+  * 
+  *     if suboffset >= 0:
+  *         if not is_slice:             # <<<<<<<<<<<<<<
+@@ -19282,7 +20800,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_v_is_slice != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":882
++      /* "View.MemoryView":891
+  *     if suboffset >= 0:
+  *         if not is_slice:
+  *             if new_ndim == 0:             # <<<<<<<<<<<<<<
+@@ -19292,7 +20810,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_new_ndim == 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":883
++        /* "View.MemoryView":892
+  *         if not is_slice:
+  *             if new_ndim == 0:
+  *                 dst.data = ( dst.data)[0] + suboffset             # <<<<<<<<<<<<<<
+@@ -19301,7 +20819,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_dst->data = ((((char **)__pyx_v_dst->data)[0]) + __pyx_v_suboffset);
+ 
+-        /* "View.MemoryView":882
++        /* "View.MemoryView":891
+  *     if suboffset >= 0:
+  *         if not is_slice:
+  *             if new_ndim == 0:             # <<<<<<<<<<<<<<
+@@ -19311,7 +20829,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L26;
+       }
+ 
+-      /* "View.MemoryView":885
++      /* "View.MemoryView":894
+  *                 dst.data = ( dst.data)[0] + suboffset
+  *             else:
+  *                 _err_dim(IndexError, "All dimensions preceding dimension %d "             # <<<<<<<<<<<<<<
+@@ -19320,18 +20838,18 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       /*else*/ {
+ 
+-        /* "View.MemoryView":886
++        /* "View.MemoryView":895
+  *             else:
+  *                 _err_dim(IndexError, "All dimensions preceding dimension %d "
+  *                                      "must be indexed and not sliced", dim)             # <<<<<<<<<<<<<<
+  *         else:
+  *             suboffset_dim[0] = new_ndim
+  */
+-        __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"All dimensions preceding dimension %d must be indexed and not sliced"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 885, __pyx_L1_error)
++        __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"All dimensions preceding dimension %d must be indexed and not sliced"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 894, __pyx_L1_error)
+       }
+       __pyx_L26:;
+ 
+-      /* "View.MemoryView":881
++      /* "View.MemoryView":890
+  * 
+  *     if suboffset >= 0:
+  *         if not is_slice:             # <<<<<<<<<<<<<<
+@@ -19341,7 +20859,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L25;
+     }
+ 
+-    /* "View.MemoryView":888
++    /* "View.MemoryView":897
+  *                                      "must be indexed and not sliced", dim)
+  *         else:
+  *             suboffset_dim[0] = new_ndim             # <<<<<<<<<<<<<<
+@@ -19353,7 +20871,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L25:;
+ 
+-    /* "View.MemoryView":880
++    /* "View.MemoryView":889
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride
+  * 
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -19362,7 +20880,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+   }
+ 
+-  /* "View.MemoryView":890
++  /* "View.MemoryView":899
+  *             suboffset_dim[0] = new_ndim
+  * 
+  *     return 0             # <<<<<<<<<<<<<<
+@@ -19372,7 +20890,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":793
++  /* "View.MemoryView":802
+  * 
+  * @cname('__pyx_memoryview_slice_memviewslice')
+  * cdef int slice_memviewslice(             # <<<<<<<<<<<<<<
+@@ -19384,11 +20902,11 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.slice_memviewslice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = -1;
+@@ -19396,7 +20914,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":896
++/* "View.MemoryView":905
+  * 
+  * @cname('__pyx_pybuffer_index')
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,             # <<<<<<<<<<<<<<
+@@ -19418,7 +20936,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   PyObject *__pyx_t_4 = NULL;
+   __Pyx_RefNannySetupContext("pybuffer_index", 0);
+ 
+-  /* "View.MemoryView":898
++  /* "View.MemoryView":907
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
+  *                           Py_ssize_t dim) except NULL:
+  *     cdef Py_ssize_t shape, stride, suboffset = -1             # <<<<<<<<<<<<<<
+@@ -19427,7 +20945,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   __pyx_v_suboffset = -1L;
+ 
+-  /* "View.MemoryView":899
++  /* "View.MemoryView":908
+  *                           Py_ssize_t dim) except NULL:
+  *     cdef Py_ssize_t shape, stride, suboffset = -1
+  *     cdef Py_ssize_t itemsize = view.itemsize             # <<<<<<<<<<<<<<
+@@ -19437,7 +20955,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_1 = __pyx_v_view->itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":902
++  /* "View.MemoryView":911
+  *     cdef char *resultp
+  * 
+  *     if view.ndim == 0:             # <<<<<<<<<<<<<<
+@@ -19447,7 +20965,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_view->ndim == 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":903
++    /* "View.MemoryView":912
+  * 
+  *     if view.ndim == 0:
+  *         shape = view.len / itemsize             # <<<<<<<<<<<<<<
+@@ -19456,15 +20974,15 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     if (unlikely(__pyx_v_itemsize == 0)) {
+       PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero");
+-      __PYX_ERR(2, 903, __pyx_L1_error)
++      __PYX_ERR(2, 912, __pyx_L1_error)
+     }
+     else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_itemsize == (Py_ssize_t)-1)  && unlikely(UNARY_NEG_WOULD_OVERFLOW(__pyx_v_view->len))) {
+       PyErr_SetString(PyExc_OverflowError, "value too large to perform division");
+-      __PYX_ERR(2, 903, __pyx_L1_error)
++      __PYX_ERR(2, 912, __pyx_L1_error)
+     }
+     __pyx_v_shape = __Pyx_div_Py_ssize_t(__pyx_v_view->len, __pyx_v_itemsize);
+ 
+-    /* "View.MemoryView":904
++    /* "View.MemoryView":913
+  *     if view.ndim == 0:
+  *         shape = view.len / itemsize
+  *         stride = itemsize             # <<<<<<<<<<<<<<
+@@ -19473,7 +20991,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_stride = __pyx_v_itemsize;
+ 
+-    /* "View.MemoryView":902
++    /* "View.MemoryView":911
+  *     cdef char *resultp
+  * 
+  *     if view.ndim == 0:             # <<<<<<<<<<<<<<
+@@ -19483,7 +21001,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":906
++  /* "View.MemoryView":915
+  *         stride = itemsize
+  *     else:
+  *         shape = view.shape[dim]             # <<<<<<<<<<<<<<
+@@ -19493,7 +21011,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   /*else*/ {
+     __pyx_v_shape = (__pyx_v_view->shape[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":907
++    /* "View.MemoryView":916
+  *     else:
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]             # <<<<<<<<<<<<<<
+@@ -19502,7 +21020,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_stride = (__pyx_v_view->strides[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":908
++    /* "View.MemoryView":917
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -19512,7 +21030,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+     __pyx_t_2 = ((__pyx_v_view->suboffsets != NULL) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":909
++      /* "View.MemoryView":918
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:
+  *             suboffset = view.suboffsets[dim]             # <<<<<<<<<<<<<<
+@@ -19521,7 +21039,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+       __pyx_v_suboffset = (__pyx_v_view->suboffsets[__pyx_v_dim]);
+ 
+-      /* "View.MemoryView":908
++      /* "View.MemoryView":917
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -19532,7 +21050,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":911
++  /* "View.MemoryView":920
+  *             suboffset = view.suboffsets[dim]
+  * 
+  *     if index < 0:             # <<<<<<<<<<<<<<
+@@ -19542,7 +21060,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_index < 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":912
++    /* "View.MemoryView":921
+  * 
+  *     if index < 0:
+  *         index += view.shape[dim]             # <<<<<<<<<<<<<<
+@@ -19551,7 +21069,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_index = (__pyx_v_index + (__pyx_v_view->shape[__pyx_v_dim]));
+ 
+-    /* "View.MemoryView":913
++    /* "View.MemoryView":922
+  *     if index < 0:
+  *         index += view.shape[dim]
+  *         if index < 0:             # <<<<<<<<<<<<<<
+@@ -19559,33 +21077,28 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  * 
+  */
+     __pyx_t_2 = ((__pyx_v_index < 0) != 0);
+-    if (__pyx_t_2) {
++    if (unlikely(__pyx_t_2)) {
+ 
+-      /* "View.MemoryView":914
++      /* "View.MemoryView":923
+  *         index += view.shape[dim]
+  *         if index < 0:
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)             # <<<<<<<<<<<<<<
+  * 
+  *     if index >= shape:
+  */
+-      __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_IndexError, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_GIVEREF(__pyx_t_4);
+-      PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
+-      __pyx_t_4 = 0;
+-      __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 914, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_4);
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __PYX_ERR(2, 914, __pyx_L1_error)
++      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __PYX_ERR(2, 923, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":913
++      /* "View.MemoryView":922
+  *     if index < 0:
+  *         index += view.shape[dim]
+  *         if index < 0:             # <<<<<<<<<<<<<<
+@@ -19594,7 +21107,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     }
+ 
+-    /* "View.MemoryView":911
++    /* "View.MemoryView":920
+  *             suboffset = view.suboffsets[dim]
+  * 
+  *     if index < 0:             # <<<<<<<<<<<<<<
+@@ -19603,7 +21116,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":916
++  /* "View.MemoryView":925
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     if index >= shape:             # <<<<<<<<<<<<<<
+@@ -19611,33 +21124,28 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  * 
+  */
+   __pyx_t_2 = ((__pyx_v_index >= __pyx_v_shape) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":917
++    /* "View.MemoryView":926
+  * 
+  *     if index >= shape:
+  *         raise IndexError("Out of bounds on buffer access (axis %d)" % dim)             # <<<<<<<<<<<<<<
+  * 
+  *     resultp = bufp + index * stride
+  */
+-    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 917, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-    __pyx_t_3 = 0;
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_IndexError, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 917, __pyx_L1_error)
++    __PYX_ERR(2, 926, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":916
++    /* "View.MemoryView":925
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     if index >= shape:             # <<<<<<<<<<<<<<
+@@ -19646,7 +21154,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":919
++  /* "View.MemoryView":928
+  *         raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     resultp = bufp + index * stride             # <<<<<<<<<<<<<<
+@@ -19655,7 +21163,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   __pyx_v_resultp = (__pyx_v_bufp + (__pyx_v_index * __pyx_v_stride));
+ 
+-  /* "View.MemoryView":920
++  /* "View.MemoryView":929
+  * 
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -19665,7 +21173,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_suboffset >= 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":921
++    /* "View.MemoryView":930
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:
+  *         resultp = ( resultp)[0] + suboffset             # <<<<<<<<<<<<<<
+@@ -19674,7 +21182,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_resultp = ((((char **)__pyx_v_resultp)[0]) + __pyx_v_suboffset);
+ 
+-    /* "View.MemoryView":920
++    /* "View.MemoryView":929
+  * 
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -19683,7 +21191,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":923
++  /* "View.MemoryView":932
+  *         resultp = ( resultp)[0] + suboffset
+  * 
+  *     return resultp             # <<<<<<<<<<<<<<
+@@ -19693,7 +21201,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_r = __pyx_v_resultp;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":896
++  /* "View.MemoryView":905
+  * 
+  * @cname('__pyx_pybuffer_index')
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,             # <<<<<<<<<<<<<<
+@@ -19712,7 +21220,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":929
++/* "View.MemoryView":938
+  * 
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:             # <<<<<<<<<<<<<<
+@@ -19730,13 +21238,14 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   int __pyx_t_1;
+   Py_ssize_t *__pyx_t_2;
+   long __pyx_t_3;
+-  Py_ssize_t __pyx_t_4;
++  long __pyx_t_4;
+   Py_ssize_t __pyx_t_5;
+-  int __pyx_t_6;
++  Py_ssize_t __pyx_t_6;
+   int __pyx_t_7;
+   int __pyx_t_8;
++  int __pyx_t_9;
+ 
+-  /* "View.MemoryView":930
++  /* "View.MemoryView":939
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:
+  *     cdef int ndim = memslice.memview.view.ndim             # <<<<<<<<<<<<<<
+@@ -19746,7 +21255,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_1 = __pyx_v_memslice->memview->view.ndim;
+   __pyx_v_ndim = __pyx_t_1;
+ 
+-  /* "View.MemoryView":932
++  /* "View.MemoryView":941
+  *     cdef int ndim = memslice.memview.view.ndim
+  * 
+  *     cdef Py_ssize_t *shape = memslice.shape             # <<<<<<<<<<<<<<
+@@ -19756,7 +21265,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_2 = __pyx_v_memslice->shape;
+   __pyx_v_shape = __pyx_t_2;
+ 
+-  /* "View.MemoryView":933
++  /* "View.MemoryView":942
+  * 
+  *     cdef Py_ssize_t *shape = memslice.shape
+  *     cdef Py_ssize_t *strides = memslice.strides             # <<<<<<<<<<<<<<
+@@ -19766,7 +21275,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_2 = __pyx_v_memslice->strides;
+   __pyx_v_strides = __pyx_t_2;
+ 
+-  /* "View.MemoryView":937
++  /* "View.MemoryView":946
+  * 
+  *     cdef int i, j
+  *     for i in range(ndim / 2):             # <<<<<<<<<<<<<<
+@@ -19774,10 +21283,11 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+  *         strides[i], strides[j] = strides[j], strides[i]
+  */
+   __pyx_t_3 = __Pyx_div_long(__pyx_v_ndim, 2);
+-  for (__pyx_t_1 = 0; __pyx_t_1 < __pyx_t_3; __pyx_t_1+=1) {
++  __pyx_t_4 = __pyx_t_3;
++  for (__pyx_t_1 = 0; __pyx_t_1 < __pyx_t_4; __pyx_t_1+=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":938
++    /* "View.MemoryView":947
+  *     cdef int i, j
+  *     for i in range(ndim / 2):
+  *         j = ndim - 1 - i             # <<<<<<<<<<<<<<
+@@ -19786,58 +21296,58 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+  */
+     __pyx_v_j = ((__pyx_v_ndim - 1) - __pyx_v_i);
+ 
+-    /* "View.MemoryView":939
++    /* "View.MemoryView":948
+  *     for i in range(ndim / 2):
+  *         j = ndim - 1 - i
+  *         strides[i], strides[j] = strides[j], strides[i]             # <<<<<<<<<<<<<<
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  */
+-    __pyx_t_4 = (__pyx_v_strides[__pyx_v_j]);
+-    __pyx_t_5 = (__pyx_v_strides[__pyx_v_i]);
+-    (__pyx_v_strides[__pyx_v_i]) = __pyx_t_4;
+-    (__pyx_v_strides[__pyx_v_j]) = __pyx_t_5;
++    __pyx_t_5 = (__pyx_v_strides[__pyx_v_j]);
++    __pyx_t_6 = (__pyx_v_strides[__pyx_v_i]);
++    (__pyx_v_strides[__pyx_v_i]) = __pyx_t_5;
++    (__pyx_v_strides[__pyx_v_j]) = __pyx_t_6;
+ 
+-    /* "View.MemoryView":940
++    /* "View.MemoryView":949
+  *         j = ndim - 1 - i
+  *         strides[i], strides[j] = strides[j], strides[i]
+  *         shape[i], shape[j] = shape[j], shape[i]             # <<<<<<<<<<<<<<
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:
+  */
+-    __pyx_t_5 = (__pyx_v_shape[__pyx_v_j]);
+-    __pyx_t_4 = (__pyx_v_shape[__pyx_v_i]);
+-    (__pyx_v_shape[__pyx_v_i]) = __pyx_t_5;
+-    (__pyx_v_shape[__pyx_v_j]) = __pyx_t_4;
++    __pyx_t_6 = (__pyx_v_shape[__pyx_v_j]);
++    __pyx_t_5 = (__pyx_v_shape[__pyx_v_i]);
++    (__pyx_v_shape[__pyx_v_i]) = __pyx_t_6;
++    (__pyx_v_shape[__pyx_v_j]) = __pyx_t_5;
+ 
+-    /* "View.MemoryView":942
++    /* "View.MemoryView":951
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:             # <<<<<<<<<<<<<<
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")
+  * 
+  */
+-    __pyx_t_7 = (((__pyx_v_memslice->suboffsets[__pyx_v_i]) >= 0) != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (((__pyx_v_memslice->suboffsets[__pyx_v_i]) >= 0) != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_6 = __pyx_t_7;
++      __pyx_t_7 = __pyx_t_8;
+       goto __pyx_L6_bool_binop_done;
+     }
+-    __pyx_t_7 = (((__pyx_v_memslice->suboffsets[__pyx_v_j]) >= 0) != 0);
+-    __pyx_t_6 = __pyx_t_7;
++    __pyx_t_8 = (((__pyx_v_memslice->suboffsets[__pyx_v_j]) >= 0) != 0);
++    __pyx_t_7 = __pyx_t_8;
+     __pyx_L6_bool_binop_done:;
+-    if (__pyx_t_6) {
++    if (__pyx_t_7) {
+ 
+-      /* "View.MemoryView":943
++      /* "View.MemoryView":952
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")             # <<<<<<<<<<<<<<
+  * 
+  *     return 1
+  */
+-      __pyx_t_8 = __pyx_memoryview_err(__pyx_builtin_ValueError, ((char *)"Cannot transpose memoryview with indirect dimensions")); if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(2, 943, __pyx_L1_error)
++      __pyx_t_9 = __pyx_memoryview_err(__pyx_builtin_ValueError, ((char *)"Cannot transpose memoryview with indirect dimensions")); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 952, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":942
++      /* "View.MemoryView":951
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:             # <<<<<<<<<<<<<<
+@@ -19847,7 +21357,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+     }
+   }
+ 
+-  /* "View.MemoryView":945
++  /* "View.MemoryView":954
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")
+  * 
+  *     return 1             # <<<<<<<<<<<<<<
+@@ -19857,7 +21367,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_r = 1;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":929
++  /* "View.MemoryView":938
+  * 
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:             # <<<<<<<<<<<<<<
+@@ -19869,11 +21379,11 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.transpose_memslice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = 0;
+@@ -19881,7 +21391,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":962
++/* "View.MemoryView":971
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     def __dealloc__(self):             # <<<<<<<<<<<<<<
+@@ -19904,7 +21414,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":963
++  /* "View.MemoryView":972
+  * 
+  *     def __dealloc__(self):
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)             # <<<<<<<<<<<<<<
+@@ -19913,7 +21423,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+  */
+   __PYX_XDEC_MEMVIEW((&__pyx_v_self->from_slice), 1);
+ 
+-  /* "View.MemoryView":962
++  /* "View.MemoryView":971
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     def __dealloc__(self):             # <<<<<<<<<<<<<<
+@@ -19925,7 +21435,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":965
++/* "View.MemoryView":974
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -19940,7 +21450,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("convert_item_to_object", 0);
+ 
+-  /* "View.MemoryView":966
++  /* "View.MemoryView":975
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:             # <<<<<<<<<<<<<<
+@@ -19950,7 +21460,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   __pyx_t_1 = ((__pyx_v_self->to_object_func != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":967
++    /* "View.MemoryView":976
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:
+  *             return self.to_object_func(itemp)             # <<<<<<<<<<<<<<
+@@ -19958,13 +21468,13 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  *             return memoryview.convert_item_to_object(self, itemp)
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __pyx_v_self->to_object_func(__pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 967, __pyx_L1_error)
++    __pyx_t_2 = __pyx_v_self->to_object_func(__pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 976, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __pyx_r = __pyx_t_2;
+     __pyx_t_2 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":966
++    /* "View.MemoryView":975
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:             # <<<<<<<<<<<<<<
+@@ -19973,7 +21483,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  */
+   }
+ 
+-  /* "View.MemoryView":969
++  /* "View.MemoryView":978
+  *             return self.to_object_func(itemp)
+  *         else:
+  *             return memoryview.convert_item_to_object(self, itemp)             # <<<<<<<<<<<<<<
+@@ -19982,14 +21492,14 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  */
+   /*else*/ {
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __pyx_memoryview_convert_item_to_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 969, __pyx_L1_error)
++    __pyx_t_2 = __pyx_memoryview_convert_item_to_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 978, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __pyx_r = __pyx_t_2;
+     __pyx_t_2 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":965
++  /* "View.MemoryView":974
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -20008,7 +21518,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":971
++/* "View.MemoryView":980
+  *             return memoryview.convert_item_to_object(self, itemp)
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -20024,7 +21534,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("assign_item_from_object", 0);
+ 
+-  /* "View.MemoryView":972
++  /* "View.MemoryView":981
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:             # <<<<<<<<<<<<<<
+@@ -20034,16 +21544,16 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   __pyx_t_1 = ((__pyx_v_self->to_dtype_func != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":973
++    /* "View.MemoryView":982
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:
+  *             self.to_dtype_func(itemp, value)             # <<<<<<<<<<<<<<
+  *         else:
+  *             memoryview.assign_item_from_object(self, itemp, value)
+  */
+-    __pyx_t_2 = __pyx_v_self->to_dtype_func(__pyx_v_itemp, __pyx_v_value); if (unlikely(__pyx_t_2 == 0)) __PYX_ERR(2, 973, __pyx_L1_error)
++    __pyx_t_2 = __pyx_v_self->to_dtype_func(__pyx_v_itemp, __pyx_v_value); if (unlikely(__pyx_t_2 == ((int)0))) __PYX_ERR(2, 982, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":972
++    /* "View.MemoryView":981
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:             # <<<<<<<<<<<<<<
+@@ -20053,7 +21563,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":975
++  /* "View.MemoryView":984
+  *             self.to_dtype_func(itemp, value)
+  *         else:
+  *             memoryview.assign_item_from_object(self, itemp, value)             # <<<<<<<<<<<<<<
+@@ -20061,13 +21571,13 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+  *     @property
+  */
+   /*else*/ {
+-    __pyx_t_3 = __pyx_memoryview_assign_item_from_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 975, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_assign_item_from_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 984, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":971
++  /* "View.MemoryView":980
+  *             return memoryview.convert_item_to_object(self, itemp)
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -20088,7 +21598,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":978
++/* "View.MemoryView":987
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -20114,7 +21624,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":979
++  /* "View.MemoryView":988
+  *     @property
+  *     def base(self):
+  *         return self.from_object             # <<<<<<<<<<<<<<
+@@ -20126,7 +21636,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   __pyx_r = __pyx_v_self->from_object;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":978
++  /* "View.MemoryView":987
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -20141,7 +21651,114 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":985
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__61, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryviewslice_2__setstate_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__62, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":994
+  * 
+  * @cname('__pyx_memoryview_fromslice')
+  * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice,             # <<<<<<<<<<<<<<
+@@ -20166,7 +21783,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   Py_ssize_t __pyx_t_9;
+   __Pyx_RefNannySetupContext("memoryview_fromslice", 0);
+ 
+-  /* "View.MemoryView":993
++  /* "View.MemoryView":1002
+  *     cdef _memoryviewslice result
+  * 
+  *     if  memviewslice.memview == Py_None:             # <<<<<<<<<<<<<<
+@@ -20176,7 +21793,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_1 = ((((PyObject *)__pyx_v_memviewslice.memview) == Py_None) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":994
++    /* "View.MemoryView":1003
+  * 
+  *     if  memviewslice.memview == Py_None:
+  *         return None             # <<<<<<<<<<<<<<
+@@ -20184,11 +21801,10 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  * 
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __Pyx_INCREF(Py_None);
+-    __pyx_r = Py_None;
++    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":993
++    /* "View.MemoryView":1002
+  *     cdef _memoryviewslice result
+  * 
+  *     if  memviewslice.memview == Py_None:             # <<<<<<<<<<<<<<
+@@ -20197,16 +21813,16 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   }
+ 
+-  /* "View.MemoryView":999
++  /* "View.MemoryView":1008
+  * 
+  * 
+  *     result = _memoryviewslice(None, 0, dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  *     result.from_slice = memviewslice
+  */
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(Py_None);
+   __Pyx_GIVEREF(Py_None);
+@@ -20217,13 +21833,13 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __Pyx_GIVEREF(__pyx_t_2);
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryviewslice_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryviewslice_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_2);
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":1001
++  /* "View.MemoryView":1010
+  *     result = _memoryviewslice(None, 0, dtype_is_object)
+  * 
+  *     result.from_slice = memviewslice             # <<<<<<<<<<<<<<
+@@ -20232,7 +21848,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->from_slice = __pyx_v_memviewslice;
+ 
+-  /* "View.MemoryView":1002
++  /* "View.MemoryView":1011
+  * 
+  *     result.from_slice = memviewslice
+  *     __PYX_INC_MEMVIEW(&memviewslice, 1)             # <<<<<<<<<<<<<<
+@@ -20241,14 +21857,14 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __PYX_INC_MEMVIEW((&__pyx_v_memviewslice), 1);
+ 
+-  /* "View.MemoryView":1004
++  /* "View.MemoryView":1013
+  *     __PYX_INC_MEMVIEW(&memviewslice, 1)
+  * 
+  *     result.from_object = ( memviewslice.memview).base             # <<<<<<<<<<<<<<
+  *     result.typeinfo = memviewslice.memview.typeinfo
+  * 
+  */
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_memviewslice.memview), __pyx_n_s_base); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1004, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_memviewslice.memview), __pyx_n_s_base); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1013, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_GIVEREF(__pyx_t_2);
+   __Pyx_GOTREF(__pyx_v_result->from_object);
+@@ -20256,7 +21872,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_v_result->from_object = __pyx_t_2;
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":1005
++  /* "View.MemoryView":1014
+  * 
+  *     result.from_object = ( memviewslice.memview).base
+  *     result.typeinfo = memviewslice.memview.typeinfo             # <<<<<<<<<<<<<<
+@@ -20266,7 +21882,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_4 = __pyx_v_memviewslice.memview->typeinfo;
+   __pyx_v_result->__pyx_base.typeinfo = __pyx_t_4;
+ 
+-  /* "View.MemoryView":1007
++  /* "View.MemoryView":1016
+  *     result.typeinfo = memviewslice.memview.typeinfo
+  * 
+  *     result.view = memviewslice.memview.view             # <<<<<<<<<<<<<<
+@@ -20276,7 +21892,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_5 = __pyx_v_memviewslice.memview->view;
+   __pyx_v_result->__pyx_base.view = __pyx_t_5;
+ 
+-  /* "View.MemoryView":1008
++  /* "View.MemoryView":1017
+  * 
+  *     result.view = memviewslice.memview.view
+  *     result.view.buf =  memviewslice.data             # <<<<<<<<<<<<<<
+@@ -20285,7 +21901,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.buf = ((void *)__pyx_v_memviewslice.data);
+ 
+-  /* "View.MemoryView":1009
++  /* "View.MemoryView":1018
+  *     result.view = memviewslice.memview.view
+  *     result.view.buf =  memviewslice.data
+  *     result.view.ndim = ndim             # <<<<<<<<<<<<<<
+@@ -20294,7 +21910,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.ndim = __pyx_v_ndim;
+ 
+-  /* "View.MemoryView":1010
++  /* "View.MemoryView":1019
+  *     result.view.buf =  memviewslice.data
+  *     result.view.ndim = ndim
+  *     (<__pyx_buffer *> &result.view).obj = Py_None             # <<<<<<<<<<<<<<
+@@ -20303,26 +21919,58 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   ((Py_buffer *)(&__pyx_v_result->__pyx_base.view))->obj = Py_None;
+ 
+-  /* "View.MemoryView":1011
++  /* "View.MemoryView":1020
+  *     result.view.ndim = ndim
+  *     (<__pyx_buffer *> &result.view).obj = Py_None
+  *     Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+  * 
+- *     result.flags = PyBUF_RECORDS
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:
+  */
+   Py_INCREF(Py_None);
+ 
+-  /* "View.MemoryView":1013
++  /* "View.MemoryView":1022
++ *     Py_INCREF(Py_None)
++ * 
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:             # <<<<<<<<<<<<<<
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ */
++  __pyx_t_1 = ((((struct __pyx_memoryview_obj *)__pyx_v_memviewslice.memview)->flags & PyBUF_WRITABLE) != 0);
++  if (__pyx_t_1) {
++
++    /* "View.MemoryView":1023
++ * 
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:
++ *         result.flags = PyBUF_RECORDS             # <<<<<<<<<<<<<<
++ *     else:
++ *         result.flags = PyBUF_RECORDS_RO
++ */
++    __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS;
++
++    /* "View.MemoryView":1022
+  *     Py_INCREF(Py_None)
+  * 
+- *     result.flags = PyBUF_RECORDS             # <<<<<<<<<<<<<<
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:             # <<<<<<<<<<<<<<
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ */
++    goto __pyx_L4;
++  }
++
++  /* "View.MemoryView":1025
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ *         result.flags = PyBUF_RECORDS_RO             # <<<<<<<<<<<<<<
+  * 
+  *     result.view.shape =  result.from_slice.shape
+  */
+-  __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS;
++  /*else*/ {
++    __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS_RO;
++  }
++  __pyx_L4:;
+ 
+-  /* "View.MemoryView":1015
+- *     result.flags = PyBUF_RECORDS
++  /* "View.MemoryView":1027
++ *         result.flags = PyBUF_RECORDS_RO
+  * 
+  *     result.view.shape =  result.from_slice.shape             # <<<<<<<<<<<<<<
+  *     result.view.strides =  result.from_slice.strides
+@@ -20330,7 +21978,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.shape = ((Py_ssize_t *)__pyx_v_result->from_slice.shape);
+ 
+-  /* "View.MemoryView":1016
++  /* "View.MemoryView":1028
+  * 
+  *     result.view.shape =  result.from_slice.shape
+  *     result.view.strides =  result.from_slice.strides             # <<<<<<<<<<<<<<
+@@ -20339,7 +21987,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.strides = ((Py_ssize_t *)__pyx_v_result->from_slice.strides);
+ 
+-  /* "View.MemoryView":1019
++  /* "View.MemoryView":1031
+  * 
+  * 
+  *     result.view.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -20348,7 +21996,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.suboffsets = NULL;
+ 
+-  /* "View.MemoryView":1020
++  /* "View.MemoryView":1032
+  * 
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:             # <<<<<<<<<<<<<<
+@@ -20360,7 +22008,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+     __pyx_t_6 = __pyx_t_8;
+     __pyx_v_suboffset = (__pyx_t_6[0]);
+ 
+-    /* "View.MemoryView":1021
++    /* "View.MemoryView":1033
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -20370,7 +22018,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+     __pyx_t_1 = ((__pyx_v_suboffset >= 0) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":1022
++      /* "View.MemoryView":1034
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             result.view.suboffsets =  result.from_slice.suboffsets             # <<<<<<<<<<<<<<
+@@ -20379,16 +22027,16 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+       __pyx_v_result->__pyx_base.view.suboffsets = ((Py_ssize_t *)__pyx_v_result->from_slice.suboffsets);
+ 
+-      /* "View.MemoryView":1023
++      /* "View.MemoryView":1035
+  *         if suboffset >= 0:
+  *             result.view.suboffsets =  result.from_slice.suboffsets
+  *             break             # <<<<<<<<<<<<<<
+  * 
+  *     result.view.len = result.view.itemsize
+  */
+-      goto __pyx_L5_break;
++      goto __pyx_L6_break;
+ 
+-      /* "View.MemoryView":1021
++      /* "View.MemoryView":1033
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -20397,9 +22045,9 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+     }
+   }
+-  __pyx_L5_break:;
++  __pyx_L6_break:;
+ 
+-  /* "View.MemoryView":1025
++  /* "View.MemoryView":1037
+  *             break
+  * 
+  *     result.view.len = result.view.itemsize             # <<<<<<<<<<<<<<
+@@ -20409,7 +22057,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_9 = __pyx_v_result->__pyx_base.view.itemsize;
+   __pyx_v_result->__pyx_base.view.len = __pyx_t_9;
+ 
+-  /* "View.MemoryView":1026
++  /* "View.MemoryView":1038
+  * 
+  *     result.view.len = result.view.itemsize
+  *     for length in result.view.shape[:ndim]:             # <<<<<<<<<<<<<<
+@@ -20419,29 +22067,29 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_7 = (__pyx_v_result->__pyx_base.view.shape + __pyx_v_ndim);
+   for (__pyx_t_8 = __pyx_v_result->__pyx_base.view.shape; __pyx_t_8 < __pyx_t_7; __pyx_t_8++) {
+     __pyx_t_6 = __pyx_t_8;
+-    __pyx_t_2 = PyInt_FromSsize_t((__pyx_t_6[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1026, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t((__pyx_t_6[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1038, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_2);
+     __pyx_t_2 = 0;
+ 
+-    /* "View.MemoryView":1027
++    /* "View.MemoryView":1039
+  *     result.view.len = result.view.itemsize
+  *     for length in result.view.shape[:ndim]:
+  *         result.view.len *= length             # <<<<<<<<<<<<<<
+  * 
+  *     result.to_object_func = to_object_func
+  */
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_result->__pyx_base.view.len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_result->__pyx_base.view.len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PyNumber_InPlaceMultiply(__pyx_t_2, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_InPlaceMultiply(__pyx_t_2, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_result->__pyx_base.view.len = __pyx_t_9;
+   }
+ 
+-  /* "View.MemoryView":1029
++  /* "View.MemoryView":1041
+  *         result.view.len *= length
+  * 
+  *     result.to_object_func = to_object_func             # <<<<<<<<<<<<<<
+@@ -20450,7 +22098,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->to_object_func = __pyx_v_to_object_func;
+ 
+-  /* "View.MemoryView":1030
++  /* "View.MemoryView":1042
+  * 
+  *     result.to_object_func = to_object_func
+  *     result.to_dtype_func = to_dtype_func             # <<<<<<<<<<<<<<
+@@ -20459,7 +22107,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->to_dtype_func = __pyx_v_to_dtype_func;
+ 
+-  /* "View.MemoryView":1032
++  /* "View.MemoryView":1044
+  *     result.to_dtype_func = to_dtype_func
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -20471,7 +22119,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":985
++  /* "View.MemoryView":994
+  * 
+  * @cname('__pyx_memoryview_fromslice')
+  * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice,             # <<<<<<<<<<<<<<
+@@ -20493,7 +22141,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1035
++/* "View.MemoryView":1047
+  * 
+  * @cname('__pyx_memoryview_get_slice_from_memoryview')
+  * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview,             # <<<<<<<<<<<<<<
+@@ -20510,7 +22158,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("get_slice_from_memview", 0);
+ 
+-  /* "View.MemoryView":1038
++  /* "View.MemoryView":1050
+  *                                                    __Pyx_memviewslice *mslice):
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -20521,20 +22169,20 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1039
++    /* "View.MemoryView":1051
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):
+  *         obj = memview             # <<<<<<<<<<<<<<
+  *         return &obj.from_slice
+  *     else:
+  */
+-    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 1039, __pyx_L1_error)
++    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 1051, __pyx_L1_error)
+     __pyx_t_3 = ((PyObject *)__pyx_v_memview);
+     __Pyx_INCREF(__pyx_t_3);
+     __pyx_v_obj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":1040
++    /* "View.MemoryView":1052
+  *     if isinstance(memview, _memoryviewslice):
+  *         obj = memview
+  *         return &obj.from_slice             # <<<<<<<<<<<<<<
+@@ -20544,7 +22192,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+     __pyx_r = (&__pyx_v_obj->from_slice);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1038
++    /* "View.MemoryView":1050
+  *                                                    __Pyx_memviewslice *mslice):
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -20553,7 +22201,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+  */
+   }
+ 
+-  /* "View.MemoryView":1042
++  /* "View.MemoryView":1054
+  *         return &obj.from_slice
+  *     else:
+  *         slice_copy(memview, mslice)             # <<<<<<<<<<<<<<
+@@ -20563,7 +22211,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   /*else*/ {
+     __pyx_memoryview_slice_copy(__pyx_v_memview, __pyx_v_mslice);
+ 
+-    /* "View.MemoryView":1043
++    /* "View.MemoryView":1055
+  *     else:
+  *         slice_copy(memview, mslice)
+  *         return mslice             # <<<<<<<<<<<<<<
+@@ -20574,7 +22222,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1035
++  /* "View.MemoryView":1047
+  * 
+  * @cname('__pyx_memoryview_get_slice_from_memoryview')
+  * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview,             # <<<<<<<<<<<<<<
+@@ -20585,7 +22233,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_3);
+-  __Pyx_WriteUnraisable("View.MemoryView.get_slice_from_memview", __pyx_clineno, __pyx_lineno, __pyx_filename, 0, 0);
++  __Pyx_WriteUnraisable("View.MemoryView.get_slice_from_memview", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0);
+   __pyx_r = 0;
+   __pyx_L0:;
+   __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+@@ -20593,7 +22241,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1046
++/* "View.MemoryView":1058
+  * 
+  * @cname('__pyx_memoryview_slice_copy')
+  * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst):             # <<<<<<<<<<<<<<
+@@ -20610,10 +22258,11 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   Py_ssize_t *__pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
+-  Py_ssize_t __pyx_t_4;
++  int __pyx_t_4;
++  Py_ssize_t __pyx_t_5;
+   __Pyx_RefNannySetupContext("slice_copy", 0);
+ 
+-  /* "View.MemoryView":1050
++  /* "View.MemoryView":1062
+  *     cdef (Py_ssize_t*) shape, strides, suboffsets
+  * 
+  *     shape = memview.view.shape             # <<<<<<<<<<<<<<
+@@ -20623,7 +22272,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.shape;
+   __pyx_v_shape = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1051
++  /* "View.MemoryView":1063
+  * 
+  *     shape = memview.view.shape
+  *     strides = memview.view.strides             # <<<<<<<<<<<<<<
+@@ -20633,7 +22282,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.strides;
+   __pyx_v_strides = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1052
++  /* "View.MemoryView":1064
+  *     shape = memview.view.shape
+  *     strides = memview.view.strides
+  *     suboffsets = memview.view.suboffsets             # <<<<<<<<<<<<<<
+@@ -20643,7 +22292,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.suboffsets;
+   __pyx_v_suboffsets = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1054
++  /* "View.MemoryView":1066
+  *     suboffsets = memview.view.suboffsets
+  * 
+  *     dst.memview = <__pyx_memoryview *> memview             # <<<<<<<<<<<<<<
+@@ -20652,7 +22301,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+   __pyx_v_dst->memview = ((struct __pyx_memoryview_obj *)__pyx_v_memview);
+ 
+-  /* "View.MemoryView":1055
++  /* "View.MemoryView":1067
+  * 
+  *     dst.memview = <__pyx_memoryview *> memview
+  *     dst.data =  memview.view.buf             # <<<<<<<<<<<<<<
+@@ -20661,7 +22310,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+   __pyx_v_dst->data = ((char *)__pyx_v_memview->view.buf);
+ 
+-  /* "View.MemoryView":1057
++  /* "View.MemoryView":1069
+  *     dst.data =  memview.view.buf
+  * 
+  *     for dim in range(memview.view.ndim):             # <<<<<<<<<<<<<<
+@@ -20669,10 +22318,11 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  *         dst.strides[dim] = strides[dim]
+  */
+   __pyx_t_2 = __pyx_v_memview->view.ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-    __pyx_v_dim = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_2;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_dim = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1058
++    /* "View.MemoryView":1070
+  * 
+  *     for dim in range(memview.view.ndim):
+  *         dst.shape[dim] = shape[dim]             # <<<<<<<<<<<<<<
+@@ -20681,7 +22331,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+     (__pyx_v_dst->shape[__pyx_v_dim]) = (__pyx_v_shape[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":1059
++    /* "View.MemoryView":1071
+  *     for dim in range(memview.view.ndim):
+  *         dst.shape[dim] = shape[dim]
+  *         dst.strides[dim] = strides[dim]             # <<<<<<<<<<<<<<
+@@ -20690,7 +22340,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+     (__pyx_v_dst->strides[__pyx_v_dim]) = (__pyx_v_strides[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":1060
++    /* "View.MemoryView":1072
+  *         dst.shape[dim] = shape[dim]
+  *         dst.strides[dim] = strides[dim]
+  *         dst.suboffsets[dim] = suboffsets[dim] if suboffsets else -1             # <<<<<<<<<<<<<<
+@@ -20698,14 +22348,14 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  * @cname('__pyx_memoryview_copy_object')
+  */
+     if ((__pyx_v_suboffsets != 0)) {
+-      __pyx_t_4 = (__pyx_v_suboffsets[__pyx_v_dim]);
++      __pyx_t_5 = (__pyx_v_suboffsets[__pyx_v_dim]);
+     } else {
+-      __pyx_t_4 = -1L;
++      __pyx_t_5 = -1L;
+     }
+-    (__pyx_v_dst->suboffsets[__pyx_v_dim]) = __pyx_t_4;
++    (__pyx_v_dst->suboffsets[__pyx_v_dim]) = __pyx_t_5;
+   }
+ 
+-  /* "View.MemoryView":1046
++  /* "View.MemoryView":1058
+  * 
+  * @cname('__pyx_memoryview_slice_copy')
+  * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst):             # <<<<<<<<<<<<<<
+@@ -20717,7 +22367,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":1063
++/* "View.MemoryView":1075
+  * 
+  * @cname('__pyx_memoryview_copy_object')
+  * cdef memoryview_copy(memoryview memview):             # <<<<<<<<<<<<<<
+@@ -20732,7 +22382,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_copy", 0);
+ 
+-  /* "View.MemoryView":1066
++  /* "View.MemoryView":1078
+  *     "Create a new memoryview object"
+  *     cdef __Pyx_memviewslice memviewslice
+  *     slice_copy(memview, &memviewslice)             # <<<<<<<<<<<<<<
+@@ -20741,7 +22391,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_memviewslice));
+ 
+-  /* "View.MemoryView":1067
++  /* "View.MemoryView":1079
+  *     cdef __Pyx_memviewslice memviewslice
+  *     slice_copy(memview, &memviewslice)
+  *     return memoryview_copy_from_slice(memview, &memviewslice)             # <<<<<<<<<<<<<<
+@@ -20749,13 +22399,13 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __pyx_memoryview_copy_object_from_slice(__pyx_v_memview, (&__pyx_v_memviewslice)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1067, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_object_from_slice(__pyx_v_memview, (&__pyx_v_memviewslice)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1079, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1063
++  /* "View.MemoryView":1075
+  * 
+  * @cname('__pyx_memoryview_copy_object')
+  * cdef memoryview_copy(memoryview memview):             # <<<<<<<<<<<<<<
+@@ -20774,7 +22424,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1070
++/* "View.MemoryView":1082
+  * 
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice):             # <<<<<<<<<<<<<<
+@@ -20794,7 +22444,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 0);
+ 
+-  /* "View.MemoryView":1077
++  /* "View.MemoryView":1089
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -20805,7 +22455,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1078
++    /* "View.MemoryView":1090
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         to_object_func = (<_memoryviewslice> memview).to_object_func             # <<<<<<<<<<<<<<
+@@ -20815,7 +22465,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     __pyx_t_3 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_object_func;
+     __pyx_v_to_object_func = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1079
++    /* "View.MemoryView":1091
+  *     if isinstance(memview, _memoryviewslice):
+  *         to_object_func = (<_memoryviewslice> memview).to_object_func
+  *         to_dtype_func = (<_memoryviewslice> memview).to_dtype_func             # <<<<<<<<<<<<<<
+@@ -20825,7 +22475,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     __pyx_t_4 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_dtype_func;
+     __pyx_v_to_dtype_func = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1077
++    /* "View.MemoryView":1089
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -20835,7 +22485,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1081
++  /* "View.MemoryView":1093
+  *         to_dtype_func = (<_memoryviewslice> memview).to_dtype_func
+  *     else:
+  *         to_object_func = NULL             # <<<<<<<<<<<<<<
+@@ -20845,7 +22495,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   /*else*/ {
+     __pyx_v_to_object_func = NULL;
+ 
+-    /* "View.MemoryView":1082
++    /* "View.MemoryView":1094
+  *     else:
+  *         to_object_func = NULL
+  *         to_dtype_func = NULL             # <<<<<<<<<<<<<<
+@@ -20856,7 +22506,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1084
++  /* "View.MemoryView":1096
+  *         to_dtype_func = NULL
+  * 
+  *     return memoryview_fromslice(memviewslice[0], memview.view.ndim,             # <<<<<<<<<<<<<<
+@@ -20865,20 +22515,20 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+  */
+   __Pyx_XDECREF(__pyx_r);
+ 
+-  /* "View.MemoryView":1086
++  /* "View.MemoryView":1098
+  *     return memoryview_fromslice(memviewslice[0], memview.view.ndim,
+  *                                 to_object_func, to_dtype_func,
+  *                                 memview.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_5 = __pyx_memoryview_fromslice((__pyx_v_memviewslice[0]), __pyx_v_memview->view.ndim, __pyx_v_to_object_func, __pyx_v_to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1084, __pyx_L1_error)
++  __pyx_t_5 = __pyx_memoryview_fromslice((__pyx_v_memviewslice[0]), __pyx_v_memview->view.ndim, __pyx_v_to_object_func, __pyx_v_to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1096, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __pyx_r = __pyx_t_5;
+   __pyx_t_5 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1070
++  /* "View.MemoryView":1082
+  * 
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice):             # <<<<<<<<<<<<<<
+@@ -20897,7 +22547,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1092
++/* "View.MemoryView":1104
+  * 
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:             # <<<<<<<<<<<<<<
+@@ -20909,7 +22559,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   Py_ssize_t __pyx_r;
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":1093
++  /* "View.MemoryView":1105
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:             # <<<<<<<<<<<<<<
+@@ -20919,7 +22569,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   __pyx_t_1 = ((__pyx_v_arg < 0) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1094
++    /* "View.MemoryView":1106
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:
+  *         return -arg             # <<<<<<<<<<<<<<
+@@ -20929,7 +22579,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+     __pyx_r = (-__pyx_v_arg);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1093
++    /* "View.MemoryView":1105
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:             # <<<<<<<<<<<<<<
+@@ -20938,7 +22588,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+  */
+   }
+ 
+-  /* "View.MemoryView":1096
++  /* "View.MemoryView":1108
+  *         return -arg
+  *     else:
+  *         return arg             # <<<<<<<<<<<<<<
+@@ -20950,7 +22600,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1092
++  /* "View.MemoryView":1104
+  * 
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:             # <<<<<<<<<<<<<<
+@@ -20963,7 +22613,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1099
++/* "View.MemoryView":1111
+  * 
+  * @cname('__pyx_get_best_slice_order')
+  * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -20979,8 +22629,9 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   int __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1104
++  /* "View.MemoryView":1116
+  *     """
+  *     cdef int i
+  *     cdef Py_ssize_t c_stride = 0             # <<<<<<<<<<<<<<
+@@ -20989,7 +22640,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   __pyx_v_c_stride = 0;
+ 
+-  /* "View.MemoryView":1105
++  /* "View.MemoryView":1117
+  *     cdef int i
+  *     cdef Py_ssize_t c_stride = 0
+  *     cdef Py_ssize_t f_stride = 0             # <<<<<<<<<<<<<<
+@@ -20998,17 +22649,17 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   __pyx_v_f_stride = 0;
+ 
+-  /* "View.MemoryView":1107
++  /* "View.MemoryView":1119
+  *     cdef Py_ssize_t f_stride = 0
+  * 
+  *     for i in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]
+  */
+-  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1L; __pyx_t_1-=1) {
++  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":1108
++    /* "View.MemoryView":1120
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -21018,7 +22669,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_t_2 = (((__pyx_v_mslice->shape[__pyx_v_i]) > 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1109
++      /* "View.MemoryView":1121
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -21027,7 +22678,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       __pyx_v_c_stride = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-      /* "View.MemoryView":1110
++      /* "View.MemoryView":1122
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]
+  *             break             # <<<<<<<<<<<<<<
+@@ -21036,7 +22687,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       goto __pyx_L4_break;
+ 
+-      /* "View.MemoryView":1108
++      /* "View.MemoryView":1120
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -21047,7 +22698,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   }
+   __pyx_L4_break:;
+ 
+-  /* "View.MemoryView":1112
++  /* "View.MemoryView":1124
+  *             break
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -21055,10 +22706,11 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  *             f_stride = mslice.strides[i]
+  */
+   __pyx_t_1 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_1; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_1;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1113
++    /* "View.MemoryView":1125
+  * 
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -21068,7 +22720,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_t_2 = (((__pyx_v_mslice->shape[__pyx_v_i]) > 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1114
++      /* "View.MemoryView":1126
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:
+  *             f_stride = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -21077,7 +22729,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       __pyx_v_f_stride = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-      /* "View.MemoryView":1115
++      /* "View.MemoryView":1127
+  *         if mslice.shape[i] > 1:
+  *             f_stride = mslice.strides[i]
+  *             break             # <<<<<<<<<<<<<<
+@@ -21086,7 +22738,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       goto __pyx_L7_break;
+ 
+-      /* "View.MemoryView":1113
++      /* "View.MemoryView":1125
+  * 
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -21097,7 +22749,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   }
+   __pyx_L7_break:;
+ 
+-  /* "View.MemoryView":1117
++  /* "View.MemoryView":1129
+  *             break
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):             # <<<<<<<<<<<<<<
+@@ -21107,7 +22759,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   __pyx_t_2 = ((abs_py_ssize_t(__pyx_v_c_stride) <= abs_py_ssize_t(__pyx_v_f_stride)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1118
++    /* "View.MemoryView":1130
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):
+  *         return 'C'             # <<<<<<<<<<<<<<
+@@ -21117,7 +22769,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_r = 'C';
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1117
++    /* "View.MemoryView":1129
+  *             break
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):             # <<<<<<<<<<<<<<
+@@ -21126,7 +22778,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   }
+ 
+-  /* "View.MemoryView":1120
++  /* "View.MemoryView":1132
+  *         return 'C'
+  *     else:
+  *         return 'F'             # <<<<<<<<<<<<<<
+@@ -21138,7 +22790,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1099
++  /* "View.MemoryView":1111
+  * 
+  * @cname('__pyx_get_best_slice_order')
+  * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -21151,7 +22803,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1123
++/* "View.MemoryView":1135
+  * 
+  * @cython.cdivision(True)
+  * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides,             # <<<<<<<<<<<<<<
+@@ -21170,8 +22822,9 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   int __pyx_t_3;
+   Py_ssize_t __pyx_t_4;
+   Py_ssize_t __pyx_t_5;
++  Py_ssize_t __pyx_t_6;
+ 
+-  /* "View.MemoryView":1130
++  /* "View.MemoryView":1142
+  * 
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t src_extent = src_shape[0]             # <<<<<<<<<<<<<<
+@@ -21180,7 +22833,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_src_extent = (__pyx_v_src_shape[0]);
+ 
+-  /* "View.MemoryView":1131
++  /* "View.MemoryView":1143
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t src_extent = src_shape[0]
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]             # <<<<<<<<<<<<<<
+@@ -21189,7 +22842,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_dst_extent = (__pyx_v_dst_shape[0]);
+ 
+-  /* "View.MemoryView":1132
++  /* "View.MemoryView":1144
+  *     cdef Py_ssize_t src_extent = src_shape[0]
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]
+  *     cdef Py_ssize_t src_stride = src_strides[0]             # <<<<<<<<<<<<<<
+@@ -21198,7 +22851,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_src_stride = (__pyx_v_src_strides[0]);
+ 
+-  /* "View.MemoryView":1133
++  /* "View.MemoryView":1145
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]
+  *     cdef Py_ssize_t src_stride = src_strides[0]
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]             # <<<<<<<<<<<<<<
+@@ -21207,7 +22860,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_dst_stride = (__pyx_v_dst_strides[0]);
+ 
+-  /* "View.MemoryView":1135
++  /* "View.MemoryView":1147
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -21217,7 +22870,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   __pyx_t_1 = ((__pyx_v_ndim == 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1136
++    /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -21237,7 +22890,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+       goto __pyx_L5_bool_binop_done;
+     }
+ 
+-    /* "View.MemoryView":1137
++    /* "View.MemoryView":1149
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and
+  *             src_stride == itemsize ==  dst_stride):             # <<<<<<<<<<<<<<
+@@ -21252,7 +22905,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     __pyx_t_1 = __pyx_t_3;
+     __pyx_L5_bool_binop_done:;
+ 
+-    /* "View.MemoryView":1136
++    /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -21261,16 +22914,16 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":1138
++      /* "View.MemoryView":1150
+  *        if (src_stride > 0 and dst_stride > 0 and
+  *             src_stride == itemsize ==  dst_stride):
+  *            memcpy(dst_data, src_data, itemsize * dst_extent)             # <<<<<<<<<<<<<<
+  *        else:
+  *            for i in range(dst_extent):
+  */
+-      memcpy(__pyx_v_dst_data, __pyx_v_src_data, (__pyx_v_itemsize * __pyx_v_dst_extent));
++      (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, (__pyx_v_itemsize * __pyx_v_dst_extent)));
+ 
+-      /* "View.MemoryView":1136
++      /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -21280,7 +22933,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+       goto __pyx_L4;
+     }
+ 
+-    /* "View.MemoryView":1140
++    /* "View.MemoryView":1152
+  *            memcpy(dst_data, src_data, itemsize * dst_extent)
+  *        else:
+  *            for i in range(dst_extent):             # <<<<<<<<<<<<<<
+@@ -21289,19 +22942,20 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+     /*else*/ {
+       __pyx_t_4 = __pyx_v_dst_extent;
+-      for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-        __pyx_v_i = __pyx_t_5;
++      __pyx_t_5 = __pyx_t_4;
++      for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++        __pyx_v_i = __pyx_t_6;
+ 
+-        /* "View.MemoryView":1141
++        /* "View.MemoryView":1153
+  *        else:
+  *            for i in range(dst_extent):
+  *                memcpy(dst_data, src_data, itemsize)             # <<<<<<<<<<<<<<
+  *                src_data += src_stride
+  *                dst_data += dst_stride
+  */
+-        memcpy(__pyx_v_dst_data, __pyx_v_src_data, __pyx_v_itemsize);
++        (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, __pyx_v_itemsize));
+ 
+-        /* "View.MemoryView":1142
++        /* "View.MemoryView":1154
+  *            for i in range(dst_extent):
+  *                memcpy(dst_data, src_data, itemsize)
+  *                src_data += src_stride             # <<<<<<<<<<<<<<
+@@ -21310,7 +22964,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+         __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride);
+ 
+-        /* "View.MemoryView":1143
++        /* "View.MemoryView":1155
+  *                memcpy(dst_data, src_data, itemsize)
+  *                src_data += src_stride
+  *                dst_data += dst_stride             # <<<<<<<<<<<<<<
+@@ -21322,7 +22976,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     }
+     __pyx_L4:;
+ 
+-    /* "View.MemoryView":1135
++    /* "View.MemoryView":1147
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -21332,7 +22986,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1145
++  /* "View.MemoryView":1157
+  *                dst_data += dst_stride
+  *     else:
+  *         for i in range(dst_extent):             # <<<<<<<<<<<<<<
+@@ -21341,10 +22995,11 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   /*else*/ {
+     __pyx_t_4 = __pyx_v_dst_extent;
+-    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-      __pyx_v_i = __pyx_t_5;
++    __pyx_t_5 = __pyx_t_4;
++    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++      __pyx_v_i = __pyx_t_6;
+ 
+-      /* "View.MemoryView":1146
++      /* "View.MemoryView":1158
+  *     else:
+  *         for i in range(dst_extent):
+  *             _copy_strided_to_strided(src_data, src_strides + 1,             # <<<<<<<<<<<<<<
+@@ -21353,7 +23008,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+       _copy_strided_to_strided(__pyx_v_src_data, (__pyx_v_src_strides + 1), __pyx_v_dst_data, (__pyx_v_dst_strides + 1), (__pyx_v_src_shape + 1), (__pyx_v_dst_shape + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize);
+ 
+-      /* "View.MemoryView":1150
++      /* "View.MemoryView":1162
+  *                                      src_shape + 1, dst_shape + 1,
+  *                                      ndim - 1, itemsize)
+  *             src_data += src_stride             # <<<<<<<<<<<<<<
+@@ -21362,7 +23017,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+       __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride);
+ 
+-      /* "View.MemoryView":1151
++      /* "View.MemoryView":1163
+  *                                      ndim - 1, itemsize)
+  *             src_data += src_stride
+  *             dst_data += dst_stride             # <<<<<<<<<<<<<<
+@@ -21374,7 +23029,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1123
++  /* "View.MemoryView":1135
+  * 
+  * @cython.cdivision(True)
+  * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides,             # <<<<<<<<<<<<<<
+@@ -21385,7 +23040,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1153
++/* "View.MemoryView":1165
+  *             dst_data += dst_stride
+  * 
+  * cdef void copy_strided_to_strided(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -21395,7 +23050,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+ 
+ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize) {
+ 
+-  /* "View.MemoryView":1156
++  /* "View.MemoryView":1168
+  *                                   __Pyx_memviewslice *dst,
+  *                                   int ndim, size_t itemsize) nogil:
+  *     _copy_strided_to_strided(src.data, src.strides, dst.data, dst.strides,             # <<<<<<<<<<<<<<
+@@ -21404,7 +23059,7 @@ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memvi
+  */
+   _copy_strided_to_strided(__pyx_v_src->data, __pyx_v_src->strides, __pyx_v_dst->data, __pyx_v_dst->strides, __pyx_v_src->shape, __pyx_v_dst->shape, __pyx_v_ndim, __pyx_v_itemsize);
+ 
+-  /* "View.MemoryView":1153
++  /* "View.MemoryView":1165
+  *             dst_data += dst_stride
+  * 
+  * cdef void copy_strided_to_strided(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -21415,7 +23070,7 @@ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memvi
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1160
++/* "View.MemoryView":1172
+  * 
+  * @cname('__pyx_memoryview_slice_get_size')
+  * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -21430,8 +23085,9 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   Py_ssize_t __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1163
++  /* "View.MemoryView":1175
+  *     "Return the size of the memory occupied by the slice in number of bytes"
+  *     cdef int i
+  *     cdef Py_ssize_t size = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -21441,7 +23097,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   __pyx_t_1 = __pyx_v_src->memview->view.itemsize;
+   __pyx_v_size = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1165
++  /* "View.MemoryView":1177
+  *     cdef Py_ssize_t size = src.memview.view.itemsize
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -21449,10 +23105,11 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+  * 
+  */
+   __pyx_t_2 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_2;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1166
++    /* "View.MemoryView":1178
+  * 
+  *     for i in range(ndim):
+  *         size *= src.shape[i]             # <<<<<<<<<<<<<<
+@@ -21462,7 +23119,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+     __pyx_v_size = (__pyx_v_size * (__pyx_v_src->shape[__pyx_v_i]));
+   }
+ 
+-  /* "View.MemoryView":1168
++  /* "View.MemoryView":1180
+  *         size *= src.shape[i]
+  * 
+  *     return size             # <<<<<<<<<<<<<<
+@@ -21472,7 +23129,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   __pyx_r = __pyx_v_size;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1160
++  /* "View.MemoryView":1172
+  * 
+  * @cname('__pyx_memoryview_slice_get_size')
+  * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -21485,7 +23142,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1171
++/* "View.MemoryView":1183
+  * 
+  * @cname('__pyx_fill_contig_strides_array')
+  * cdef Py_ssize_t fill_contig_strides_array(             # <<<<<<<<<<<<<<
+@@ -21499,8 +23156,9 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   int __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1180
++  /* "View.MemoryView":1192
+  *     cdef int idx
+  * 
+  *     if order == 'F':             # <<<<<<<<<<<<<<
+@@ -21510,7 +23168,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   __pyx_t_1 = ((__pyx_v_order == 'F') != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1181
++    /* "View.MemoryView":1193
+  * 
+  *     if order == 'F':
+  *         for idx in range(ndim):             # <<<<<<<<<<<<<<
+@@ -21518,10 +23176,11 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  *             stride = stride * shape[idx]
+  */
+     __pyx_t_2 = __pyx_v_ndim;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_idx = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_idx = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1182
++      /* "View.MemoryView":1194
+  *     if order == 'F':
+  *         for idx in range(ndim):
+  *             strides[idx] = stride             # <<<<<<<<<<<<<<
+@@ -21530,7 +23189,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  */
+       (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride;
+ 
+-      /* "View.MemoryView":1183
++      /* "View.MemoryView":1195
+  *         for idx in range(ndim):
+  *             strides[idx] = stride
+  *             stride = stride * shape[idx]             # <<<<<<<<<<<<<<
+@@ -21540,7 +23199,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+       __pyx_v_stride = (__pyx_v_stride * (__pyx_v_shape[__pyx_v_idx]));
+     }
+ 
+-    /* "View.MemoryView":1180
++    /* "View.MemoryView":1192
+  *     cdef int idx
+  * 
+  *     if order == 'F':             # <<<<<<<<<<<<<<
+@@ -21550,7 +23209,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1185
++  /* "View.MemoryView":1197
+  *             stride = stride * shape[idx]
+  *     else:
+  *         for idx in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+@@ -21558,10 +23217,10 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  *             stride = stride * shape[idx]
+  */
+   /*else*/ {
+-    for (__pyx_t_2 = (__pyx_v_ndim - 1); __pyx_t_2 > -1L; __pyx_t_2-=1) {
++    for (__pyx_t_2 = (__pyx_v_ndim - 1); __pyx_t_2 > -1; __pyx_t_2-=1) {
+       __pyx_v_idx = __pyx_t_2;
+ 
+-      /* "View.MemoryView":1186
++      /* "View.MemoryView":1198
+  *     else:
+  *         for idx in range(ndim - 1, -1, -1):
+  *             strides[idx] = stride             # <<<<<<<<<<<<<<
+@@ -21570,7 +23229,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  */
+       (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride;
+ 
+-      /* "View.MemoryView":1187
++      /* "View.MemoryView":1199
+  *         for idx in range(ndim - 1, -1, -1):
+  *             strides[idx] = stride
+  *             stride = stride * shape[idx]             # <<<<<<<<<<<<<<
+@@ -21582,7 +23241,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1189
++  /* "View.MemoryView":1201
+  *             stride = stride * shape[idx]
+  * 
+  *     return stride             # <<<<<<<<<<<<<<
+@@ -21592,7 +23251,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   __pyx_r = __pyx_v_stride;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1171
++  /* "View.MemoryView":1183
+  * 
+  * @cname('__pyx_fill_contig_strides_array')
+  * cdef Py_ssize_t fill_contig_strides_array(             # <<<<<<<<<<<<<<
+@@ -21605,7 +23264,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1192
++/* "View.MemoryView":1204
+  * 
+  * @cname('__pyx_memoryview_copy_data_to_temp')
+  * cdef void *copy_data_to_temp(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -21624,8 +23283,9 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   int __pyx_t_3;
+   struct __pyx_memoryview_obj *__pyx_t_4;
+   int __pyx_t_5;
++  int __pyx_t_6;
+ 
+-  /* "View.MemoryView":1203
++  /* "View.MemoryView":1215
+  *     cdef void *result
+  * 
+  *     cdef size_t itemsize = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -21635,7 +23295,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_1 = __pyx_v_src->memview->view.itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1204
++  /* "View.MemoryView":1216
+  * 
+  *     cdef size_t itemsize = src.memview.view.itemsize
+  *     cdef size_t size = slice_get_size(src, ndim)             # <<<<<<<<<<<<<<
+@@ -21644,7 +23304,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_size = __pyx_memoryview_slice_get_size(__pyx_v_src, __pyx_v_ndim);
+ 
+-  /* "View.MemoryView":1206
++  /* "View.MemoryView":1218
+  *     cdef size_t size = slice_get_size(src, ndim)
+  * 
+  *     result = malloc(size)             # <<<<<<<<<<<<<<
+@@ -21653,7 +23313,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_result = malloc(__pyx_v_size);
+ 
+-  /* "View.MemoryView":1207
++  /* "View.MemoryView":1219
+  * 
+  *     result = malloc(size)
+  *     if not result:             # <<<<<<<<<<<<<<
+@@ -21663,16 +23323,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_2 = ((!(__pyx_v_result != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1208
++    /* "View.MemoryView":1220
+  *     result = malloc(size)
+  *     if not result:
+  *         _err(MemoryError, NULL)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_3 = __pyx_memoryview_err(__pyx_builtin_MemoryError, NULL); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 1208, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_err(__pyx_builtin_MemoryError, NULL); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 1220, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1207
++    /* "View.MemoryView":1219
+  * 
+  *     result = malloc(size)
+  *     if not result:             # <<<<<<<<<<<<<<
+@@ -21681,7 +23341,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   }
+ 
+-  /* "View.MemoryView":1211
++  /* "View.MemoryView":1223
+  * 
+  * 
+  *     tmpslice.data =  result             # <<<<<<<<<<<<<<
+@@ -21690,7 +23350,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_tmpslice->data = ((char *)__pyx_v_result);
+ 
+-  /* "View.MemoryView":1212
++  /* "View.MemoryView":1224
+  * 
+  *     tmpslice.data =  result
+  *     tmpslice.memview = src.memview             # <<<<<<<<<<<<<<
+@@ -21700,7 +23360,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_4 = __pyx_v_src->memview;
+   __pyx_v_tmpslice->memview = __pyx_t_4;
+ 
+-  /* "View.MemoryView":1213
++  /* "View.MemoryView":1225
+  *     tmpslice.data =  result
+  *     tmpslice.memview = src.memview
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -21708,10 +23368,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  *         tmpslice.suboffsets[i] = -1
+  */
+   __pyx_t_3 = __pyx_v_ndim;
+-  for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_3; __pyx_t_5+=1) {
+-    __pyx_v_i = __pyx_t_5;
++  __pyx_t_5 = __pyx_t_3;
++  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++    __pyx_v_i = __pyx_t_6;
+ 
+-    /* "View.MemoryView":1214
++    /* "View.MemoryView":1226
+  *     tmpslice.memview = src.memview
+  *     for i in range(ndim):
+  *         tmpslice.shape[i] = src.shape[i]             # <<<<<<<<<<<<<<
+@@ -21720,7 +23381,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+     (__pyx_v_tmpslice->shape[__pyx_v_i]) = (__pyx_v_src->shape[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1215
++    /* "View.MemoryView":1227
+  *     for i in range(ndim):
+  *         tmpslice.shape[i] = src.shape[i]
+  *         tmpslice.suboffsets[i] = -1             # <<<<<<<<<<<<<<
+@@ -21730,16 +23391,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     (__pyx_v_tmpslice->suboffsets[__pyx_v_i]) = -1L;
+   }
+ 
+-  /* "View.MemoryView":1217
++  /* "View.MemoryView":1229
+  *         tmpslice.suboffsets[i] = -1
+  * 
+  *     fill_contig_strides_array(&tmpslice.shape[0], &tmpslice.strides[0], itemsize,             # <<<<<<<<<<<<<<
+  *                               ndim, order)
+  * 
+  */
+-  __pyx_fill_contig_strides_array((&(__pyx_v_tmpslice->shape[0])), (&(__pyx_v_tmpslice->strides[0])), __pyx_v_itemsize, __pyx_v_ndim, __pyx_v_order);
++  (void)(__pyx_fill_contig_strides_array((&(__pyx_v_tmpslice->shape[0])), (&(__pyx_v_tmpslice->strides[0])), __pyx_v_itemsize, __pyx_v_ndim, __pyx_v_order));
+ 
+-  /* "View.MemoryView":1221
++  /* "View.MemoryView":1233
+  * 
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -21747,10 +23408,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  *             tmpslice.strides[i] = 0
+  */
+   __pyx_t_3 = __pyx_v_ndim;
+-  for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_3; __pyx_t_5+=1) {
+-    __pyx_v_i = __pyx_t_5;
++  __pyx_t_5 = __pyx_t_3;
++  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++    __pyx_v_i = __pyx_t_6;
+ 
+-    /* "View.MemoryView":1222
++    /* "View.MemoryView":1234
+  * 
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -21760,7 +23422,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     __pyx_t_2 = (((__pyx_v_tmpslice->shape[__pyx_v_i]) == 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1223
++      /* "View.MemoryView":1235
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:
+  *             tmpslice.strides[i] = 0             # <<<<<<<<<<<<<<
+@@ -21769,7 +23431,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+       (__pyx_v_tmpslice->strides[__pyx_v_i]) = 0;
+ 
+-      /* "View.MemoryView":1222
++      /* "View.MemoryView":1234
+  * 
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -21779,7 +23441,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     }
+   }
+ 
+-  /* "View.MemoryView":1225
++  /* "View.MemoryView":1237
+  *             tmpslice.strides[i] = 0
+  * 
+  *     if slice_is_contig(src[0], order, ndim):             # <<<<<<<<<<<<<<
+@@ -21789,16 +23451,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_2 = (__pyx_memviewslice_is_contig((__pyx_v_src[0]), __pyx_v_order, __pyx_v_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1226
++    /* "View.MemoryView":1238
+  * 
+  *     if slice_is_contig(src[0], order, ndim):
+  *         memcpy(result, src.data, size)             # <<<<<<<<<<<<<<
+  *     else:
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)
+  */
+-    memcpy(__pyx_v_result, __pyx_v_src->data, __pyx_v_size);
++    (void)(memcpy(__pyx_v_result, __pyx_v_src->data, __pyx_v_size));
+ 
+-    /* "View.MemoryView":1225
++    /* "View.MemoryView":1237
+  *             tmpslice.strides[i] = 0
+  * 
+  *     if slice_is_contig(src[0], order, ndim):             # <<<<<<<<<<<<<<
+@@ -21808,7 +23470,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     goto __pyx_L9;
+   }
+ 
+-  /* "View.MemoryView":1228
++  /* "View.MemoryView":1240
+  *         memcpy(result, src.data, size)
+  *     else:
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)             # <<<<<<<<<<<<<<
+@@ -21820,7 +23482,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   }
+   __pyx_L9:;
+ 
+-  /* "View.MemoryView":1230
++  /* "View.MemoryView":1242
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -21830,7 +23492,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_r = __pyx_v_result;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1192
++  /* "View.MemoryView":1204
+  * 
+  * @cname('__pyx_memoryview_copy_data_to_temp')
+  * cdef void *copy_data_to_temp(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -21842,11 +23504,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.copy_data_to_temp", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = NULL;
+@@ -21854,7 +23516,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1235
++/* "View.MemoryView":1247
+  * 
+  * @cname('__pyx_memoryview_err_extents')
+  * cdef int _err_extents(int i, Py_ssize_t extent1,             # <<<<<<<<<<<<<<
+@@ -21870,24 +23532,24 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   PyObject *__pyx_t_3 = NULL;
+   PyObject *__pyx_t_4 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err_extents", 0);
+ 
+-  /* "View.MemoryView":1238
++  /* "View.MemoryView":1250
+  *                              Py_ssize_t extent2) except -1 with gil:
+  *     raise ValueError("got differing extents in dimension %d (got %d and %d)" %
+  *                                                         (i, extent1, extent2))             # <<<<<<<<<<<<<<
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  */
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_extent1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_extent1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_extent2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_extent2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+-  __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_1);
+   PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
+@@ -21899,29 +23561,24 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   __pyx_t_2 = 0;
+   __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":1237
++  /* "View.MemoryView":1249
+  * cdef int _err_extents(int i, Py_ssize_t extent1,
+  *                              Py_ssize_t extent2) except -1 with gil:
+  *     raise ValueError("got differing extents in dimension %d (got %d and %d)" %             # <<<<<<<<<<<<<<
+  *                                                         (i, extent1, extent2))
+  * 
+  */
+-  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1237, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1249, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1237, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1249, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-  __pyx_t_3 = 0;
+-  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1237, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-  __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-  __PYX_ERR(2, 1237, __pyx_L1_error)
++  __Pyx_Raise(__pyx_t_4, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++  __PYX_ERR(2, 1249, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":1235
++  /* "View.MemoryView":1247
+  * 
+  * @cname('__pyx_memoryview_err_extents')
+  * cdef int _err_extents(int i, Py_ssize_t extent1,             # <<<<<<<<<<<<<<
+@@ -21939,12 +23596,12 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   __pyx_r = -1;
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1241
++/* "View.MemoryView":1253
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -21961,29 +23618,29 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+   PyObject *__pyx_t_4 = NULL;
+   PyObject *__pyx_t_5 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err_dim", 0);
+   __Pyx_INCREF(__pyx_v_error);
+ 
+-  /* "View.MemoryView":1242
++  /* "View.MemoryView":1254
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:
+  *     raise error(msg.decode('ascii') % dim)             # <<<<<<<<<<<<<<
+  * 
+  * @cname('__pyx_memoryview_err')
+  */
+-  __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+-  __pyx_t_4 = PyUnicode_Format(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_4 = PyUnicode_Format(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_INCREF(__pyx_v_error);
+   __pyx_t_3 = __pyx_v_error; __pyx_t_2 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_3))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
+     __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
+     if (likely(__pyx_t_2)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
+@@ -21993,26 +23650,46 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+     }
+   }
+   if (!__pyx_t_2) {
+-    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1242, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1242, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_5);
+-    __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2); __pyx_t_2 = NULL;
+-    __Pyx_GIVEREF(__pyx_t_4);
+-    PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_4);
+-    __pyx_t_4 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1242, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_3)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_4};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_4};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    } else
++    #endif
++    {
++      __pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2); __pyx_t_2 = NULL;
++      __Pyx_GIVEREF(__pyx_t_4);
++      PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_4);
++      __pyx_t_4 = 0;
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __PYX_ERR(2, 1242, __pyx_L1_error)
++  __PYX_ERR(2, 1254, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":1241
++  /* "View.MemoryView":1253
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -22032,12 +23709,12 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+   __Pyx_XDECREF(__pyx_v_error);
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1245
++/* "View.MemoryView":1257
+  * 
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -22055,12 +23732,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err", 0);
+   __Pyx_INCREF(__pyx_v_error);
+ 
+-  /* "View.MemoryView":1246
++  /* "View.MemoryView":1258
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:             # <<<<<<<<<<<<<<
+@@ -22068,20 +23745,20 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  *     else:
+  */
+   __pyx_t_1 = ((__pyx_v_msg != NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":1247
++    /* "View.MemoryView":1259
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:
+  *         raise error(msg.decode('ascii'))             # <<<<<<<<<<<<<<
+  *     else:
+  *         raise error
+  */
+-    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1247, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1259, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_INCREF(__pyx_v_error);
+     __pyx_t_4 = __pyx_v_error; __pyx_t_5 = NULL;
+-    if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_4))) {
++    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
+       __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
+       if (likely(__pyx_t_5)) {
+         PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
+@@ -22091,26 +23768,46 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+       }
+     }
+     if (!__pyx_t_5) {
+-      __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1247, __pyx_L1_error)
++      __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       __Pyx_GOTREF(__pyx_t_2);
+     } else {
+-      __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 1247, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
+-      __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
+-      __Pyx_GIVEREF(__pyx_t_3);
+-      PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_3);
+-      __pyx_t_3 = 0;
+-      __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1247, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_2);
+-      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_4)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_3};
++        __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_3};
++        __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
++        __Pyx_GIVEREF(__pyx_t_3);
++        PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_3);
++        __pyx_t_3 = 0;
++        __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      }
+     }
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __PYX_ERR(2, 1247, __pyx_L1_error)
++    __PYX_ERR(2, 1259, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1246
++    /* "View.MemoryView":1258
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:             # <<<<<<<<<<<<<<
+@@ -22119,7 +23816,7 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  */
+   }
+ 
+-  /* "View.MemoryView":1249
++  /* "View.MemoryView":1261
+  *         raise error(msg.decode('ascii'))
+  *     else:
+  *         raise error             # <<<<<<<<<<<<<<
+@@ -22128,10 +23825,10 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  */
+   /*else*/ {
+     __Pyx_Raise(__pyx_v_error, 0, 0, 0);
+-    __PYX_ERR(2, 1249, __pyx_L1_error)
++    __PYX_ERR(2, 1261, __pyx_L1_error)
+   }
+ 
+-  /* "View.MemoryView":1245
++  /* "View.MemoryView":1257
+  * 
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -22151,12 +23848,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+   __Pyx_XDECREF(__pyx_v_error);
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1252
++/* "View.MemoryView":1264
+  * 
+  * @cname('__pyx_memoryview_copy_contents')
+  * cdef int memoryview_copy_contents(__Pyx_memviewslice src,             # <<<<<<<<<<<<<<
+@@ -22179,10 +23876,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   int __pyx_t_3;
+   int __pyx_t_4;
+   int __pyx_t_5;
+-  void *__pyx_t_6;
+-  int __pyx_t_7;
++  int __pyx_t_6;
++  void *__pyx_t_7;
++  int __pyx_t_8;
+ 
+-  /* "View.MemoryView":1260
++  /* "View.MemoryView":1272
+  *     Check for overlapping memory and verify the shapes.
+  *     """
+  *     cdef void *tmpdata = NULL             # <<<<<<<<<<<<<<
+@@ -22191,7 +23889,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_tmpdata = NULL;
+ 
+-  /* "View.MemoryView":1261
++  /* "View.MemoryView":1273
+  *     """
+  *     cdef void *tmpdata = NULL
+  *     cdef size_t itemsize = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -22201,7 +23899,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_1 = __pyx_v_src.memview->view.itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1263
++  /* "View.MemoryView":1275
+  *     cdef size_t itemsize = src.memview.view.itemsize
+  *     cdef int i
+  *     cdef char order = get_best_order(&src, src_ndim)             # <<<<<<<<<<<<<<
+@@ -22210,7 +23908,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_src), __pyx_v_src_ndim);
+ 
+-  /* "View.MemoryView":1264
++  /* "View.MemoryView":1276
+  *     cdef int i
+  *     cdef char order = get_best_order(&src, src_ndim)
+  *     cdef bint broadcasting = False             # <<<<<<<<<<<<<<
+@@ -22219,7 +23917,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_broadcasting = 0;
+ 
+-  /* "View.MemoryView":1265
++  /* "View.MemoryView":1277
+  *     cdef char order = get_best_order(&src, src_ndim)
+  *     cdef bint broadcasting = False
+  *     cdef bint direct_copy = False             # <<<<<<<<<<<<<<
+@@ -22228,7 +23926,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_direct_copy = 0;
+ 
+-  /* "View.MemoryView":1268
++  /* "View.MemoryView":1280
+  *     cdef __Pyx_memviewslice tmp
+  * 
+  *     if src_ndim < dst_ndim:             # <<<<<<<<<<<<<<
+@@ -22238,7 +23936,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((__pyx_v_src_ndim < __pyx_v_dst_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1269
++    /* "View.MemoryView":1281
+  * 
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)             # <<<<<<<<<<<<<<
+@@ -22247,7 +23945,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_memoryview_broadcast_leading((&__pyx_v_src), __pyx_v_src_ndim, __pyx_v_dst_ndim);
+ 
+-    /* "View.MemoryView":1268
++    /* "View.MemoryView":1280
+  *     cdef __Pyx_memviewslice tmp
+  * 
+  *     if src_ndim < dst_ndim:             # <<<<<<<<<<<<<<
+@@ -22257,7 +23955,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1270
++  /* "View.MemoryView":1282
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:             # <<<<<<<<<<<<<<
+@@ -22267,7 +23965,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((__pyx_v_dst_ndim < __pyx_v_src_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1271
++    /* "View.MemoryView":1283
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:
+  *         broadcast_leading(&dst, dst_ndim, src_ndim)             # <<<<<<<<<<<<<<
+@@ -22276,7 +23974,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_memoryview_broadcast_leading((&__pyx_v_dst), __pyx_v_dst_ndim, __pyx_v_src_ndim);
+ 
+-    /* "View.MemoryView":1270
++    /* "View.MemoryView":1282
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:             # <<<<<<<<<<<<<<
+@@ -22286,7 +23984,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1273
++  /* "View.MemoryView":1285
+  *         broadcast_leading(&dst, dst_ndim, src_ndim)
+  * 
+  *     cdef int ndim = max(src_ndim, dst_ndim)             # <<<<<<<<<<<<<<
+@@ -22302,7 +24000,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   }
+   __pyx_v_ndim = __pyx_t_5;
+ 
+-  /* "View.MemoryView":1275
++  /* "View.MemoryView":1287
+  *     cdef int ndim = max(src_ndim, dst_ndim)
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -22310,10 +24008,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  *             if src.shape[i] == 1:
+  */
+   __pyx_t_5 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_5; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_5;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1276
++    /* "View.MemoryView":1288
+  * 
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:             # <<<<<<<<<<<<<<
+@@ -22323,7 +24022,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (((__pyx_v_src.shape[__pyx_v_i]) != (__pyx_v_dst.shape[__pyx_v_i])) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1277
++      /* "View.MemoryView":1289
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -22333,7 +24032,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       __pyx_t_2 = (((__pyx_v_src.shape[__pyx_v_i]) == 1) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":1278
++        /* "View.MemoryView":1290
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:
+  *                 broadcasting = True             # <<<<<<<<<<<<<<
+@@ -22342,7 +24041,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+         __pyx_v_broadcasting = 1;
+ 
+-        /* "View.MemoryView":1279
++        /* "View.MemoryView":1291
+  *             if src.shape[i] == 1:
+  *                 broadcasting = True
+  *                 src.strides[i] = 0             # <<<<<<<<<<<<<<
+@@ -22351,7 +24050,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+         (__pyx_v_src.strides[__pyx_v_i]) = 0;
+ 
+-        /* "View.MemoryView":1277
++        /* "View.MemoryView":1289
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -22361,7 +24060,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+         goto __pyx_L7;
+       }
+ 
+-      /* "View.MemoryView":1281
++      /* "View.MemoryView":1293
+  *                 src.strides[i] = 0
+  *             else:
+  *                 _err_extents(i, dst.shape[i], src.shape[i])             # <<<<<<<<<<<<<<
+@@ -22369,11 +24068,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  *         if src.suboffsets[i] >= 0:
+  */
+       /*else*/ {
+-        __pyx_t_4 = __pyx_memoryview_err_extents(__pyx_v_i, (__pyx_v_dst.shape[__pyx_v_i]), (__pyx_v_src.shape[__pyx_v_i])); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 1281, __pyx_L1_error)
++        __pyx_t_6 = __pyx_memoryview_err_extents(__pyx_v_i, (__pyx_v_dst.shape[__pyx_v_i]), (__pyx_v_src.shape[__pyx_v_i])); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(2, 1293, __pyx_L1_error)
+       }
+       __pyx_L7:;
+ 
+-      /* "View.MemoryView":1276
++      /* "View.MemoryView":1288
+  * 
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:             # <<<<<<<<<<<<<<
+@@ -22382,7 +24081,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1283
++    /* "View.MemoryView":1295
+  *                 _err_extents(i, dst.shape[i], src.shape[i])
+  * 
+  *         if src.suboffsets[i] >= 0:             # <<<<<<<<<<<<<<
+@@ -22392,16 +24091,16 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (((__pyx_v_src.suboffsets[__pyx_v_i]) >= 0) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1284
++      /* "View.MemoryView":1296
+  * 
+  *         if src.suboffsets[i] >= 0:
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)             # <<<<<<<<<<<<<<
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  */
+-      __pyx_t_4 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Dimension %d is not direct"), __pyx_v_i); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 1284, __pyx_L1_error)
++      __pyx_t_6 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Dimension %d is not direct"), __pyx_v_i); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(2, 1296, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":1283
++      /* "View.MemoryView":1295
+  *                 _err_extents(i, dst.shape[i], src.shape[i])
+  * 
+  *         if src.suboffsets[i] >= 0:             # <<<<<<<<<<<<<<
+@@ -22411,7 +24110,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     }
+   }
+ 
+-  /* "View.MemoryView":1286
++  /* "View.MemoryView":1298
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):             # <<<<<<<<<<<<<<
+@@ -22421,7 +24120,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = (__pyx_slices_overlap((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1288
++    /* "View.MemoryView":1300
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  * 
+  *         if not slice_is_contig(src, order, ndim):             # <<<<<<<<<<<<<<
+@@ -22431,7 +24130,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = ((!(__pyx_memviewslice_is_contig(__pyx_v_src, __pyx_v_order, __pyx_v_ndim) != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1289
++      /* "View.MemoryView":1301
+  * 
+  *         if not slice_is_contig(src, order, ndim):
+  *             order = get_best_order(&dst, ndim)             # <<<<<<<<<<<<<<
+@@ -22440,7 +24139,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1288
++      /* "View.MemoryView":1300
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  * 
+  *         if not slice_is_contig(src, order, ndim):             # <<<<<<<<<<<<<<
+@@ -22449,17 +24148,17 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1291
++    /* "View.MemoryView":1303
+  *             order = get_best_order(&dst, ndim)
+  * 
+  *         tmpdata = copy_data_to_temp(&src, &tmp, order, ndim)             # <<<<<<<<<<<<<<
+  *         src = tmp
+  * 
+  */
+-    __pyx_t_6 = __pyx_memoryview_copy_data_to_temp((&__pyx_v_src), (&__pyx_v_tmp), __pyx_v_order, __pyx_v_ndim); if (unlikely(__pyx_t_6 == NULL)) __PYX_ERR(2, 1291, __pyx_L1_error)
+-    __pyx_v_tmpdata = __pyx_t_6;
++    __pyx_t_7 = __pyx_memoryview_copy_data_to_temp((&__pyx_v_src), (&__pyx_v_tmp), __pyx_v_order, __pyx_v_ndim); if (unlikely(__pyx_t_7 == ((void *)NULL))) __PYX_ERR(2, 1303, __pyx_L1_error)
++    __pyx_v_tmpdata = __pyx_t_7;
+ 
+-    /* "View.MemoryView":1292
++    /* "View.MemoryView":1304
+  * 
+  *         tmpdata = copy_data_to_temp(&src, &tmp, order, ndim)
+  *         src = tmp             # <<<<<<<<<<<<<<
+@@ -22468,7 +24167,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_v_src = __pyx_v_tmp;
+ 
+-    /* "View.MemoryView":1286
++    /* "View.MemoryView":1298
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):             # <<<<<<<<<<<<<<
+@@ -22477,7 +24176,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1294
++  /* "View.MemoryView":1306
+  *         src = tmp
+  * 
+  *     if not broadcasting:             # <<<<<<<<<<<<<<
+@@ -22487,7 +24186,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((!(__pyx_v_broadcasting != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1297
++    /* "View.MemoryView":1309
+  * 
+  * 
+  *         if slice_is_contig(src, 'C', ndim):             # <<<<<<<<<<<<<<
+@@ -22497,7 +24196,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_memviewslice_is_contig(__pyx_v_src, 'C', __pyx_v_ndim) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1298
++      /* "View.MemoryView":1310
+  * 
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)             # <<<<<<<<<<<<<<
+@@ -22506,7 +24205,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'C', __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1297
++      /* "View.MemoryView":1309
+  * 
+  * 
+  *         if slice_is_contig(src, 'C', ndim):             # <<<<<<<<<<<<<<
+@@ -22516,7 +24215,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       goto __pyx_L12;
+     }
+ 
+-    /* "View.MemoryView":1299
++    /* "View.MemoryView":1311
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):             # <<<<<<<<<<<<<<
+@@ -22526,7 +24225,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_memviewslice_is_contig(__pyx_v_src, 'F', __pyx_v_ndim) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1300
++      /* "View.MemoryView":1312
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)             # <<<<<<<<<<<<<<
+@@ -22535,7 +24234,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'F', __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1299
++      /* "View.MemoryView":1311
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):             # <<<<<<<<<<<<<<
+@@ -22545,7 +24244,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     }
+     __pyx_L12:;
+ 
+-    /* "View.MemoryView":1302
++    /* "View.MemoryView":1314
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)
+  * 
+  *         if direct_copy:             # <<<<<<<<<<<<<<
+@@ -22555,7 +24254,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_v_direct_copy != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1304
++      /* "View.MemoryView":1316
+  *         if direct_copy:
+  * 
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -22564,16 +24263,16 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-      /* "View.MemoryView":1305
++      /* "View.MemoryView":1317
+  * 
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))             # <<<<<<<<<<<<<<
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)
+  */
+-      memcpy(__pyx_v_dst.data, __pyx_v_src.data, __pyx_memoryview_slice_get_size((&__pyx_v_src), __pyx_v_ndim));
++      (void)(memcpy(__pyx_v_dst.data, __pyx_v_src.data, __pyx_memoryview_slice_get_size((&__pyx_v_src), __pyx_v_ndim)));
+ 
+-      /* "View.MemoryView":1306
++      /* "View.MemoryView":1318
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -22582,7 +24281,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-      /* "View.MemoryView":1307
++      /* "View.MemoryView":1319
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)             # <<<<<<<<<<<<<<
+@@ -22591,7 +24290,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       free(__pyx_v_tmpdata);
+ 
+-      /* "View.MemoryView":1308
++      /* "View.MemoryView":1320
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)
+  *             return 0             # <<<<<<<<<<<<<<
+@@ -22601,7 +24300,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       __pyx_r = 0;
+       goto __pyx_L0;
+ 
+-      /* "View.MemoryView":1302
++      /* "View.MemoryView":1314
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)
+  * 
+  *         if direct_copy:             # <<<<<<<<<<<<<<
+@@ -22610,7 +24309,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1294
++    /* "View.MemoryView":1306
+  *         src = tmp
+  * 
+  *     if not broadcasting:             # <<<<<<<<<<<<<<
+@@ -22619,7 +24318,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1310
++  /* "View.MemoryView":1322
+  *             return 0
+  * 
+  *     if order == 'F' == get_best_order(&dst, ndim):             # <<<<<<<<<<<<<<
+@@ -22630,28 +24329,28 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   if (__pyx_t_2) {
+     __pyx_t_2 = ('F' == __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim));
+   }
+-  __pyx_t_7 = (__pyx_t_2 != 0);
+-  if (__pyx_t_7) {
++  __pyx_t_8 = (__pyx_t_2 != 0);
++  if (__pyx_t_8) {
+ 
+-    /* "View.MemoryView":1313
++    /* "View.MemoryView":1325
+  * 
+  * 
+  *         transpose_memslice(&src)             # <<<<<<<<<<<<<<
+  *         transpose_memslice(&dst)
+  * 
+  */
+-    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_src)); if (unlikely(__pyx_t_5 == 0)) __PYX_ERR(2, 1313, __pyx_L1_error)
++    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_src)); if (unlikely(__pyx_t_5 == ((int)0))) __PYX_ERR(2, 1325, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1314
++    /* "View.MemoryView":1326
+  * 
+  *         transpose_memslice(&src)
+  *         transpose_memslice(&dst)             # <<<<<<<<<<<<<<
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  */
+-    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_dst)); if (unlikely(__pyx_t_5 == 0)) __PYX_ERR(2, 1314, __pyx_L1_error)
++    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_dst)); if (unlikely(__pyx_t_5 == ((int)0))) __PYX_ERR(2, 1326, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1310
++    /* "View.MemoryView":1322
+  *             return 0
+  * 
+  *     if order == 'F' == get_best_order(&dst, ndim):             # <<<<<<<<<<<<<<
+@@ -22660,7 +24359,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1316
++  /* "View.MemoryView":1328
+  *         transpose_memslice(&dst)
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -22669,7 +24368,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-  /* "View.MemoryView":1317
++  /* "View.MemoryView":1329
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  *     copy_strided_to_strided(&src, &dst, ndim, itemsize)             # <<<<<<<<<<<<<<
+@@ -22678,7 +24377,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   copy_strided_to_strided((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize);
+ 
+-  /* "View.MemoryView":1318
++  /* "View.MemoryView":1330
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  *     copy_strided_to_strided(&src, &dst, ndim, itemsize)
+  *     refcount_copying(&dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -22687,7 +24386,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-  /* "View.MemoryView":1320
++  /* "View.MemoryView":1332
+  *     refcount_copying(&dst, dtype_is_object, ndim, True)
+  * 
+  *     free(tmpdata)             # <<<<<<<<<<<<<<
+@@ -22696,7 +24395,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   free(__pyx_v_tmpdata);
+ 
+-  /* "View.MemoryView":1321
++  /* "View.MemoryView":1333
+  * 
+  *     free(tmpdata)
+  *     return 0             # <<<<<<<<<<<<<<
+@@ -22706,7 +24405,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1252
++  /* "View.MemoryView":1264
+  * 
+  * @cname('__pyx_memoryview_copy_contents')
+  * cdef int memoryview_copy_contents(__Pyx_memviewslice src,             # <<<<<<<<<<<<<<
+@@ -22718,11 +24417,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.memoryview_copy_contents", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = -1;
+@@ -22730,7 +24429,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1324
++/* "View.MemoryView":1336
+  * 
+  * @cname('__pyx_memoryview_broadcast_leading')
+  * cdef void broadcast_leading(__Pyx_memviewslice *mslice,             # <<<<<<<<<<<<<<
+@@ -22743,8 +24442,9 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+   int __pyx_v_offset;
+   int __pyx_t_1;
+   int __pyx_t_2;
++  int __pyx_t_3;
+ 
+-  /* "View.MemoryView":1328
++  /* "View.MemoryView":1340
+  *                             int ndim_other) nogil:
+  *     cdef int i
+  *     cdef int offset = ndim_other - ndim             # <<<<<<<<<<<<<<
+@@ -22753,17 +24453,17 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+   __pyx_v_offset = (__pyx_v_ndim_other - __pyx_v_ndim);
+ 
+-  /* "View.MemoryView":1330
++  /* "View.MemoryView":1342
+  *     cdef int offset = ndim_other - ndim
+  * 
+  *     for i in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]
+  */
+-  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1L; __pyx_t_1-=1) {
++  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":1331
++    /* "View.MemoryView":1343
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         mslice.shape[i + offset] = mslice.shape[i]             # <<<<<<<<<<<<<<
+@@ -22772,7 +24472,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->shape[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->shape[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1332
++    /* "View.MemoryView":1344
+  *     for i in range(ndim - 1, -1, -1):
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -22781,7 +24481,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->strides[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1333
++    /* "View.MemoryView":1345
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]
+  *         mslice.suboffsets[i + offset] = mslice.suboffsets[i]             # <<<<<<<<<<<<<<
+@@ -22791,7 +24491,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+     (__pyx_v_mslice->suboffsets[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->suboffsets[__pyx_v_i]);
+   }
+ 
+-  /* "View.MemoryView":1335
++  /* "View.MemoryView":1347
+  *         mslice.suboffsets[i + offset] = mslice.suboffsets[i]
+  * 
+  *     for i in range(offset):             # <<<<<<<<<<<<<<
+@@ -22799,10 +24499,11 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  *         mslice.strides[i] = mslice.strides[0]
+  */
+   __pyx_t_1 = __pyx_v_offset;
+-  for (__pyx_t_2 = 0; __pyx_t_2 < __pyx_t_1; __pyx_t_2+=1) {
+-    __pyx_v_i = __pyx_t_2;
++  __pyx_t_2 = __pyx_t_1;
++  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
++    __pyx_v_i = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1336
++    /* "View.MemoryView":1348
+  * 
+  *     for i in range(offset):
+  *         mslice.shape[i] = 1             # <<<<<<<<<<<<<<
+@@ -22811,7 +24512,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->shape[__pyx_v_i]) = 1;
+ 
+-    /* "View.MemoryView":1337
++    /* "View.MemoryView":1349
+  *     for i in range(offset):
+  *         mslice.shape[i] = 1
+  *         mslice.strides[i] = mslice.strides[0]             # <<<<<<<<<<<<<<
+@@ -22820,7 +24521,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->strides[__pyx_v_i]) = (__pyx_v_mslice->strides[0]);
+ 
+-    /* "View.MemoryView":1338
++    /* "View.MemoryView":1350
+  *         mslice.shape[i] = 1
+  *         mslice.strides[i] = mslice.strides[0]
+  *         mslice.suboffsets[i] = -1             # <<<<<<<<<<<<<<
+@@ -22830,7 +24531,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+     (__pyx_v_mslice->suboffsets[__pyx_v_i]) = -1L;
+   }
+ 
+-  /* "View.MemoryView":1324
++  /* "View.MemoryView":1336
+  * 
+  * @cname('__pyx_memoryview_broadcast_leading')
+  * cdef void broadcast_leading(__Pyx_memviewslice *mslice,             # <<<<<<<<<<<<<<
+@@ -22841,7 +24542,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1346
++/* "View.MemoryView":1358
+  * 
+  * @cname('__pyx_memoryview_refcount_copying')
+  * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object,             # <<<<<<<<<<<<<<
+@@ -22852,7 +24553,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_dtype_is_object, int __pyx_v_ndim, int __pyx_v_inc) {
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":1350
++  /* "View.MemoryView":1362
+  * 
+  * 
+  *     if dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -22862,7 +24563,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+   __pyx_t_1 = (__pyx_v_dtype_is_object != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1351
++    /* "View.MemoryView":1363
+  * 
+  *     if dtype_is_object:
+  *         refcount_objects_in_slice_with_gil(dst.data, dst.shape,             # <<<<<<<<<<<<<<
+@@ -22871,7 +24572,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+  */
+     __pyx_memoryview_refcount_objects_in_slice_with_gil(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_inc);
+ 
+-    /* "View.MemoryView":1350
++    /* "View.MemoryView":1362
+  * 
+  * 
+  *     if dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -22880,7 +24581,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+  */
+   }
+ 
+-  /* "View.MemoryView":1346
++  /* "View.MemoryView":1358
+  * 
+  * @cname('__pyx_memoryview_refcount_copying')
+  * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object,             # <<<<<<<<<<<<<<
+@@ -22891,7 +24592,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1355
++/* "View.MemoryView":1367
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil')
+  * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -22902,11 +24603,11 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) {
+   __Pyx_RefNannyDeclarations
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
+ 
+-  /* "View.MemoryView":1358
++  /* "View.MemoryView":1370
+  *                                              Py_ssize_t *strides, int ndim,
+  *                                              bint inc) with gil:
+  *     refcount_objects_in_slice(data, shape, strides, ndim, inc)             # <<<<<<<<<<<<<<
+@@ -22915,7 +24616,7 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
+  */
+   __pyx_memoryview_refcount_objects_in_slice(__pyx_v_data, __pyx_v_shape, __pyx_v_strides, __pyx_v_ndim, __pyx_v_inc);
+ 
+-  /* "View.MemoryView":1355
++  /* "View.MemoryView":1367
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil')
+  * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -22926,11 +24627,11 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+ }
+ 
+-/* "View.MemoryView":1361
++/* "View.MemoryView":1373
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice')
+  * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -22943,10 +24644,11 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+   __Pyx_RefNannyDeclarations
+   Py_ssize_t __pyx_t_1;
+   Py_ssize_t __pyx_t_2;
+-  int __pyx_t_3;
++  Py_ssize_t __pyx_t_3;
++  int __pyx_t_4;
+   __Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
+ 
+-  /* "View.MemoryView":1365
++  /* "View.MemoryView":1377
+  *     cdef Py_ssize_t i
+  * 
+  *     for i in range(shape[0]):             # <<<<<<<<<<<<<<
+@@ -22954,30 +24656,31 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  *             if inc:
+  */
+   __pyx_t_1 = (__pyx_v_shape[0]);
+-  for (__pyx_t_2 = 0; __pyx_t_2 < __pyx_t_1; __pyx_t_2+=1) {
+-    __pyx_v_i = __pyx_t_2;
++  __pyx_t_2 = __pyx_t_1;
++  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
++    __pyx_v_i = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1366
++    /* "View.MemoryView":1378
+  * 
+  *     for i in range(shape[0]):
+  *         if ndim == 1:             # <<<<<<<<<<<<<<
+  *             if inc:
+  *                 Py_INCREF(( data)[0])
+  */
+-    __pyx_t_3 = ((__pyx_v_ndim == 1) != 0);
+-    if (__pyx_t_3) {
++    __pyx_t_4 = ((__pyx_v_ndim == 1) != 0);
++    if (__pyx_t_4) {
+ 
+-      /* "View.MemoryView":1367
++      /* "View.MemoryView":1379
+  *     for i in range(shape[0]):
+  *         if ndim == 1:
+  *             if inc:             # <<<<<<<<<<<<<<
+  *                 Py_INCREF(( data)[0])
+  *             else:
+  */
+-      __pyx_t_3 = (__pyx_v_inc != 0);
+-      if (__pyx_t_3) {
++      __pyx_t_4 = (__pyx_v_inc != 0);
++      if (__pyx_t_4) {
+ 
+-        /* "View.MemoryView":1368
++        /* "View.MemoryView":1380
+  *         if ndim == 1:
+  *             if inc:
+  *                 Py_INCREF(( data)[0])             # <<<<<<<<<<<<<<
+@@ -22986,7 +24689,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  */
+         Py_INCREF((((PyObject **)__pyx_v_data)[0]));
+ 
+-        /* "View.MemoryView":1367
++        /* "View.MemoryView":1379
+  *     for i in range(shape[0]):
+  *         if ndim == 1:
+  *             if inc:             # <<<<<<<<<<<<<<
+@@ -22996,7 +24699,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+         goto __pyx_L6;
+       }
+ 
+-      /* "View.MemoryView":1370
++      /* "View.MemoryView":1382
+  *                 Py_INCREF(( data)[0])
+  *             else:
+  *                 Py_DECREF(( data)[0])             # <<<<<<<<<<<<<<
+@@ -23008,7 +24711,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+       }
+       __pyx_L6:;
+ 
+-      /* "View.MemoryView":1366
++      /* "View.MemoryView":1378
+  * 
+  *     for i in range(shape[0]):
+  *         if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -23018,7 +24721,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+       goto __pyx_L5;
+     }
+ 
+-    /* "View.MemoryView":1372
++    /* "View.MemoryView":1384
+  *                 Py_DECREF(( data)[0])
+  *         else:
+  *             refcount_objects_in_slice(data, shape + 1, strides + 1,             # <<<<<<<<<<<<<<
+@@ -23027,7 +24730,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  */
+     /*else*/ {
+ 
+-      /* "View.MemoryView":1373
++      /* "View.MemoryView":1385
+  *         else:
+  *             refcount_objects_in_slice(data, shape + 1, strides + 1,
+  *                                       ndim - 1, inc)             # <<<<<<<<<<<<<<
+@@ -23038,7 +24741,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+     }
+     __pyx_L5:;
+ 
+-    /* "View.MemoryView":1375
++    /* "View.MemoryView":1387
+  *                                       ndim - 1, inc)
+  * 
+  *         data += strides[0]             # <<<<<<<<<<<<<<
+@@ -23048,7 +24751,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+     __pyx_v_data = (__pyx_v_data + (__pyx_v_strides[0]));
+   }
+ 
+-  /* "View.MemoryView":1361
++  /* "View.MemoryView":1373
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice')
+  * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -23060,7 +24763,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":1381
++/* "View.MemoryView":1393
+  * 
+  * @cname('__pyx_memoryview_slice_assign_scalar')
+  * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim,             # <<<<<<<<<<<<<<
+@@ -23070,7 +24773,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+ 
+ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize, void *__pyx_v_item, int __pyx_v_dtype_is_object) {
+ 
+-  /* "View.MemoryView":1384
++  /* "View.MemoryView":1396
+  *                               size_t itemsize, void *item,
+  *                               bint dtype_is_object) nogil:
+  *     refcount_copying(dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -23079,7 +24782,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-  /* "View.MemoryView":1385
++  /* "View.MemoryView":1397
+  *                               bint dtype_is_object) nogil:
+  *     refcount_copying(dst, dtype_is_object, ndim, False)
+  *     _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim,             # <<<<<<<<<<<<<<
+@@ -23088,7 +24791,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview__slice_assign_scalar(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_itemsize, __pyx_v_item);
+ 
+-  /* "View.MemoryView":1387
++  /* "View.MemoryView":1399
+  *     _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim,
+  *                          itemsize, item)
+  *     refcount_copying(dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -23097,7 +24800,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-  /* "View.MemoryView":1381
++  /* "View.MemoryView":1393
+  * 
+  * @cname('__pyx_memoryview_slice_assign_scalar')
+  * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim,             # <<<<<<<<<<<<<<
+@@ -23108,7 +24811,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1391
++/* "View.MemoryView":1403
+  * 
+  * @cname('__pyx_memoryview__slice_assign_scalar')
+  * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -23123,8 +24826,9 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+   int __pyx_t_1;
+   Py_ssize_t __pyx_t_2;
+   Py_ssize_t __pyx_t_3;
++  Py_ssize_t __pyx_t_4;
+ 
+-  /* "View.MemoryView":1395
++  /* "View.MemoryView":1407
+  *                               size_t itemsize, void *item) nogil:
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t stride = strides[0]             # <<<<<<<<<<<<<<
+@@ -23133,7 +24837,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   __pyx_v_stride = (__pyx_v_strides[0]);
+ 
+-  /* "View.MemoryView":1396
++  /* "View.MemoryView":1408
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t stride = strides[0]
+  *     cdef Py_ssize_t extent = shape[0]             # <<<<<<<<<<<<<<
+@@ -23142,7 +24846,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   __pyx_v_extent = (__pyx_v_shape[0]);
+ 
+-  /* "View.MemoryView":1398
++  /* "View.MemoryView":1410
+  *     cdef Py_ssize_t extent = shape[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -23152,7 +24856,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+   __pyx_t_1 = ((__pyx_v_ndim == 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1399
++    /* "View.MemoryView":1411
+  * 
+  *     if ndim == 1:
+  *         for i in range(extent):             # <<<<<<<<<<<<<<
+@@ -23160,19 +24864,20 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  *             data += stride
+  */
+     __pyx_t_2 = __pyx_v_extent;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_i = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_i = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1400
++      /* "View.MemoryView":1412
+  *     if ndim == 1:
+  *         for i in range(extent):
+  *             memcpy(data, item, itemsize)             # <<<<<<<<<<<<<<
+  *             data += stride
+  *     else:
+  */
+-      memcpy(__pyx_v_data, __pyx_v_item, __pyx_v_itemsize);
++      (void)(memcpy(__pyx_v_data, __pyx_v_item, __pyx_v_itemsize));
+ 
+-      /* "View.MemoryView":1401
++      /* "View.MemoryView":1413
+  *         for i in range(extent):
+  *             memcpy(data, item, itemsize)
+  *             data += stride             # <<<<<<<<<<<<<<
+@@ -23182,7 +24887,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+       __pyx_v_data = (__pyx_v_data + __pyx_v_stride);
+     }
+ 
+-    /* "View.MemoryView":1398
++    /* "View.MemoryView":1410
+  *     cdef Py_ssize_t extent = shape[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -23192,7 +24897,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1403
++  /* "View.MemoryView":1415
+  *             data += stride
+  *     else:
+  *         for i in range(extent):             # <<<<<<<<<<<<<<
+@@ -23201,10 +24906,11 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   /*else*/ {
+     __pyx_t_2 = __pyx_v_extent;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_i = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_i = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1404
++      /* "View.MemoryView":1416
+  *     else:
+  *         for i in range(extent):
+  *             _slice_assign_scalar(data, shape + 1, strides + 1,             # <<<<<<<<<<<<<<
+@@ -23213,7 +24919,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+       __pyx_memoryview__slice_assign_scalar(__pyx_v_data, (__pyx_v_shape + 1), (__pyx_v_strides + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize, __pyx_v_item);
+ 
+-      /* "View.MemoryView":1406
++      /* "View.MemoryView":1418
+  *             _slice_assign_scalar(data, shape + 1, strides + 1,
+  *                                 ndim - 1, itemsize, item)
+  *             data += stride             # <<<<<<<<<<<<<<
+@@ -23223,17 +24929,495 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+       __pyx_v_data = (__pyx_v_data + __pyx_v_stride);
+     }
+   }
+-  __pyx_L3:;
++  __pyx_L3:;
++
++  /* "View.MemoryView":1403
++ * 
++ * @cname('__pyx_memoryview__slice_assign_scalar')
++ * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
++ *                               Py_ssize_t *strides, int ndim,
++ *                               size_t itemsize, void *item) nogil:
++ */
++
++  /* function exit code */
++}
++
++/* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
++static PyMethodDef __pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum = {"__pyx_unpickle_Enum", (PyCFunction)__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum, METH_VARARGS|METH_KEYWORDS, 0};
++static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
++  PyObject *__pyx_v___pyx_type = 0;
++  long __pyx_v___pyx_checksum;
++  PyObject *__pyx_v___pyx_state = 0;
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum (wrapper)", 0);
++  {
++    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_type,&__pyx_n_s_pyx_checksum,&__pyx_n_s_pyx_state,0};
++    PyObject* values[3] = {0,0,0};
++    if (unlikely(__pyx_kwds)) {
++      Py_ssize_t kw_args;
++      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
++      switch (pos_args) {
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
++        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
++        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
++        case  0: break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++      kw_args = PyDict_Size(__pyx_kwds);
++      switch (pos_args) {
++        case  0:
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_type)) != 0)) kw_args--;
++        else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
++        case  1:
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_checksum)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 1); __PYX_ERR(2, 1, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  2:
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_state)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 2); __PYX_ERR(2, 1, __pyx_L3_error)
++        }
++      }
++      if (unlikely(kw_args > 0)) {
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__pyx_unpickle_Enum") < 0)) __PYX_ERR(2, 1, __pyx_L3_error)
++      }
++    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
++      goto __pyx_L5_argtuple_error;
++    } else {
++      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++    }
++    __pyx_v___pyx_type = values[0];
++    __pyx_v___pyx_checksum = __Pyx_PyInt_As_long(values[1]); if (unlikely((__pyx_v___pyx_checksum == (long)-1) && PyErr_Occurred())) __PYX_ERR(2, 1, __pyx_L3_error)
++    __pyx_v___pyx_state = values[2];
++  }
++  goto __pyx_L4_argument_unpacking_done;
++  __pyx_L5_argtuple_error:;
++  __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 1, __pyx_L3_error)
++  __pyx_L3_error:;
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __Pyx_RefNannyFinishContext();
++  return NULL;
++  __pyx_L4_argument_unpacking_done:;
++  __pyx_r = __pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state);
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_v___pyx_PickleError = NULL;
++  PyObject *__pyx_v___pyx_result = NULL;
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  int __pyx_t_1;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  PyObject *__pyx_t_4 = NULL;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  int __pyx_t_7;
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 0);
++
++  /* "(tree fragment)":2
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:             # <<<<<<<<<<<<<<
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ */
++  __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xb068931) != 0);
++  if (__pyx_t_1) {
++
++    /* "(tree fragment)":3
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError             # <<<<<<<<<<<<<<
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ */
++    __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_INCREF(__pyx_n_s_PickleError);
++    __Pyx_GIVEREF(__pyx_n_s_PickleError);
++    PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_PickleError);
++    __pyx_t_3 = __Pyx_Import(__pyx_n_s_pickle, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PickleError); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_INCREF(__pyx_t_2);
++    __pyx_v___pyx_PickleError = __pyx_t_2;
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++
++    /* "(tree fragment)":4
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)             # <<<<<<<<<<<<<<
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:
++ */
++    __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 4, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xb0, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 4, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_INCREF(__pyx_v___pyx_PickleError);
++    __pyx_t_2 = __pyx_v___pyx_PickleError; __pyx_t_5 = NULL;
++    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
++      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2);
++      if (likely(__pyx_t_5)) {
++        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
++        __Pyx_INCREF(__pyx_t_5);
++        __Pyx_INCREF(function);
++        __Pyx_DECREF_SET(__pyx_t_2, function);
++      }
++    }
++    if (!__pyx_t_5) {
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else {
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_2)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_4};
++        __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_4};
++        __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
++        __Pyx_GIVEREF(__pyx_t_4);
++        PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_4);
++        __pyx_t_4 = 0;
++        __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      }
++    }
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __PYX_ERR(2, 4, __pyx_L1_error)
++
++    /* "(tree fragment)":2
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:             # <<<<<<<<<<<<<<
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ */
++  }
++
++  /* "(tree fragment)":5
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)             # <<<<<<<<<<<<<<
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ */
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_MemviewEnum_type), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  __pyx_t_6 = NULL;
++  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
++    __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_2);
++    if (likely(__pyx_t_6)) {
++      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
++      __Pyx_INCREF(__pyx_t_6);
++      __Pyx_INCREF(function);
++      __Pyx_DECREF_SET(__pyx_t_2, function);
++    }
++  }
++  if (!__pyx_t_6) {
++    __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v___pyx_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++  } else {
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_v___pyx_type};
++      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_v___pyx_type};
++      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_6); __pyx_t_6 = NULL;
++      __Pyx_INCREF(__pyx_v___pyx_type);
++      __Pyx_GIVEREF(__pyx_v___pyx_type);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v___pyx_type);
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_3);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
++  }
++  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++  __pyx_v___pyx_result = __pyx_t_3;
++  __pyx_t_3 = 0;
++
++  /* "(tree fragment)":6
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:             # <<<<<<<<<<<<<<
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ */
++  __pyx_t_1 = (__pyx_v___pyx_state != Py_None);
++  __pyx_t_7 = (__pyx_t_1 != 0);
++  if (__pyx_t_7) {
++
++    /* "(tree fragment)":7
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)             # <<<<<<<<<<<<<<
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ */
++    if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 7, __pyx_L1_error)
++    __pyx_t_3 = __pyx_unpickle_Enum__set_state(((struct __pyx_MemviewEnum_obj *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 7, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++
++    /* "(tree fragment)":6
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:             # <<<<<<<<<<<<<<
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ */
++  }
++
++  /* "(tree fragment)":8
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result             # <<<<<<<<<<<<<<
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ */
++  __Pyx_XDECREF(__pyx_r);
++  __Pyx_INCREF(__pyx_v___pyx_result);
++  __pyx_r = __pyx_v___pyx_result;
++  goto __pyx_L0;
++
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_2);
++  __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_XDECREF(__pyx_t_4);
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XDECREF(__pyx_v___pyx_PickleError);
++  __Pyx_XDECREF(__pyx_v___pyx_result);
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ */
++
++static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_2;
++  Py_ssize_t __pyx_t_3;
++  int __pyx_t_4;
++  int __pyx_t_5;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  PyObject *__pyx_t_9 = NULL;
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 0);
++
++  /* "(tree fragment)":10
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]             # <<<<<<<<<<<<<<
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
++  if (unlikely(__pyx_v___pyx_state == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
++    __PYX_ERR(2, 10, __pyx_L1_error)
++  }
++  __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 10, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_GIVEREF(__pyx_t_1);
++  __Pyx_GOTREF(__pyx_v___pyx_result->name);
++  __Pyx_DECREF(__pyx_v___pyx_result->name);
++  __pyx_v___pyx_result->name = __pyx_t_1;
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":11
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):             # <<<<<<<<<<<<<<
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
++  if (unlikely(__pyx_v___pyx_state == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
++    __PYX_ERR(2, 11, __pyx_L1_error)
++  }
++  __pyx_t_3 = PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(2, 11, __pyx_L1_error)
++  __pyx_t_4 = ((__pyx_t_3 > 1) != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L4_bool_binop_done;
++  }
++  __pyx_t_4 = __Pyx_HasAttr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 11, __pyx_L1_error)
++  __pyx_t_5 = (__pyx_t_4 != 0);
++  __pyx_t_2 = __pyx_t_5;
++  __pyx_L4_bool_binop_done:;
++  if (__pyx_t_2) {
++
++    /* "(tree fragment)":12
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ *         __pyx_result.__dict__.update(__pyx_state[1])             # <<<<<<<<<<<<<<
++ */
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_update); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_7);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    if (unlikely(__pyx_v___pyx_state == Py_None)) {
++      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
++      __PYX_ERR(2, 12, __pyx_L1_error)
++    }
++    __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_8 = NULL;
++    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_7))) {
++      __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
++      if (likely(__pyx_t_8)) {
++        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
++        __Pyx_INCREF(__pyx_t_8);
++        __Pyx_INCREF(function);
++        __Pyx_DECREF_SET(__pyx_t_7, function);
++      }
++    }
++    if (!__pyx_t_8) {
++      __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else {
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_7)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_6};
++        __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_6};
++        __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_9);
++        __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __pyx_t_8 = NULL;
++        __Pyx_GIVEREF(__pyx_t_6);
++        PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_t_6);
++        __pyx_t_6 = 0;
++        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
++      }
++    }
++    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++
++    /* "(tree fragment)":11
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):             # <<<<<<<<<<<<<<
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
++  }
+ 
+-  /* "View.MemoryView":1391
+- * 
+- * @cname('__pyx_memoryview__slice_assign_scalar')
+- * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+- *                               Py_ssize_t *strides, int ndim,
+- *                               size_t itemsize, void *item) nogil:
++  /* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
+  */
+ 
+   /* function exit code */
++  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_XDECREF(__pyx_t_9);
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = 0;
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
+ }
+ 
+ static struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *__pyx_freelist_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper[8];
+@@ -23271,13 +25455,13 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct____py
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *)o;
+   if (p->__pyx_v_in_type) {
+-    e = (*v)(((PyObject*)p->__pyx_v_in_type), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_v_in_type), a); if (e) return e;
+   }
+   if (p->__pyx_v_input_arrays) {
+     e = (*v)(p->__pyx_v_input_arrays, a); if (e) return e;
+   }
+   if (p->__pyx_v_out_type) {
+-    e = (*v)(((PyObject*)p->__pyx_v_out_type), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_v_out_type), a); if (e) return e;
+   }
+   if (p->__pyx_v_output_arrays) {
+     e = (*v)(p->__pyx_v_output_arrays, a); if (e) return e;
+@@ -23394,7 +25578,7 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_gen
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *)o;
+   if (p->__pyx_outer_scope) {
+-    e = (*v)(((PyObject*)p->__pyx_outer_scope), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e;
+   }
+   if (p->__pyx_v_input_array) {
+     e = (*v)(p->__pyx_v_input_array, a); if (e) return e;
+@@ -23402,18 +25586,6 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_gen
+   return 0;
+ }
+ 
+-static int __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr(PyObject *o) {
+-  PyObject* tmp;
+-  struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr *)o;
+-  tmp = ((PyObject*)p->__pyx_outer_scope);
+-  p->__pyx_outer_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *)Py_None); Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  tmp = ((PyObject*)p->__pyx_v_input_array);
+-  p->__pyx_v_input_array = Py_None; Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  return 0;
+-}
+-
+ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr = {
+   PyVarObject_HEAD_INIT(0, 0)
+   "pyresample.ewa._fornav.__pyx_scope_struct_1_genexpr", /*tp_name*/
+@@ -23442,7 +25614,7 @@ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_g
+   Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+   0, /*tp_doc*/
+   __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr, /*tp_traverse*/
+-  __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr, /*tp_clear*/
++  0, /*tp_clear*/
+   0, /*tp_richcompare*/
+   0, /*tp_weaklistoffset*/
+   0, /*tp_iter*/
+@@ -23505,7 +25677,7 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_gen
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *)o;
+   if (p->__pyx_outer_scope) {
+-    e = (*v)(((PyObject*)p->__pyx_outer_scope), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e;
+   }
+   if (p->__pyx_v_output_array) {
+     e = (*v)(p->__pyx_v_output_array, a); if (e) return e;
+@@ -23513,18 +25685,6 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_gen
+   return 0;
+ }
+ 
+-static int __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr(PyObject *o) {
+-  PyObject* tmp;
+-  struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr *)o;
+-  tmp = ((PyObject*)p->__pyx_outer_scope);
+-  p->__pyx_outer_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper *)Py_None); Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  tmp = ((PyObject*)p->__pyx_v_output_array);
+-  p->__pyx_v_output_array = Py_None; Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  return 0;
+-}
+-
+ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr = {
+   PyVarObject_HEAD_INIT(0, 0)
+   "pyresample.ewa._fornav.__pyx_scope_struct_2_genexpr", /*tp_name*/
+@@ -23553,7 +25713,7 @@ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_g
+   Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+   0, /*tp_doc*/
+   __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr, /*tp_traverse*/
+-  __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr, /*tp_clear*/
++  0, /*tp_clear*/
+   0, /*tp_richcompare*/
+   0, /*tp_weaklistoffset*/
+   0, /*tp_iter*/
+@@ -23618,13 +25778,13 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___p
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *)o;
+   if (p->__pyx_v_in_type) {
+-    e = (*v)(((PyObject*)p->__pyx_v_in_type), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_v_in_type), a); if (e) return e;
+   }
+   if (p->__pyx_v_input_arrays) {
+     e = (*v)(p->__pyx_v_input_arrays, a); if (e) return e;
+   }
+   if (p->__pyx_v_out_type) {
+-    e = (*v)(((PyObject*)p->__pyx_v_out_type), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_v_out_type), a); if (e) return e;
+   }
+   if (p->__pyx_v_output_arrays) {
+     e = (*v)(p->__pyx_v_output_arrays, a); if (e) return e;
+@@ -23741,7 +25901,7 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_gen
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *)o;
+   if (p->__pyx_outer_scope) {
+-    e = (*v)(((PyObject*)p->__pyx_outer_scope), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e;
+   }
+   if (p->__pyx_v_input_array) {
+     e = (*v)(p->__pyx_v_input_array, a); if (e) return e;
+@@ -23749,18 +25909,6 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_gen
+   return 0;
+ }
+ 
+-static int __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr(PyObject *o) {
+-  PyObject* tmp;
+-  struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr *)o;
+-  tmp = ((PyObject*)p->__pyx_outer_scope);
+-  p->__pyx_outer_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *)Py_None); Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  tmp = ((PyObject*)p->__pyx_v_input_array);
+-  p->__pyx_v_input_array = Py_None; Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  return 0;
+-}
+-
+ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr = {
+   PyVarObject_HEAD_INIT(0, 0)
+   "pyresample.ewa._fornav.__pyx_scope_struct_4_genexpr", /*tp_name*/
+@@ -23789,7 +25937,7 @@ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_g
+   Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+   0, /*tp_doc*/
+   __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr, /*tp_traverse*/
+-  __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr, /*tp_clear*/
++  0, /*tp_clear*/
+   0, /*tp_richcompare*/
+   0, /*tp_weaklistoffset*/
+   0, /*tp_iter*/
+@@ -23852,7 +26000,7 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_gen
+   int e;
+   struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *)o;
+   if (p->__pyx_outer_scope) {
+-    e = (*v)(((PyObject*)p->__pyx_outer_scope), a); if (e) return e;
++    e = (*v)(((PyObject *)p->__pyx_outer_scope), a); if (e) return e;
+   }
+   if (p->__pyx_v_output_array) {
+     e = (*v)(p->__pyx_v_output_array, a); if (e) return e;
+@@ -23860,18 +26008,6 @@ static int __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_gen
+   return 0;
+ }
+ 
+-static int __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr(PyObject *o) {
+-  PyObject* tmp;
+-  struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *p = (struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr *)o;
+-  tmp = ((PyObject*)p->__pyx_outer_scope);
+-  p->__pyx_outer_scope = ((struct __pyx_obj_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper *)Py_None); Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  tmp = ((PyObject*)p->__pyx_v_output_array);
+-  p->__pyx_v_output_array = Py_None; Py_INCREF(Py_None);
+-  Py_XDECREF(tmp);
+-  return 0;
+-}
+-
+ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr = {
+   PyVarObject_HEAD_INIT(0, 0)
+   "pyresample.ewa._fornav.__pyx_scope_struct_5_genexpr", /*tp_name*/
+@@ -23900,7 +26036,7 @@ static PyTypeObject __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_g
+   Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+   0, /*tp_doc*/
+   __pyx_tp_traverse_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr, /*tp_traverse*/
+-  __pyx_tp_clear_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr, /*tp_clear*/
++  0, /*tp_clear*/
+   0, /*tp_richcompare*/
+   0, /*tp_weaklistoffset*/
+   0, /*tp_iter*/
+@@ -23944,16 +26080,17 @@ static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k) {
+   p->__pyx_vtab = __pyx_vtabptr_array;
+   p->mode = ((PyObject*)Py_None); Py_INCREF(Py_None);
+   p->_format = ((PyObject*)Py_None); Py_INCREF(Py_None);
+-  if (unlikely(__pyx_array___cinit__(o, a, k) < 0)) {
+-    Py_DECREF(o); o = 0;
+-  }
++  if (unlikely(__pyx_array___cinit__(o, a, k) < 0)) goto bad;
+   return o;
++  bad:
++  Py_DECREF(o); o = 0;
++  return NULL;
+ }
+ 
+ static void __pyx_tp_dealloc_array(PyObject *o) {
+   struct __pyx_array_obj *p = (struct __pyx_array_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -23989,7 +26126,7 @@ static int __pyx_mp_ass_subscript_array(PyObject *o, PyObject *i, PyObject *v) {
+ }
+ 
+ static PyObject *__pyx_tp_getattro_array(PyObject *o, PyObject *n) {
+-  PyObject *v = PyObject_GenericGetAttr(o, n);
++  PyObject *v = __Pyx_PyObject_GenericGetAttr(o, n);
+   if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {
+     PyErr_Clear();
+     v = __pyx_array___getattr__(o, n);
+@@ -24003,6 +26140,8 @@ static PyObject *__pyx_getprop___pyx_array_memview(PyObject *o, CYTHON_UNUSED vo
+ 
+ static PyMethodDef __pyx_methods_array[] = {
+   {"__getattr__", (PyCFunction)__pyx_array___getattr__, METH_O|METH_COEXIST, 0},
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_array_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_array_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -24012,7 +26151,7 @@ static struct PyGetSetDef __pyx_getsets_array[] = {
+ };
+ 
+ static PySequenceMethods __pyx_tp_as_sequence_array = {
+-  0, /*sq_length*/
++  __pyx_array___len__, /*sq_length*/
+   0, /*sq_concat*/
+   0, /*sq_repeat*/
+   __pyx_sq_item_array, /*sq_item*/
+@@ -24025,7 +26164,7 @@ static PySequenceMethods __pyx_tp_as_sequence_array = {
+ };
+ 
+ static PyMappingMethods __pyx_tp_as_mapping_array = {
+-  0, /*mp_length*/
++  __pyx_array___len__, /*mp_length*/
+   __pyx_array___getitem__, /*mp_subscript*/
+   __pyx_mp_ass_subscript_array, /*mp_ass_subscript*/
+ };
+@@ -24121,8 +26260,8 @@ static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, CYTHON_UNUSED PyObject *a, C
+ 
+ static void __pyx_tp_dealloc_Enum(PyObject *o) {
+   struct __pyx_MemviewEnum_obj *p = (struct __pyx_MemviewEnum_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -24150,6 +26289,8 @@ static int __pyx_tp_clear_Enum(PyObject *o) {
+ }
+ 
+ static PyMethodDef __pyx_methods_Enum[] = {
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_MemviewEnum_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_MemviewEnum_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -24227,16 +26368,17 @@ static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject
+   p->_size = Py_None; Py_INCREF(Py_None);
+   p->_array_interface = Py_None; Py_INCREF(Py_None);
+   p->view.obj = NULL;
+-  if (unlikely(__pyx_memoryview___cinit__(o, a, k) < 0)) {
+-    Py_DECREF(o); o = 0;
+-  }
++  if (unlikely(__pyx_memoryview___cinit__(o, a, k) < 0)) goto bad;
+   return o;
++  bad:
++  Py_DECREF(o); o = 0;
++  return NULL;
+ }
+ 
+ static void __pyx_tp_dealloc_memoryview(PyObject *o) {
+   struct __pyx_memoryview_obj *p = (struct __pyx_memoryview_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -24348,6 +26490,8 @@ static PyMethodDef __pyx_methods_memoryview[] = {
+   {"is_f_contig", (PyCFunction)__pyx_memoryview_is_f_contig, METH_NOARGS, 0},
+   {"copy", (PyCFunction)__pyx_memoryview_copy, METH_NOARGS, 0},
+   {"copy_fortran", (PyCFunction)__pyx_memoryview_copy_fortran, METH_NOARGS, 0},
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_memoryview_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_memoryview_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -24472,8 +26616,8 @@ static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyO
+ 
+ static void __pyx_tp_dealloc__memoryviewslice(PyObject *o) {
+   struct __pyx_memoryviewslice_obj *p = (struct __pyx_memoryviewslice_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -24517,6 +26661,8 @@ static PyObject *__pyx_getprop___pyx_memoryviewslice_base(PyObject *o, CYTHON_UN
+ }
+ 
+ static PyMethodDef __pyx_methods__memoryviewslice[] = {
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_memoryviewslice_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_memoryviewslice_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -24596,17 +26742,31 @@ static PyMethodDef __pyx_methods[] = {
+ };
+ 
+ #if PY_MAJOR_VERSION >= 3
++#if CYTHON_PEP489_MULTI_PHASE_INIT
++static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
++static int __pyx_pymod_exec__fornav(PyObject* module); /*proto*/
++static PyModuleDef_Slot __pyx_moduledef_slots[] = {
++  {Py_mod_create, (void*)__pyx_pymod_create},
++  {Py_mod_exec, (void*)__pyx_pymod_exec__fornav},
++  {0, NULL}
++};
++#endif
++
+ static struct PyModuleDef __pyx_moduledef = {
+-  #if PY_VERSION_HEX < 0x03020000
+-    { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
+-  #else
+     PyModuleDef_HEAD_INIT,
+-  #endif
+     "_fornav",
+     __pyx_k_Resampling_swath_data_to_uniform, /* m_doc */
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++    0, /* m_size */
++  #else
+     -1, /* m_size */
++  #endif
+     __pyx_methods /* m_methods */,
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++    __pyx_moduledef_slots, /* m_slots */
++  #else
+     NULL, /* m_reload */
++  #endif
+     NULL, /* m_traverse */
+     NULL, /* m_clear */
+     NULL /* m_free */
+@@ -24615,20 +26775,22 @@ static struct PyModuleDef __pyx_moduledef = {
+ 
+ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_ASCII, __pyx_k_ASCII, sizeof(__pyx_k_ASCII), 0, 0, 1, 1},
+-  {&__pyx_n_s_AttributeError, __pyx_k_AttributeError, sizeof(__pyx_k_AttributeError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Buffer_view_does_not_expose_stri, __pyx_k_Buffer_view_does_not_expose_stri, sizeof(__pyx_k_Buffer_view_does_not_expose_stri), 0, 0, 1, 0},
+   {&__pyx_kp_s_Can_only_create_a_buffer_that_is, __pyx_k_Can_only_create_a_buffer_that_is, sizeof(__pyx_k_Can_only_create_a_buffer_that_is), 0, 0, 1, 0},
++  {&__pyx_kp_s_Cannot_assign_to_read_only_memor, __pyx_k_Cannot_assign_to_read_only_memor, sizeof(__pyx_k_Cannot_assign_to_read_only_memor), 0, 0, 1, 0},
++  {&__pyx_kp_s_Cannot_create_writable_memory_vi, __pyx_k_Cannot_create_writable_memory_vi, sizeof(__pyx_k_Cannot_create_writable_memory_vi), 0, 0, 1, 0},
+   {&__pyx_kp_s_Cannot_index_with_type_s, __pyx_k_Cannot_index_with_type_s, sizeof(__pyx_k_Cannot_index_with_type_s), 0, 0, 1, 0},
+   {&__pyx_kp_s_Could_not_initialize_weight_stru, __pyx_k_Could_not_initialize_weight_stru, sizeof(__pyx_k_Could_not_initialize_weight_stru), 0, 0, 1, 0},
+   {&__pyx_kp_s_EWA_Resampling_No_swath_pixels_f, __pyx_k_EWA_Resampling_No_swath_pixels_f, sizeof(__pyx_k_EWA_Resampling_No_swath_pixels_f), 0, 0, 1, 0},
+   {&__pyx_kp_s_EWA_requires_2_or_more_rows_per, __pyx_k_EWA_requires_2_or_more_rows_per, sizeof(__pyx_k_EWA_requires_2_or_more_rows_per), 0, 0, 1, 0},
+   {&__pyx_n_s_Ellipsis, __pyx_k_Ellipsis, sizeof(__pyx_k_Ellipsis), 0, 0, 1, 1},
+   {&__pyx_kp_s_Empty_shape_tuple_for_cython_arr, __pyx_k_Empty_shape_tuple_for_cython_arr, sizeof(__pyx_k_Empty_shape_tuple_for_cython_arr), 0, 0, 1, 0},
+-  {&__pyx_kp_s_Expected_at_least_d_arguments, __pyx_k_Expected_at_least_d_arguments, sizeof(__pyx_k_Expected_at_least_d_arguments), 0, 0, 1, 0},
++  {&__pyx_kp_s_Expected_at_least_d_argument_s_g, __pyx_k_Expected_at_least_d_argument_s_g, sizeof(__pyx_k_Expected_at_least_d_argument_s_g), 0, 0, 1, 0},
+   {&__pyx_kp_u_Format_string_allocated_too_shor, __pyx_k_Format_string_allocated_too_shor, sizeof(__pyx_k_Format_string_allocated_too_shor), 0, 1, 0, 0},
+   {&__pyx_kp_u_Format_string_allocated_too_shor_2, __pyx_k_Format_string_allocated_too_shor_2, sizeof(__pyx_k_Format_string_allocated_too_shor_2), 0, 1, 0, 0},
+   {&__pyx_kp_s_Function_call_with_ambiguous_arg, __pyx_k_Function_call_with_ambiguous_arg, sizeof(__pyx_k_Function_call_with_ambiguous_arg), 0, 0, 1, 0},
+   {&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1},
++  {&__pyx_kp_s_Incompatible_checksums_s_vs_0xb0, __pyx_k_Incompatible_checksums_s_vs_0xb0, sizeof(__pyx_k_Incompatible_checksums_s_vs_0xb0), 0, 0, 1, 0},
+   {&__pyx_n_s_IndexError, __pyx_k_IndexError, sizeof(__pyx_k_IndexError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Indirect_dimensions_not_supporte, __pyx_k_Indirect_dimensions_not_supporte, sizeof(__pyx_k_Indirect_dimensions_not_supporte), 0, 0, 1, 0},
+   {&__pyx_kp_s_Input_and_Output_must_be_of_the, __pyx_k_Input_and_Output_must_be_of_the, sizeof(__pyx_k_Input_and_Output_must_be_of_the), 0, 0, 1, 0},
+@@ -24644,12 +26806,13 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_u_Non_native_byte_order_not_suppor, __pyx_k_Non_native_byte_order_not_suppor, sizeof(__pyx_k_Non_native_byte_order_not_suppor), 0, 1, 0, 0},
+   {&__pyx_n_b_O, __pyx_k_O, sizeof(__pyx_k_O), 0, 0, 0, 1},
+   {&__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_k_Out_of_bounds_on_buffer_access_a, sizeof(__pyx_k_Out_of_bounds_on_buffer_access_a), 0, 0, 1, 0},
++  {&__pyx_n_s_PickleError, __pyx_k_PickleError, sizeof(__pyx_k_PickleError), 0, 0, 1, 1},
+   {&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
+   {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Unable_to_convert_item_to_object, __pyx_k_Unable_to_convert_item_to_object, sizeof(__pyx_k_Unable_to_convert_item_to_object), 0, 0, 1, 0},
+   {&__pyx_kp_s_Unknown_input_and_output_data_ty, __pyx_k_Unknown_input_and_output_data_ty, sizeof(__pyx_k_Unknown_input_and_output_data_ty), 0, 0, 1, 0},
+-  {&__pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_k_Users_davidh_repos_git_pyresamp, sizeof(__pyx_k_Users_davidh_repos_git_pyresamp), 0, 0, 1, 0},
+   {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
++  {&__pyx_n_s_View_MemoryView, __pyx_k_View_MemoryView, sizeof(__pyx_k_View_MemoryView), 0, 0, 1, 1},
+   {&__pyx_kp_s__13, __pyx_k__13, sizeof(__pyx_k__13), 0, 0, 1, 0},
+   {&__pyx_kp_s__15, __pyx_k__15, sizeof(__pyx_k__15), 0, 0, 1, 0},
+   {&__pyx_n_s_allocate_buffer, __pyx_k_allocate_buffer, sizeof(__pyx_k_allocate_buffer), 0, 0, 1, 1},
+@@ -24658,12 +26821,14 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_c, __pyx_k_c, sizeof(__pyx_k_c), 0, 0, 1, 1},
+   {&__pyx_n_u_c, __pyx_k_c, sizeof(__pyx_k_c), 0, 1, 0, 1},
+   {&__pyx_n_s_class, __pyx_k_class, sizeof(__pyx_k_class), 0, 0, 1, 1},
++  {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
+   {&__pyx_n_s_close, __pyx_k_close, sizeof(__pyx_k_close), 0, 0, 1, 1},
+   {&__pyx_n_s_cols_array, __pyx_k_cols_array, sizeof(__pyx_k_cols_array), 0, 0, 1, 1},
+   {&__pyx_n_s_cols_pointer, __pyx_k_cols_pointer, sizeof(__pyx_k_cols_pointer), 0, 0, 1, 1},
+   {&__pyx_kp_s_contiguous_and_direct, __pyx_k_contiguous_and_direct, sizeof(__pyx_k_contiguous_and_direct), 0, 0, 1, 0},
+   {&__pyx_kp_s_contiguous_and_indirect, __pyx_k_contiguous_and_indirect, sizeof(__pyx_k_contiguous_and_indirect), 0, 0, 1, 0},
+   {&__pyx_n_s_defaults, __pyx_k_defaults, sizeof(__pyx_k_defaults), 0, 0, 1, 1},
++  {&__pyx_n_s_dict, __pyx_k_dict, sizeof(__pyx_k_dict), 0, 0, 1, 1},
+   {&__pyx_n_s_docformat, __pyx_k_docformat, sizeof(__pyx_k_docformat), 0, 0, 1, 1},
+   {&__pyx_n_s_dtype, __pyx_k_dtype, sizeof(__pyx_k_dtype), 0, 0, 1, 1},
+   {&__pyx_n_s_dtype_is_object, __pyx_k_dtype_is_object, sizeof(__pyx_k_dtype_is_object), 0, 0, 1, 1},
+@@ -24681,6 +26846,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_u_fortran, __pyx_k_fortran, sizeof(__pyx_k_fortran), 0, 1, 0, 1},
+   {&__pyx_n_s_func_result, __pyx_k_func_result, sizeof(__pyx_k_func_result), 0, 0, 1, 1},
+   {&__pyx_n_s_genexpr, __pyx_k_genexpr, sizeof(__pyx_k_genexpr), 0, 0, 1, 1},
++  {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1},
+   {&__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_k_got_differing_extents_in_dimensi, sizeof(__pyx_k_got_differing_extents_in_dimensi), 0, 0, 1, 0},
+   {&__pyx_n_s_grid_cols, __pyx_k_grid_cols, sizeof(__pyx_k_grid_cols), 0, 0, 1, 1},
+   {&__pyx_n_s_grid_rows, __pyx_k_grid_rows, sizeof(__pyx_k_grid_rows), 0, 0, 1, 1},
+@@ -24702,30 +26868,47 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_mode, __pyx_k_mode, sizeof(__pyx_k_mode), 0, 0, 1, 1},
+   {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
+   {&__pyx_n_s_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1},
+-  {&__pyx_n_s_ndarray, __pyx_k_ndarray, sizeof(__pyx_k_ndarray), 0, 0, 1, 1},
+   {&__pyx_kp_u_ndarray_is_not_C_contiguous, __pyx_k_ndarray_is_not_C_contiguous, sizeof(__pyx_k_ndarray_is_not_C_contiguous), 0, 1, 0, 0},
+   {&__pyx_kp_u_ndarray_is_not_Fortran_contiguou, __pyx_k_ndarray_is_not_Fortran_contiguou, sizeof(__pyx_k_ndarray_is_not_Fortran_contiguou), 0, 1, 0, 0},
+   {&__pyx_n_s_ndim, __pyx_k_ndim, sizeof(__pyx_k_ndim), 0, 0, 1, 1},
++  {&__pyx_n_s_new, __pyx_k_new, sizeof(__pyx_k_new), 0, 0, 1, 1},
++  {&__pyx_kp_s_no_default___reduce___due_to_non, __pyx_k_no_default___reduce___due_to_non, sizeof(__pyx_k_no_default___reduce___due_to_non), 0, 0, 1, 0},
+   {&__pyx_n_s_num_items, __pyx_k_num_items, sizeof(__pyx_k_num_items), 0, 0, 1, 1},
+   {&__pyx_n_s_num_outputs, __pyx_k_num_outputs, sizeof(__pyx_k_num_outputs), 0, 0, 1, 1},
+   {&__pyx_n_s_numpy, __pyx_k_numpy, sizeof(__pyx_k_numpy), 0, 0, 1, 1},
++  {&__pyx_kp_s_numpy_core_multiarray_failed_to, __pyx_k_numpy_core_multiarray_failed_to, sizeof(__pyx_k_numpy_core_multiarray_failed_to), 0, 0, 1, 0},
++  {&__pyx_kp_s_numpy_core_umath_failed_to_impor, __pyx_k_numpy_core_umath_failed_to_impor, sizeof(__pyx_k_numpy_core_umath_failed_to_impor), 0, 0, 1, 0},
+   {&__pyx_n_s_obj, __pyx_k_obj, sizeof(__pyx_k_obj), 0, 0, 1, 1},
+   {&__pyx_n_s_out_type, __pyx_k_out_type, sizeof(__pyx_k_out_type), 0, 0, 1, 1},
+   {&__pyx_n_s_output_arrays, __pyx_k_output_arrays, sizeof(__pyx_k_output_arrays), 0, 0, 1, 1},
+   {&__pyx_n_s_output_fill, __pyx_k_output_fill, sizeof(__pyx_k_output_fill), 0, 0, 1, 1},
+   {&__pyx_n_s_output_pointer, __pyx_k_output_pointer, sizeof(__pyx_k_output_pointer), 0, 0, 1, 1},
+   {&__pyx_n_s_pack, __pyx_k_pack, sizeof(__pyx_k_pack), 0, 0, 1, 1},
++  {&__pyx_n_s_pickle, __pyx_k_pickle, sizeof(__pyx_k_pickle), 0, 0, 1, 1},
+   {&__pyx_n_s_pyresample_ewa__fornav, __pyx_k_pyresample_ewa__fornav, sizeof(__pyx_k_pyresample_ewa__fornav), 0, 0, 1, 1},
++  {&__pyx_kp_s_pyresample_ewa__fornav_pyx, __pyx_k_pyresample_ewa__fornav_pyx, sizeof(__pyx_k_pyresample_ewa__fornav_pyx), 0, 0, 1, 0},
++  {&__pyx_n_s_pyx_PickleError, __pyx_k_pyx_PickleError, sizeof(__pyx_k_pyx_PickleError), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_checksum, __pyx_k_pyx_checksum, sizeof(__pyx_k_pyx_checksum), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_fuse_0fornav_wrapper_local, __pyx_k_pyx_fuse_0fornav_wrapper_local, sizeof(__pyx_k_pyx_fuse_0fornav_wrapper_local), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_fuse_1fornav_wrapper_local, __pyx_k_pyx_fuse_1fornav_wrapper_local, sizeof(__pyx_k_pyx_fuse_1fornav_wrapper_local), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_getbuffer, __pyx_k_pyx_getbuffer, sizeof(__pyx_k_pyx_getbuffer), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_result, __pyx_k_pyx_result, sizeof(__pyx_k_pyx_result), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_state, __pyx_k_pyx_state, sizeof(__pyx_k_pyx_state), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_type, __pyx_k_pyx_type, sizeof(__pyx_k_pyx_type), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_unpickle_Enum, __pyx_k_pyx_unpickle_Enum, sizeof(__pyx_k_pyx_unpickle_Enum), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
+   {&__pyx_n_s_range, __pyx_k_range, sizeof(__pyx_k_range), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce_ex, __pyx_k_reduce_ex, sizeof(__pyx_k_reduce_ex), 0, 0, 1, 1},
+   {&__pyx_kp_s_restructuredtext_en, __pyx_k_restructuredtext_en, sizeof(__pyx_k_restructuredtext_en), 0, 0, 1, 0},
+   {&__pyx_n_s_rows_array, __pyx_k_rows_array, sizeof(__pyx_k_rows_array), 0, 0, 1, 1},
+   {&__pyx_n_s_rows_per_scan, __pyx_k_rows_per_scan, sizeof(__pyx_k_rows_per_scan), 0, 0, 1, 1},
+   {&__pyx_n_s_rows_pointer, __pyx_k_rows_pointer, sizeof(__pyx_k_rows_pointer), 0, 0, 1, 1},
++  {&__pyx_n_s_s, __pyx_k_s, sizeof(__pyx_k_s), 0, 0, 1, 1},
+   {&__pyx_n_s_send, __pyx_k_send, sizeof(__pyx_k_send), 0, 0, 1, 1},
++  {&__pyx_n_s_setstate, __pyx_k_setstate, sizeof(__pyx_k_setstate), 0, 0, 1, 1},
++  {&__pyx_n_s_setstate_cython, __pyx_k_setstate_cython, sizeof(__pyx_k_setstate_cython), 0, 0, 1, 1},
+   {&__pyx_n_s_shape, __pyx_k_shape, sizeof(__pyx_k_shape), 0, 0, 1, 1},
+   {&__pyx_n_s_signatures, __pyx_k_signatures, sizeof(__pyx_k_signatures), 0, 0, 1, 1},
+   {&__pyx_n_s_size, __pyx_k_size, sizeof(__pyx_k_size), 0, 0, 1, 1},
+@@ -24736,6 +26919,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_s_strided_and_direct, __pyx_k_strided_and_direct, sizeof(__pyx_k_strided_and_direct), 0, 0, 1, 0},
+   {&__pyx_kp_s_strided_and_direct_or_indirect, __pyx_k_strided_and_direct_or_indirect, sizeof(__pyx_k_strided_and_direct_or_indirect), 0, 0, 1, 0},
+   {&__pyx_kp_s_strided_and_indirect, __pyx_k_strided_and_indirect, sizeof(__pyx_k_strided_and_indirect), 0, 0, 1, 0},
++  {&__pyx_kp_s_stringsource, __pyx_k_stringsource, sizeof(__pyx_k_stringsource), 0, 0, 1, 0},
+   {&__pyx_n_s_strip, __pyx_k_strip, sizeof(__pyx_k_strip), 0, 0, 1, 1},
+   {&__pyx_n_s_struct, __pyx_k_struct, sizeof(__pyx_k_struct), 0, 0, 1, 1},
+   {&__pyx_n_s_swath_cols, __pyx_k_swath_cols, sizeof(__pyx_k_swath_cols), 0, 0, 1, 1},
+@@ -24749,6 +26933,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_s_unable_to_allocate_shape_and_str, __pyx_k_unable_to_allocate_shape_and_str, sizeof(__pyx_k_unable_to_allocate_shape_and_str), 0, 0, 1, 0},
+   {&__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_k_unknown_dtype_code_in_numpy_pxd, sizeof(__pyx_k_unknown_dtype_code_in_numpy_pxd), 0, 1, 0, 0},
+   {&__pyx_n_s_unpack, __pyx_k_unpack, sizeof(__pyx_k_unpack), 0, 0, 1, 1},
++  {&__pyx_n_s_update, __pyx_k_update, sizeof(__pyx_k_update), 0, 0, 1, 1},
+   {&__pyx_n_s_valid_arr, __pyx_k_valid_arr, sizeof(__pyx_k_valid_arr), 0, 0, 1, 1},
+   {&__pyx_n_s_valid_list, __pyx_k_valid_list, sizeof(__pyx_k_valid_list), 0, 0, 1, 1},
+   {&__pyx_n_s_weight_count, __pyx_k_weight_count, sizeof(__pyx_k_weight_count), 0, 0, 1, 1},
+@@ -24756,22 +26941,19 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_weight_distance_max, __pyx_k_weight_distance_max, sizeof(__pyx_k_weight_distance_max), 0, 0, 1, 1},
+   {&__pyx_n_s_weight_min, __pyx_k_weight_min, sizeof(__pyx_k_weight_min), 0, 0, 1, 1},
+   {&__pyx_n_s_weight_sum_min, __pyx_k_weight_sum_min, sizeof(__pyx_k_weight_sum_min), 0, 0, 1, 1},
+-  {&__pyx_n_s_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 0, 0, 1, 1},
+   {0, 0, 0, 0, 0, 0, 0}
+ };
+ static int __Pyx_InitCachedBuiltins(void) {
+   __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) __PYX_ERR(0, 134, __pyx_L1_error)
+   __pyx_builtin_MemoryError = __Pyx_GetBuiltinName(__pyx_n_s_MemoryError); if (!__pyx_builtin_MemoryError) __PYX_ERR(0, 140, __pyx_L1_error)
+   __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 161, __pyx_L1_error)
+-  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 199, __pyx_L1_error)
+   __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 199, __pyx_L1_error)
+   __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 255, __pyx_L1_error)
+-  __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(2, 149, __pyx_L1_error)
+-  __pyx_builtin_Ellipsis = __Pyx_GetBuiltinName(__pyx_n_s_Ellipsis); if (!__pyx_builtin_Ellipsis) __PYX_ERR(2, 396, __pyx_L1_error)
+-  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(2, 599, __pyx_L1_error)
+-  __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(2, 818, __pyx_L1_error)
++  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1000, __pyx_L1_error)
++  __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(2, 150, __pyx_L1_error)
++  __pyx_builtin_Ellipsis = __Pyx_GetBuiltinName(__pyx_n_s_Ellipsis); if (!__pyx_builtin_Ellipsis) __PYX_ERR(2, 399, __pyx_L1_error)
++  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(2, 608, __pyx_L1_error)
++  __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(2, 827, __pyx_L1_error)
+   return 0;
+   __pyx_L1_error:;
+   return -1;
+@@ -25087,217 +27269,327 @@ static int __Pyx_InitCachedConstants(void) {
+   __Pyx_GOTREF(__pyx_tuple__32);
+   __Pyx_GIVEREF(__pyx_tuple__32);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":218
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":229
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  */
+-  __pyx_tuple__33 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_C_contiguous); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(1, 218, __pyx_L1_error)
++  __pyx_tuple__33 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_C_contiguous); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(1, 229, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__33);
+   __Pyx_GIVEREF(__pyx_tuple__33);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":222
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":233
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             info.buf = PyArray_DATA(self)
+  */
+-  __pyx_tuple__34 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_Fortran_contiguou); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(1, 222, __pyx_L1_error)
++  __pyx_tuple__34 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_Fortran_contiguou); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(1, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__34);
+   __Pyx_GIVEREF(__pyx_tuple__34);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":259
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":263
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  */
+-  __pyx_tuple__35 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(1, 259, __pyx_L1_error)
++  __pyx_tuple__35 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(1, 263, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__35);
+   __Pyx_GIVEREF(__pyx_tuple__35);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":799
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":810
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")             # <<<<<<<<<<<<<<
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  */
+-  __pyx_tuple__36 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(1, 799, __pyx_L1_error)
++  __pyx_tuple__36 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(1, 810, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__36);
+   __Pyx_GIVEREF(__pyx_tuple__36);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":803
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":814
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *             # One could encode it in the format string and have Cython
+  *             # complain instead, BUT: < and > in format strings also imply
+  */
+-  __pyx_tuple__37 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(1, 803, __pyx_L1_error)
++  __pyx_tuple__37 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(1, 814, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__37);
+   __Pyx_GIVEREF(__pyx_tuple__37);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":823
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":834
+  *             t = child.type_num
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")             # <<<<<<<<<<<<<<
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  */
+-  __pyx_tuple__38 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor_2); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(1, 823, __pyx_L1_error)
++  __pyx_tuple__38 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor_2); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(1, 834, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__38);
+   __Pyx_GIVEREF(__pyx_tuple__38);
+ 
+-  /* "View.MemoryView":131
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1000
++ *         _import_array()
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_umath() except -1:
++ */
++  __pyx_tuple__39 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_multiarray_failed_to); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(1, 1000, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__39);
++  __Pyx_GIVEREF(__pyx_tuple__39);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1006
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_ufunc() except -1:
++ */
++  __pyx_tuple__40 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(1, 1006, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__40);
++  __Pyx_GIVEREF(__pyx_tuple__40);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1012
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__41 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(1, 1012, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__41);
++  __Pyx_GIVEREF(__pyx_tuple__41);
++
++  /* "View.MemoryView":132
+  * 
+  *         if not self.ndim:
+  *             raise ValueError("Empty shape tuple for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if itemsize <= 0:
+  */
+-  __pyx_tuple__39 = PyTuple_Pack(1, __pyx_kp_s_Empty_shape_tuple_for_cython_arr); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(2, 131, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__39);
+-  __Pyx_GIVEREF(__pyx_tuple__39);
++  __pyx_tuple__42 = PyTuple_Pack(1, __pyx_kp_s_Empty_shape_tuple_for_cython_arr); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(2, 132, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__42);
++  __Pyx_GIVEREF(__pyx_tuple__42);
+ 
+-  /* "View.MemoryView":134
++  /* "View.MemoryView":135
+  * 
+  *         if itemsize <= 0:
+  *             raise ValueError("itemsize <= 0 for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if not isinstance(format, bytes):
+  */
+-  __pyx_tuple__40 = PyTuple_Pack(1, __pyx_kp_s_itemsize_0_for_cython_array); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(2, 134, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__40);
+-  __Pyx_GIVEREF(__pyx_tuple__40);
++  __pyx_tuple__43 = PyTuple_Pack(1, __pyx_kp_s_itemsize_0_for_cython_array); if (unlikely(!__pyx_tuple__43)) __PYX_ERR(2, 135, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__43);
++  __Pyx_GIVEREF(__pyx_tuple__43);
+ 
+-  /* "View.MemoryView":137
++  /* "View.MemoryView":138
+  * 
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')             # <<<<<<<<<<<<<<
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format
+  */
+-  __pyx_tuple__41 = PyTuple_Pack(1, __pyx_n_s_ASCII); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(2, 137, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__41);
+-  __Pyx_GIVEREF(__pyx_tuple__41);
++  __pyx_tuple__44 = PyTuple_Pack(1, __pyx_n_s_ASCII); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(2, 138, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__44);
++  __Pyx_GIVEREF(__pyx_tuple__44);
+ 
+-  /* "View.MemoryView":146
++  /* "View.MemoryView":147
+  * 
+  *         if not self._shape:
+  *             raise MemoryError("unable to allocate shape and strides.")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__42 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_shape_and_str); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(2, 146, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__42);
+-  __Pyx_GIVEREF(__pyx_tuple__42);
++  __pyx_tuple__45 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_shape_and_str); if (unlikely(!__pyx_tuple__45)) __PYX_ERR(2, 147, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__45);
++  __Pyx_GIVEREF(__pyx_tuple__45);
+ 
+-  /* "View.MemoryView":174
++  /* "View.MemoryView":175
+  *             self.data = malloc(self.len)
+  *             if not self.data:
+  *                 raise MemoryError("unable to allocate array data.")             # <<<<<<<<<<<<<<
+  * 
+  *             if self.dtype_is_object:
+  */
+-  __pyx_tuple__43 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_array_data); if (unlikely(!__pyx_tuple__43)) __PYX_ERR(2, 174, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__43);
+-  __Pyx_GIVEREF(__pyx_tuple__43);
++  __pyx_tuple__46 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_array_data); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(2, 175, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__46);
++  __Pyx_GIVEREF(__pyx_tuple__46);
+ 
+-  /* "View.MemoryView":190
++  /* "View.MemoryView":191
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")             # <<<<<<<<<<<<<<
+  *         info.buf = self.data
+  *         info.len = self.len
+  */
+-  __pyx_tuple__44 = PyTuple_Pack(1, __pyx_kp_s_Can_only_create_a_buffer_that_is); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(2, 190, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__44);
+-  __Pyx_GIVEREF(__pyx_tuple__44);
++  __pyx_tuple__47 = PyTuple_Pack(1, __pyx_kp_s_Can_only_create_a_buffer_that_is); if (unlikely(!__pyx_tuple__47)) __PYX_ERR(2, 191, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__47);
++  __Pyx_GIVEREF(__pyx_tuple__47);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__48 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__48);
++  __Pyx_GIVEREF(__pyx_tuple__48);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__49 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__49)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__49);
++  __Pyx_GIVEREF(__pyx_tuple__49);
++
++  /* "View.MemoryView":413
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         have_slices, index = _unellipsify(index, self.view.ndim)
++ */
++  __pyx_tuple__50 = PyTuple_Pack(1, __pyx_kp_s_Cannot_assign_to_read_only_memor); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(2, 413, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__50);
++  __Pyx_GIVEREF(__pyx_tuple__50);
+ 
+-  /* "View.MemoryView":484
++  /* "View.MemoryView":490
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")             # <<<<<<<<<<<<<<
+  *         else:
+  *             if len(self.view.format) == 1:
+  */
+-  __pyx_tuple__45 = PyTuple_Pack(1, __pyx_kp_s_Unable_to_convert_item_to_object); if (unlikely(!__pyx_tuple__45)) __PYX_ERR(2, 484, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__45);
+-  __Pyx_GIVEREF(__pyx_tuple__45);
++  __pyx_tuple__51 = PyTuple_Pack(1, __pyx_kp_s_Unable_to_convert_item_to_object); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(2, 490, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__51);
++  __Pyx_GIVEREF(__pyx_tuple__51);
++
++  /* "View.MemoryView":515
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         if flags & PyBUF_STRIDES:
++ */
++  __pyx_tuple__52 = PyTuple_Pack(1, __pyx_kp_s_Cannot_create_writable_memory_vi); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(2, 515, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__52);
++  __Pyx_GIVEREF(__pyx_tuple__52);
+ 
+-  /* "View.MemoryView":556
++  /* "View.MemoryView":565
+  *         if self.view.strides == NULL:
+  * 
+  *             raise ValueError("Buffer view does not expose strides")             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])
+  */
+-  __pyx_tuple__46 = PyTuple_Pack(1, __pyx_kp_s_Buffer_view_does_not_expose_stri); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(2, 556, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__46);
+-  __Pyx_GIVEREF(__pyx_tuple__46);
++  __pyx_tuple__53 = PyTuple_Pack(1, __pyx_kp_s_Buffer_view_does_not_expose_stri); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__53);
++  __Pyx_GIVEREF(__pyx_tuple__53);
+ 
+-  /* "View.MemoryView":563
++  /* "View.MemoryView":572
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:
+  *             return (-1,) * self.view.ndim             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])
+  */
+-  __pyx_tuple__47 = PyTuple_New(1); if (unlikely(!__pyx_tuple__47)) __PYX_ERR(2, 563, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__47);
++  __pyx_tuple__54 = PyTuple_New(1); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(2, 572, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__54);
+   __Pyx_INCREF(__pyx_int_neg_1);
+   __Pyx_GIVEREF(__pyx_int_neg_1);
+-  PyTuple_SET_ITEM(__pyx_tuple__47, 0, __pyx_int_neg_1);
+-  __Pyx_GIVEREF(__pyx_tuple__47);
++  PyTuple_SET_ITEM(__pyx_tuple__54, 0, __pyx_int_neg_1);
++  __Pyx_GIVEREF(__pyx_tuple__54);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__55 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__55);
++  __Pyx_GIVEREF(__pyx_tuple__55);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__56 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__56);
++  __Pyx_GIVEREF(__pyx_tuple__56);
+ 
+-  /* "View.MemoryView":668
++  /* "View.MemoryView":677
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))             # <<<<<<<<<<<<<<
+  *                 seen_ellipsis = True
+  *             else:
+  */
+-  __pyx_slice__48 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__48)) __PYX_ERR(2, 668, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__48);
+-  __Pyx_GIVEREF(__pyx_slice__48);
++  __pyx_slice__57 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__57)) __PYX_ERR(2, 677, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__57);
++  __Pyx_GIVEREF(__pyx_slice__57);
+ 
+-  /* "View.MemoryView":671
++  /* "View.MemoryView":680
+  *                 seen_ellipsis = True
+  *             else:
+  *                 result.append(slice(None))             # <<<<<<<<<<<<<<
+  *             have_slices = True
+  *         else:
+  */
+-  __pyx_slice__49 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__49)) __PYX_ERR(2, 671, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__49);
+-  __Pyx_GIVEREF(__pyx_slice__49);
++  __pyx_slice__58 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__58)) __PYX_ERR(2, 680, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__58);
++  __Pyx_GIVEREF(__pyx_slice__58);
+ 
+-  /* "View.MemoryView":682
++  /* "View.MemoryView":691
+  *     nslices = ndim - len(result)
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)             # <<<<<<<<<<<<<<
+  * 
+  *     return have_slices or nslices, tuple(result)
+  */
+-  __pyx_slice__50 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__50)) __PYX_ERR(2, 682, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__50);
+-  __Pyx_GIVEREF(__pyx_slice__50);
++  __pyx_slice__59 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__59)) __PYX_ERR(2, 691, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__59);
++  __Pyx_GIVEREF(__pyx_slice__59);
+ 
+-  /* "View.MemoryView":689
++  /* "View.MemoryView":698
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             raise ValueError("Indirect dimensions not supported")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__51 = PyTuple_Pack(1, __pyx_kp_s_Indirect_dimensions_not_supporte); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(2, 689, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__51);
+-  __Pyx_GIVEREF(__pyx_tuple__51);
++  __pyx_tuple__60 = PyTuple_Pack(1, __pyx_kp_s_Indirect_dimensions_not_supporte); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(2, 698, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__60);
++  __Pyx_GIVEREF(__pyx_tuple__60);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__61 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__61)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__61);
++  __Pyx_GIVEREF(__pyx_tuple__61);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__62 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__62);
++  __Pyx_GIVEREF(__pyx_tuple__62);
+ 
+   /* "pyresample/ewa/_fornav.pyx":199
+  * @cython.boundscheck(False)
+@@ -25306,65 +27598,214 @@ static int __Pyx_InitCachedConstants(void) {
+  *            numpy.ndarray[cr_dtype, ndim=2, mode='c'] rows_array,
+  *            tuple input_arrays, tuple output_arrays, input_fill, output_fill,
+  */
+-  __pyx_tuple__52 = PyTuple_Pack(35, __pyx_n_s_cols_array, __pyx_n_s_rows_array, __pyx_n_s_input_arrays, __pyx_n_s_output_arrays, __pyx_n_s_input_fill, __pyx_n_s_output_fill, __pyx_n_s_rows_per_scan, __pyx_n_s_weight_count, __pyx_n_s_weight_min, __pyx_n_s_weight_distance_max, __pyx_n_s_weight_delta_max, __pyx_n_s_weight_sum_min, __pyx_n_s_maximum_weight_mode, __pyx_n_s_num_items, __pyx_n_s_num_outputs, __pyx_n_s_swath_cols, __pyx_n_s_swath_rows, __pyx_n_s_grid_cols, __pyx_n_s_grid_rows, __pyx_n_s_i, __pyx_n_s_in_type, __pyx_n_s_out_type, __pyx_n_s_input_pointer, __pyx_n_s_output_pointer, __pyx_n_s_valid_arr, __pyx_n_s_valid_list, __pyx_n_s_tmp_arr_f32, __pyx_n_s_tmp_arr_f64, __pyx_n_s_tmp_arr_i8, __pyx_n_s_cols_pointer, __pyx_n_s_rows_pointer, __pyx_n_s_func_result, __pyx_n_s_genexpr, __pyx_n_s_genexpr, __pyx_n_s_genexpr); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__52);
+-  __Pyx_GIVEREF(__pyx_tuple__52);
+-  __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(13, 0, 35, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_n_s_fornav_wrapper, 199, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_tuple__63 = PyTuple_Pack(35, __pyx_n_s_cols_array, __pyx_n_s_rows_array, __pyx_n_s_input_arrays, __pyx_n_s_output_arrays, __pyx_n_s_input_fill, __pyx_n_s_output_fill, __pyx_n_s_rows_per_scan, __pyx_n_s_weight_count, __pyx_n_s_weight_min, __pyx_n_s_weight_distance_max, __pyx_n_s_weight_delta_max, __pyx_n_s_weight_sum_min, __pyx_n_s_maximum_weight_mode, __pyx_n_s_num_items, __pyx_n_s_num_outputs, __pyx_n_s_swath_cols, __pyx_n_s_swath_rows, __pyx_n_s_grid_cols, __pyx_n_s_grid_rows, __pyx_n_s_i, __pyx_n_s_in_type, __pyx_n_s_out_type, __pyx_n_s_input_pointer, __pyx_n_s_output_pointer, __pyx_n_s_valid_arr, __pyx_n_s_valid_list, __pyx_n_s_tmp_arr_f32, __pyx_n_s_tmp_arr_f64, __pyx_n_s_tmp_arr_i8, __pyx_n_s_cols_pointer, __pyx_n_s_rows_pointer, __pyx_n_s_func_result, __pyx_n_s_genexpr, __pyx_n_s_genexpr, __pyx_n_s_genexpr); if (unlikely(!__pyx_tuple__63)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__63);
++  __Pyx_GIVEREF(__pyx_tuple__63);
++  __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(13, 0, 35, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__63, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pyresample_ewa__fornav_pyx, __pyx_n_s_fornav_wrapper, 199, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(0, 199, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":282
++  /* "View.MemoryView":285
+  *         return self.name
+  * 
+  * cdef generic = Enum("")             # <<<<<<<<<<<<<<
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")
+  */
+-  __pyx_tuple__54 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct_or_indirect); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(2, 282, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__54);
+-  __Pyx_GIVEREF(__pyx_tuple__54);
++  __pyx_tuple__65 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct_or_indirect); if (unlikely(!__pyx_tuple__65)) __PYX_ERR(2, 285, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__65);
++  __Pyx_GIVEREF(__pyx_tuple__65);
+ 
+-  /* "View.MemoryView":283
++  /* "View.MemoryView":286
+  * 
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default             # <<<<<<<<<<<<<<
+  * cdef indirect = Enum("")
+  * 
+  */
+-  __pyx_tuple__55 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(2, 283, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__55);
+-  __Pyx_GIVEREF(__pyx_tuple__55);
++  __pyx_tuple__66 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(2, 286, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__66);
++  __Pyx_GIVEREF(__pyx_tuple__66);
+ 
+-  /* "View.MemoryView":284
++  /* "View.MemoryView":287
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__56 = PyTuple_Pack(1, __pyx_kp_s_strided_and_indirect); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(2, 284, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__56);
+-  __Pyx_GIVEREF(__pyx_tuple__56);
++  __pyx_tuple__67 = PyTuple_Pack(1, __pyx_kp_s_strided_and_indirect); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(2, 287, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__67);
++  __Pyx_GIVEREF(__pyx_tuple__67);
+ 
+-  /* "View.MemoryView":287
++  /* "View.MemoryView":290
+  * 
+  * 
+  * cdef contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * cdef indirect_contiguous = Enum("")
+  * 
+  */
+-  __pyx_tuple__57 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_direct); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(2, 287, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__57);
+-  __Pyx_GIVEREF(__pyx_tuple__57);
++  __pyx_tuple__68 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_direct); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(2, 290, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__68);
++  __Pyx_GIVEREF(__pyx_tuple__68);
+ 
+-  /* "View.MemoryView":288
++  /* "View.MemoryView":291
+  * 
+  * cdef contiguous = Enum("")
+  * cdef indirect_contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__58 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_indirect); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(2, 288, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__58);
+-  __Pyx_GIVEREF(__pyx_tuple__58);
++  __pyx_tuple__69 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_indirect); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(2, 291, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__69);
++  __Pyx_GIVEREF(__pyx_tuple__69);
++
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++  __pyx_tuple__70 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__70);
++  __Pyx_GIVEREF(__pyx_tuple__70);
++  __pyx_codeobj__71 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Enum, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__71)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_RefNannyFinishContext();
++  return 0;
++  __pyx_L1_error:;
++  __Pyx_RefNannyFinishContext();
++  return -1;
++}
++
++static int __Pyx_InitGlobals(void) {
++  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
++  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_7 = PyInt_FromLong(7); if (unlikely(!__pyx_int_7)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_184977713 = PyInt_FromLong(184977713L); if (unlikely(!__pyx_int_184977713)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++  return 0;
++  __pyx_L1_error:;
++  return -1;
++}
++
++static int __Pyx_modinit_global_init_code(void); /*proto*/
++static int __Pyx_modinit_variable_export_code(void); /*proto*/
++static int __Pyx_modinit_function_export_code(void); /*proto*/
++static int __Pyx_modinit_type_init_code(void); /*proto*/
++static int __Pyx_modinit_type_import_code(void); /*proto*/
++static int __Pyx_modinit_variable_import_code(void); /*proto*/
++static int __Pyx_modinit_function_import_code(void); /*proto*/
++
++static int __Pyx_modinit_global_init_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0);
++  /*--- Global init code ---*/
++  generic = Py_None; Py_INCREF(Py_None);
++  strided = Py_None; Py_INCREF(Py_None);
++  indirect = Py_None; Py_INCREF(Py_None);
++  contiguous = Py_None; Py_INCREF(Py_None);
++  indirect_contiguous = Py_None; Py_INCREF(Py_None);
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_variable_export_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0);
++  /*--- Variable export code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_function_export_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0);
++  /*--- Function export code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_type_init_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
++  /*--- Type init code ---*/
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper;
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr) < 0) __PYX_ERR(0, 265, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr;
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr;
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper;
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr) < 0) __PYX_ERR(0, 265, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr;
++  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
++  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr.tp_dictoffset && __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
++  }
++  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr;
++  __pyx_vtabptr_array = &__pyx_vtable_array;
++  __pyx_vtable_array.get_memview = (PyObject *(*)(struct __pyx_array_obj *))__pyx_array_get_memview;
++  if (PyType_Ready(&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  __pyx_type___pyx_array.tp_print = 0;
++  if (__Pyx_SetVtable(__pyx_type___pyx_array.tp_dict, __pyx_vtabptr_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  __pyx_array_type = &__pyx_type___pyx_array;
++  if (PyType_Ready(&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 278, __pyx_L1_error)
++  __pyx_type___pyx_MemviewEnum.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_MemviewEnum.tp_dictoffset && __pyx_type___pyx_MemviewEnum.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_MemviewEnum.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 278, __pyx_L1_error)
++  __pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
++  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
++  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
++  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
++  __pyx_vtable_memoryview.setitem_slice_assignment = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_slice_assignment;
++  __pyx_vtable_memoryview.setitem_slice_assign_scalar = (PyObject *(*)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_setitem_slice_assign_scalar;
++  __pyx_vtable_memoryview.setitem_indexed = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_indexed;
++  __pyx_vtable_memoryview.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryview_convert_item_to_object;
++  __pyx_vtable_memoryview.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryview_assign_item_from_object;
++  if (PyType_Ready(&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  __pyx_type___pyx_memoryview.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_memoryview.tp_dictoffset && __pyx_type___pyx_memoryview.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_memoryview.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_SetVtable(__pyx_type___pyx_memoryview.tp_dict, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  __pyx_memoryview_type = &__pyx_type___pyx_memoryview;
++  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
++  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
++  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
++  __pyx_vtable__memoryviewslice.__pyx_base.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryviewslice_assign_item_from_object;
++  __pyx_type___pyx_memoryviewslice.tp_base = __pyx_memoryview_type;
++  if (PyType_Ready(&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  __pyx_type___pyx_memoryviewslice.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_memoryviewslice.tp_dictoffset && __pyx_type___pyx_memoryviewslice.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_memoryviewslice.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_SetVtable(__pyx_type___pyx_memoryviewslice.tp_dict, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  __pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
+   __Pyx_RefNannyFinishContext();
+   return 0;
+   __pyx_L1_error:;
+@@ -25372,22 +27813,119 @@ static int __Pyx_InitCachedConstants(void) {
+   return -1;
+ }
+ 
+-static int __Pyx_InitGlobals(void) {
+-  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
+-  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++static int __Pyx_modinit_type_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0);
++  /*--- Type import code ---*/
++  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
++  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
++  sizeof(PyTypeObject),
++  #else
++  sizeof(PyHeapTypeObject),
++  #endif
++  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) __PYX_ERR(3, 9, __pyx_L1_error)
++  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) __PYX_ERR(4, 8, __pyx_L1_error)
++  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) __PYX_ERR(5, 15, __pyx_L1_error)
++  __pyx_ptype_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr), 0); if (unlikely(!__pyx_ptype_5numpy_dtype)) __PYX_ERR(1, 164, __pyx_L1_error)
++  __pyx_ptype_5numpy_flatiter = __Pyx_ImportType("numpy", "flatiter", sizeof(PyArrayIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_flatiter)) __PYX_ERR(1, 186, __pyx_L1_error)
++  __pyx_ptype_5numpy_broadcast = __Pyx_ImportType("numpy", "broadcast", sizeof(PyArrayMultiIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_broadcast)) __PYX_ERR(1, 190, __pyx_L1_error)
++  __pyx_ptype_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_5numpy_ndarray)) __PYX_ERR(1, 199, __pyx_L1_error)
++  __pyx_ptype_5numpy_ufunc = __Pyx_ImportType("numpy", "ufunc", sizeof(PyUFuncObject), 0); if (unlikely(!__pyx_ptype_5numpy_ufunc)) __PYX_ERR(1, 872, __pyx_L1_error)
++  __Pyx_RefNannyFinishContext();
+   return 0;
+   __pyx_L1_error:;
++  __Pyx_RefNannyFinishContext();
+   return -1;
+ }
+ 
++static int __Pyx_modinit_variable_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0);
++  /*--- Variable import code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_function_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0);
++  /*--- Function import code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++
++#if PY_MAJOR_VERSION < 3
++#ifdef CYTHON_NO_PYINIT_EXPORT
++#define __Pyx_PyMODINIT_FUNC void
++#else
++#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
++#endif
++#else
++#ifdef CYTHON_NO_PYINIT_EXPORT
++#define __Pyx_PyMODINIT_FUNC PyObject *
++#else
++#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
++#endif
++#endif
++#ifndef CYTHON_SMALL_CODE
++#if defined(__clang__)
++    #define CYTHON_SMALL_CODE
++#elif defined(__GNUC__)
++    #define CYTHON_SMALL_CODE __attribute__((optimize("Os")))
++#else
++    #define CYTHON_SMALL_CODE
++#endif
++#endif
++
++
+ #if PY_MAJOR_VERSION < 3
+-PyMODINIT_FUNC init_fornav(void); /*proto*/
+-PyMODINIT_FUNC init_fornav(void)
++__Pyx_PyMODINIT_FUNC init_fornav(void) CYTHON_SMALL_CODE; /*proto*/
++__Pyx_PyMODINIT_FUNC init_fornav(void)
+ #else
+-PyMODINIT_FUNC PyInit__fornav(void); /*proto*/
+-PyMODINIT_FUNC PyInit__fornav(void)
++__Pyx_PyMODINIT_FUNC PyInit__fornav(void) CYTHON_SMALL_CODE; /*proto*/
++__Pyx_PyMODINIT_FUNC PyInit__fornav(void)
++#if CYTHON_PEP489_MULTI_PHASE_INIT
++{
++  return PyModuleDef_Init(&__pyx_moduledef);
++}
++static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name) {
++    PyObject *value = PyObject_GetAttrString(spec, from_name);
++    int result = 0;
++    if (likely(value)) {
++        result = PyDict_SetItemString(moddict, to_name, value);
++        Py_DECREF(value);
++    } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
++        PyErr_Clear();
++    } else {
++        result = -1;
++    }
++    return result;
++}
++static PyObject* __pyx_pymod_create(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
++    PyObject *module = NULL, *moddict, *modname;
++    if (__pyx_m)
++        return __Pyx_NewRef(__pyx_m);
++    modname = PyObject_GetAttrString(spec, "name");
++    if (unlikely(!modname)) goto bad;
++    module = PyModule_NewObject(modname);
++    Py_DECREF(modname);
++    if (unlikely(!module)) goto bad;
++    moddict = PyModule_GetDict(module);
++    if (unlikely(!moddict)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__") < 0)) goto bad;
++    return module;
++bad:
++    Py_XDECREF(module);
++    return NULL;
++}
++
++
++static int __pyx_pymod_exec__fornav(PyObject *__pyx_pyinit_module)
++#endif
+ #endif
+ {
+   PyObject *__pyx_t_1 = NULL;
+@@ -25399,16 +27937,21 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   PyObject *__pyx_t_7 = NULL;
+   static PyThread_type_lock __pyx_t_8[8];
+   __Pyx_RefNannyDeclarations
+-  #if CYTHON_REFNANNY
+-  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
+-  if (!__Pyx_RefNanny) {
+-      PyErr_Clear();
+-      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
+-      if (!__Pyx_RefNanny)
+-          Py_FatalError("failed to import 'refnanny' module");
+-  }
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  if (__pyx_m && __pyx_m == __pyx_pyinit_module) return 0;
++  #elif PY_MAJOR_VERSION >= 3
++  if (__pyx_m) return __Pyx_NewRef(__pyx_m);
+   #endif
+-  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit__fornav(void)", 0);
++  #if CYTHON_REFNANNY
++__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
++if (!__Pyx_RefNanny) {
++  PyErr_Clear();
++  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
++  if (!__Pyx_RefNanny)
++      Py_FatalError("failed to import 'refnanny' module");
++}
++#endif
++  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit__fornav(void)", 0);
+   if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error)
+   __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
+@@ -25425,6 +27968,9 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   #ifdef __Pyx_Generator_USED
+   if (__pyx_Generator_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   #endif
++  #ifdef __Pyx_AsyncGen_USED
++  if (__pyx_AsyncGen_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
++  #endif
+   #ifdef __Pyx_StopAsyncIteration_USED
+   if (__pyx_StopAsyncIteration_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   #endif
+@@ -25436,15 +27982,21 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   #endif
+   #endif
+   /*--- Module creation code ---*/
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  __pyx_m = __pyx_pyinit_module;
++  Py_INCREF(__pyx_m);
++  #else
+   #if PY_MAJOR_VERSION < 3
+   __pyx_m = Py_InitModule4("_fornav", __pyx_methods, __pyx_k_Resampling_swath_data_to_uniform, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
+   #else
+   __pyx_m = PyModule_Create(&__pyx_moduledef);
+   #endif
+   if (unlikely(!__pyx_m)) __PYX_ERR(0, 1, __pyx_L1_error)
++  #endif
+   __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
+   Py_INCREF(__pyx_d);
+   __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
+   #if CYTHON_COMPILING_IN_PYPY
+   Py_INCREF(__pyx_b);
+   #endif
+@@ -25469,80 +28021,14 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   /*--- Constants init code ---*/
+   if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+-  /*--- Global init code ---*/
+-  generic = Py_None; Py_INCREF(Py_None);
+-  strided = Py_None; Py_INCREF(Py_None);
+-  indirect = Py_None; Py_INCREF(Py_None);
+-  contiguous = Py_None; Py_INCREF(Py_None);
+-  indirect_contiguous = Py_None; Py_INCREF(Py_None);
+-  /*--- Variable export code ---*/
+-  /*--- Function export code ---*/
+-  /*--- Type init code ---*/
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct____pyx_fuse_0fornav_wrapper;
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr) < 0) __PYX_ERR(0, 265, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_1_genexpr;
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_2_genexpr;
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_3___pyx_fuse_1fornav_wrapper;
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr) < 0) __PYX_ERR(0, 265, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_4_genexpr;
+-  if (PyType_Ready(&__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
+-  __pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr.tp_print = 0;
+-  __pyx_ptype_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr = &__pyx_type_10pyresample_3ewa_7_fornav___pyx_scope_struct_5_genexpr;
+-  __pyx_vtabptr_array = &__pyx_vtable_array;
+-  __pyx_vtable_array.get_memview = (PyObject *(*)(struct __pyx_array_obj *))__pyx_array_get_memview;
+-  if (PyType_Ready(&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 103, __pyx_L1_error)
+-  __pyx_type___pyx_array.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_array.tp_dict, __pyx_vtabptr_array) < 0) __PYX_ERR(2, 103, __pyx_L1_error)
+-  __pyx_array_type = &__pyx_type___pyx_array;
+-  if (PyType_Ready(&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 275, __pyx_L1_error)
+-  __pyx_type___pyx_MemviewEnum.tp_print = 0;
+-  __pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
+-  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
+-  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
+-  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
+-  __pyx_vtable_memoryview.setitem_slice_assignment = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_slice_assignment;
+-  __pyx_vtable_memoryview.setitem_slice_assign_scalar = (PyObject *(*)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_setitem_slice_assign_scalar;
+-  __pyx_vtable_memoryview.setitem_indexed = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_indexed;
+-  __pyx_vtable_memoryview.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryview_convert_item_to_object;
+-  __pyx_vtable_memoryview.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryview_assign_item_from_object;
+-  if (PyType_Ready(&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 326, __pyx_L1_error)
+-  __pyx_type___pyx_memoryview.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_memoryview.tp_dict, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(2, 326, __pyx_L1_error)
+-  __pyx_memoryview_type = &__pyx_type___pyx_memoryview;
+-  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
+-  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
+-  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
+-  __pyx_vtable__memoryviewslice.__pyx_base.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryviewslice_assign_item_from_object;
+-  __pyx_type___pyx_memoryviewslice.tp_base = __pyx_memoryview_type;
+-  if (PyType_Ready(&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 951, __pyx_L1_error)
+-  __pyx_type___pyx_memoryviewslice.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_memoryviewslice.tp_dict, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(2, 951, __pyx_L1_error)
+-  __pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
+-  /*--- Type import code ---*/
+-  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
+-  #if CYTHON_COMPILING_IN_PYPY
+-  sizeof(PyTypeObject),
+-  #else
+-  sizeof(PyHeapTypeObject),
+-  #endif
+-  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) __PYX_ERR(3, 9, __pyx_L1_error)
+-  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) __PYX_ERR(4, 8, __pyx_L1_error)
+-  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) __PYX_ERR(5, 15, __pyx_L1_error)
+-  __pyx_ptype_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr), 0); if (unlikely(!__pyx_ptype_5numpy_dtype)) __PYX_ERR(1, 155, __pyx_L1_error)
+-  __pyx_ptype_5numpy_flatiter = __Pyx_ImportType("numpy", "flatiter", sizeof(PyArrayIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_flatiter)) __PYX_ERR(1, 168, __pyx_L1_error)
+-  __pyx_ptype_5numpy_broadcast = __Pyx_ImportType("numpy", "broadcast", sizeof(PyArrayMultiIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_broadcast)) __PYX_ERR(1, 172, __pyx_L1_error)
+-  __pyx_ptype_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_5numpy_ndarray)) __PYX_ERR(1, 181, __pyx_L1_error)
+-  __pyx_ptype_5numpy_ufunc = __Pyx_ImportType("numpy", "ufunc", sizeof(PyUFuncObject), 0); if (unlikely(!__pyx_ptype_5numpy_ufunc)) __PYX_ERR(1, 861, __pyx_L1_error)
+-  /*--- Variable import code ---*/
+-  /*--- Function import code ---*/
++  /*--- Global type/function init code ---*/
++  (void)__Pyx_modinit_global_init_code();
++  (void)__Pyx_modinit_variable_export_code();
++  (void)__Pyx_modinit_function_export_code();
++  if (unlikely(__Pyx_modinit_type_init_code() != 0)) goto __pyx_L1_error;
++  if (unlikely(__Pyx_modinit_type_import_code() != 0)) goto __pyx_L1_error;
++  (void)__Pyx_modinit_variable_import_code();
++  (void)__Pyx_modinit_function_import_code();
+   /*--- Execution code ---*/
+   #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
+   if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+@@ -25624,9 +28110,9 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   __pyx_t_4 = 0;
+   __pyx_t_5 = 0;
+   __pyx_t_6 = 0;
+-  __pyx_t_6 = PyDict_New(); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 199, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+-  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_7_fornav_3fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__53)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_7_fornav_3fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   if (!__Pyx_CyFunction_InitDefaults(__pyx_t_5, sizeof(__pyx_defaults2), 1)) __PYX_ERR(0, 199, __pyx_L1_error)
+ 
+@@ -25660,7 +28146,7 @@ PyMODINIT_FUNC PyInit__fornav(void)
+  *            numpy.ndarray[cr_dtype, ndim=2, mode='c'] rows_array,
+  *            tuple input_arrays, tuple output_arrays, input_fill, output_fill,
+  */
+-  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_1__pyx_mdef_10pyresample_3ewa_7_fornav_5fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__53)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_1__pyx_mdef_10pyresample_3ewa_7_fornav_5fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   if (!__Pyx_CyFunction_InitDefaults(__pyx_t_5, sizeof(__pyx_defaults3), 1)) __PYX_ERR(0, 199, __pyx_L1_error)
+ 
+@@ -25694,7 +28180,7 @@ PyMODINIT_FUNC PyInit__fornav(void)
+  *            numpy.ndarray[cr_dtype, ndim=2, mode='c'] rows_array,
+  *            tuple input_arrays, tuple output_arrays, input_fill, output_fill,
+  */
+-  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_7_fornav_1fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__53)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
++  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_7_fornav_1fornav_wrapper, 0, __pyx_n_s_fornav_wrapper, NULL, __pyx_n_s_pyresample_ewa__fornav, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_5, __pyx_t_7);
+   __Pyx_CyFunction_SetDefaultsGetter(__pyx_t_5, __pyx_pf_10pyresample_3ewa_7_fornav_12__defaults__);
+@@ -25709,95 +28195,95 @@ PyMODINIT_FUNC PyInit__fornav(void)
+  * # -*- coding: utf-8 -*-
+  * 
+  */
+-  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_4) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":207
++  /* "View.MemoryView":208
+  *         info.obj = self
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  *     def __dealloc__(array self):
+  */
+-  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_array_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 207, __pyx_L1_error)
++  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_array_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 208, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  if (PyDict_SetItem(__pyx_array_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 207, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_array_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 208, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   PyType_Modified(__pyx_array_type);
+ 
+-  /* "View.MemoryView":282
++  /* "View.MemoryView":285
+  *         return self.name
+  * 
+  * cdef generic = Enum("")             # <<<<<<<<<<<<<<
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")
+  */
+-  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__54, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 282, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__65, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 285, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_XGOTREF(generic);
+   __Pyx_DECREF_SET(generic, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_4);
+   __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":283
++  /* "View.MemoryView":286
+  * 
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default             # <<<<<<<<<<<<<<
+  * cdef indirect = Enum("")
+  * 
+  */
+-  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__55, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 283, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__66, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 286, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_XGOTREF(strided);
+   __Pyx_DECREF_SET(strided, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_4);
+   __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":284
++  /* "View.MemoryView":287
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__56, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 284, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__67, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 287, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_XGOTREF(indirect);
+   __Pyx_DECREF_SET(indirect, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_4);
+   __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":287
++  /* "View.MemoryView":290
+  * 
+  * 
+  * cdef contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * cdef indirect_contiguous = Enum("")
+  * 
+  */
+-  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__57, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 287, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__68, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 290, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_XGOTREF(contiguous);
+   __Pyx_DECREF_SET(contiguous, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_4);
+   __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":288
++  /* "View.MemoryView":291
+  * 
+  * cdef contiguous = Enum("")
+  * cdef indirect_contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__58, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 288, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__69, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 291, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_XGOTREF(indirect_contiguous);
+   __Pyx_DECREF_SET(indirect_contiguous, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_4);
+   __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":312
++  /* "View.MemoryView":315
+  * 
+  * DEF THREAD_LOCKS_PREALLOCATED = 8
+  * cdef int __pyx_memoryview_thread_locks_used = 0             # <<<<<<<<<<<<<<
+@@ -25806,7 +28292,7 @@ PyMODINIT_FUNC PyInit__fornav(void)
+  */
+   __pyx_memoryview_thread_locks_used = 0;
+ 
+-  /* "View.MemoryView":313
++  /* "View.MemoryView":316
+  * DEF THREAD_LOCKS_PREALLOCATED = 8
+  * cdef int __pyx_memoryview_thread_locks_used = 0
+  * cdef PyThread_type_lock[THREAD_LOCKS_PREALLOCATED] __pyx_memoryview_thread_locks = [             # <<<<<<<<<<<<<<
+@@ -25823,38 +28309,48 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   __pyx_t_8[7] = PyThread_allocate_lock();
+   memcpy(&(__pyx_memoryview_thread_locks[0]), __pyx_t_8, sizeof(__pyx_memoryview_thread_locks[0]) * (8));
+ 
+-  /* "View.MemoryView":535
++  /* "View.MemoryView":544
+  *         info.obj = self
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 535, __pyx_L1_error)
++  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 544, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  if (PyDict_SetItem(__pyx_memoryview_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 535, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_memoryview_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 544, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   PyType_Modified(__pyx_memoryview_type);
+ 
+-  /* "View.MemoryView":981
++  /* "View.MemoryView":990
+  *         return self.from_object
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 981, __pyx_L1_error)
++  __pyx_t_4 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 990, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  if (PyDict_SetItem(__pyx_memoryviewslice_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 981, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_memoryviewslice_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_4) < 0) __PYX_ERR(2, 990, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   PyType_Modified(__pyx_memoryviewslice_type);
+ 
+-  /* "View.MemoryView":1391
+- * 
+- * @cname('__pyx_memoryview__slice_assign_scalar')
+- * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+- *                               Py_ssize_t *strides, int ndim,
+- *                               size_t itemsize, void *item) nogil:
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++  __pyx_t_4 = PyCFunction_NewEx(&__pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum, NULL, __pyx_n_s_View_MemoryView); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_4);
++  if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Enum, __pyx_t_4) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++
++  /* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
+  */
+ 
+   /*--- Wrapped vars code ---*/
+@@ -25870,7 +28366,7 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   __Pyx_XDECREF(__pyx_t_7);
+   if (__pyx_m) {
+     if (__pyx_d) {
+-      __Pyx_AddTraceback("init pyresample.ewa._fornav", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      __Pyx_AddTraceback("init pyresample.ewa._fornav", 0, __pyx_lineno, __pyx_filename);
+     }
+     Py_DECREF(__pyx_m); __pyx_m = 0;
+   } else if (!PyErr_Occurred()) {
+@@ -25878,10 +28374,12 @@ PyMODINIT_FUNC PyInit__fornav(void)
+   }
+   __pyx_L0:;
+   __Pyx_RefNannyFinishContext();
+-  #if PY_MAJOR_VERSION < 3
+-  return;
+-  #else
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  return (__pyx_m != NULL) ? 0 : -1;
++  #elif PY_MAJOR_VERSION >= 3
+   return __pyx_m;
++  #else
++  return;
+   #endif
+ }
+ 
+@@ -25903,6 +28401,20 @@ end:
+ }
+ #endif
+ 
++/* PyObjectGetAttrStr */
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
++    PyTypeObject* tp = Py_TYPE(obj);
++    if (likely(tp->tp_getattro))
++        return tp->tp_getattro(obj, attr_name);
++#if PY_MAJOR_VERSION < 3
++    if (likely(tp->tp_getattr))
++        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
++#endif
++    return PyObject_GetAttr(obj, attr_name);
++}
++#endif
++
+ /* GetBuiltinName */
+ static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
+     PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
+@@ -25938,7 +28450,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg
+ #endif
+ 
+ /* PyErrFetchRestore */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
+ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
+     PyObject *tmp_type, *tmp_value, *tmp_tb;
+     tmp_type = tstate->curexc_type;
+@@ -26077,11 +28589,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
+             "raise: exception class must be a subclass of BaseException");
+         goto bad;
+     }
+-#if PY_VERSION_HEX >= 0x03030000
+     if (cause) {
+-#else
+-    if (cause && cause != Py_None) {
+-#endif
+         PyObject *fixed_cause;
+         if (cause == Py_None) {
+             fixed_cause = NULL;
+@@ -26109,7 +28617,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
+         PyErr_Restore(tmp_type, tmp_value, tb);
+         Py_XDECREF(tmp_tb);
+ #else
+-        PyThreadState *tstate = PyThreadState_GET();
++        PyThreadState *tstate = __Pyx_PyThreadState_Current;
+         PyObject* tmp_tb = tstate->curexc_traceback;
+         if (tb != tmp_tb) {
+             Py_INCREF(tb);
+@@ -26125,7 +28633,7 @@ bad:
+ #endif
+ 
+ /* RaiseArgTupleInvalid */
+-  static void __Pyx_RaiseArgtupleInvalid(
++static void __Pyx_RaiseArgtupleInvalid(
+     const char* func_name,
+     int exact,
+     Py_ssize_t num_min,
+@@ -26151,7 +28659,7 @@ bad:
+ }
+ 
+ /* RaiseDoubleKeywords */
+-  static void __Pyx_RaiseDoubleKeywordsError(
++static void __Pyx_RaiseDoubleKeywordsError(
+     const char* func_name,
+     PyObject* kw_name)
+ {
+@@ -26165,7 +28673,7 @@ bad:
+ }
+ 
+ /* ParseKeywords */
+-  static int __Pyx_ParseOptionalKeywords(
++static int __Pyx_ParseOptionalKeywords(
+     PyObject *kwds,
+     PyObject **argnames[],
+     PyObject *kwds2,
+@@ -26226,217 +28734,270 @@ bad:
+             if (*name) continue;
+             else {
+                 PyObject*** argname = argnames;
+-                while (argname != first_kw_arg) {
+-                    int cmp = (**argname == key) ? 0 :
+-                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
+-                        (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
+-                    #endif
+-                        PyUnicode_Compare(**argname, key);
+-                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
+-                    if (cmp == 0) goto arg_passed_twice;
+-                    argname++;
+-                }
+-            }
+-        } else
+-            goto invalid_keyword_type;
+-        if (kwds2) {
+-            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
+-        } else {
+-            goto invalid_keyword;
+-        }
+-    }
+-    return 0;
+-arg_passed_twice:
+-    __Pyx_RaiseDoubleKeywordsError(function_name, key);
+-    goto bad;
+-invalid_keyword_type:
+-    PyErr_Format(PyExc_TypeError,
+-        "%.200s() keywords must be strings", function_name);
+-    goto bad;
+-invalid_keyword:
+-    PyErr_Format(PyExc_TypeError,
+-    #if PY_MAJOR_VERSION < 3
+-        "%.200s() got an unexpected keyword argument '%.200s'",
+-        function_name, PyString_AsString(key));
+-    #else
+-        "%s() got an unexpected keyword argument '%U'",
+-        function_name, key);
+-    #endif
+-bad:
+-    return -1;
+-}
+-
+-/* Import */
+-  static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
+-    PyObject *empty_list = 0;
+-    PyObject *module = 0;
+-    PyObject *global_dict = 0;
+-    PyObject *empty_dict = 0;
+-    PyObject *list;
+-    #if PY_VERSION_HEX < 0x03030000
+-    PyObject *py_import;
+-    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
+-    if (!py_import)
+-        goto bad;
+-    #endif
+-    if (from_list)
+-        list = from_list;
+-    else {
+-        empty_list = PyList_New(0);
+-        if (!empty_list)
+-            goto bad;
+-        list = empty_list;
+-    }
+-    global_dict = PyModule_GetDict(__pyx_m);
+-    if (!global_dict)
+-        goto bad;
+-    empty_dict = PyDict_New();
+-    if (!empty_dict)
+-        goto bad;
+-    {
+-        #if PY_MAJOR_VERSION >= 3
+-        if (level == -1) {
+-            if (strchr(__Pyx_MODULE_NAME, '.')) {
+-                #if PY_VERSION_HEX < 0x03030000
+-                PyObject *py_level = PyInt_FromLong(1);
+-                if (!py_level)
+-                    goto bad;
+-                module = PyObject_CallFunctionObjArgs(py_import,
+-                    name, global_dict, empty_dict, list, py_level, NULL);
+-                Py_DECREF(py_level);
+-                #else
+-                module = PyImport_ImportModuleLevelObject(
+-                    name, global_dict, empty_dict, list, 1);
+-                #endif
+-                if (!module) {
+-                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
+-                        goto bad;
+-                    PyErr_Clear();
++                while (argname != first_kw_arg) {
++                    int cmp = (**argname == key) ? 0 :
++                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
++                        (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
++                    #endif
++                        PyUnicode_Compare(**argname, key);
++                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
++                    if (cmp == 0) goto arg_passed_twice;
++                    argname++;
+                 }
+             }
+-            level = 0;
+-        }
+-        #endif
+-        if (!module) {
+-            #if PY_VERSION_HEX < 0x03030000
+-            PyObject *py_level = PyInt_FromLong(level);
+-            if (!py_level)
+-                goto bad;
+-            module = PyObject_CallFunctionObjArgs(py_import,
+-                name, global_dict, empty_dict, list, py_level, NULL);
+-            Py_DECREF(py_level);
+-            #else
+-            module = PyImport_ImportModuleLevelObject(
+-                name, global_dict, empty_dict, list, level);
+-            #endif
++        } else
++            goto invalid_keyword_type;
++        if (kwds2) {
++            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
++        } else {
++            goto invalid_keyword;
+         }
+     }
+-bad:
+-    #if PY_VERSION_HEX < 0x03030000
+-    Py_XDECREF(py_import);
++    return 0;
++arg_passed_twice:
++    __Pyx_RaiseDoubleKeywordsError(function_name, key);
++    goto bad;
++invalid_keyword_type:
++    PyErr_Format(PyExc_TypeError,
++        "%.200s() keywords must be strings", function_name);
++    goto bad;
++invalid_keyword:
++    PyErr_Format(PyExc_TypeError,
++    #if PY_MAJOR_VERSION < 3
++        "%.200s() got an unexpected keyword argument '%.200s'",
++        function_name, PyString_AsString(key));
++    #else
++        "%s() got an unexpected keyword argument '%U'",
++        function_name, key);
+     #endif
+-    Py_XDECREF(empty_list);
+-    Py_XDECREF(empty_dict);
+-    return module;
++bad:
++    return -1;
+ }
+ 
+-/* SaveResetException */
+-  #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
+-    *type = tstate->exc_type;
+-    *value = tstate->exc_value;
+-    *tb = tstate->exc_traceback;
+-    Py_XINCREF(*type);
+-    Py_XINCREF(*value);
+-    Py_XINCREF(*tb);
+-}
+-static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    tmp_type = tstate->exc_type;
+-    tmp_value = tstate->exc_value;
+-    tmp_tb = tstate->exc_traceback;
+-    tstate->exc_type = type;
+-    tstate->exc_value = value;
+-    tstate->exc_traceback = tb;
+-    Py_XDECREF(tmp_type);
+-    Py_XDECREF(tmp_value);
+-    Py_XDECREF(tmp_tb);
++/* DictGetItem */
++#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
++static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
++    PyObject *value;
++    value = PyDict_GetItemWithError(d, key);
++    if (unlikely(!value)) {
++        if (!PyErr_Occurred()) {
++            PyObject* args = PyTuple_Pack(1, key);
++            if (likely(args))
++                PyErr_SetObject(PyExc_KeyError, args);
++            Py_XDECREF(args);
++        }
++        return NULL;
++    }
++    Py_INCREF(value);
++    return value;
+ }
+ #endif
+ 
+-/* PyErrExceptionMatches */
+-  #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) {
+-    PyObject *exc_type = tstate->curexc_type;
+-    if (exc_type == err) return 1;
+-    if (unlikely(!exc_type)) return 0;
+-    return PyErr_GivenExceptionMatches(exc_type, err);
++/* PyCFunctionFastCall */
++#if CYTHON_FAST_PYCCALL
++static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, PyObject **args, Py_ssize_t nargs) {
++    PyCFunctionObject *func = (PyCFunctionObject*)func_obj;
++    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
++    PyObject *self = PyCFunction_GET_SELF(func);
++    int flags = PyCFunction_GET_FLAGS(func);
++    assert(PyCFunction_Check(func));
++    assert(METH_FASTCALL == (flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)));
++    assert(nargs >= 0);
++    assert(nargs == 0 || args != NULL);
++    /* _PyCFunction_FastCallDict() must not be called with an exception set,
++       because it may clear it (directly or indirectly) and so the
++       caller loses its exception */
++    assert(!PyErr_Occurred());
++    if ((PY_VERSION_HEX < 0x030700A0) || unlikely(flags & METH_KEYWORDS)) {
++        return (*((__Pyx_PyCFunctionFastWithKeywords)meth)) (self, args, nargs, NULL);
++    } else {
++        return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs);
++    }
+ }
+ #endif
+ 
+-/* GetException */
+-  #if CYTHON_COMPILING_IN_CPYTHON
+-static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++/* PyFunctionFastCall */
++#if CYTHON_FAST_PYCALL
++#include "frameobject.h"
++static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na,
++                                               PyObject *globals) {
++    PyFrameObject *f;
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
++    PyObject **fastlocals;
++    Py_ssize_t i;
++    PyObject *result;
++    assert(globals != NULL);
++    /* XXX Perhaps we should create a specialized
++       PyFrame_New() that doesn't take locals, but does
++       take builtins without sanity checking them.
++       */
++    assert(tstate != NULL);
++    f = PyFrame_New(tstate, co, globals, NULL);
++    if (f == NULL) {
++        return NULL;
++    }
++    fastlocals = f->f_localsplus;
++    for (i = 0; i < na; i++) {
++        Py_INCREF(*args);
++        fastlocals[i] = *args++;
++    }
++    result = PyEval_EvalFrameEx(f,0);
++    ++tstate->recursion_depth;
++    Py_DECREF(f);
++    --tstate->recursion_depth;
++    return result;
++}
++#if 1 || PY_VERSION_HEX < 0x030600B1
++static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs) {
++    PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
++    PyObject *globals = PyFunction_GET_GLOBALS(func);
++    PyObject *argdefs = PyFunction_GET_DEFAULTS(func);
++    PyObject *closure;
++#if PY_MAJOR_VERSION >= 3
++    PyObject *kwdefs;
++#endif
++    PyObject *kwtuple, **k;
++    PyObject **d;
++    Py_ssize_t nd;
++    Py_ssize_t nk;
++    PyObject *result;
++    assert(kwargs == NULL || PyDict_Check(kwargs));
++    nk = kwargs ? PyDict_Size(kwargs) : 0;
++    if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
++        return NULL;
++    }
++    if (
++#if PY_MAJOR_VERSION >= 3
++            co->co_kwonlyargcount == 0 &&
++#endif
++            likely(kwargs == NULL || nk == 0) &&
++            co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
++        if (argdefs == NULL && co->co_argcount == nargs) {
++            result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals);
++            goto done;
++        }
++        else if (nargs == 0 && argdefs != NULL
++                 && co->co_argcount == Py_SIZE(argdefs)) {
++            /* function called with no arguments, but all parameters have
++               a default value: use default values as arguments .*/
++            args = &PyTuple_GET_ITEM(argdefs, 0);
++            result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals);
++            goto done;
++        }
++    }
++    if (kwargs != NULL) {
++        Py_ssize_t pos, i;
++        kwtuple = PyTuple_New(2 * nk);
++        if (kwtuple == NULL) {
++            result = NULL;
++            goto done;
++        }
++        k = &PyTuple_GET_ITEM(kwtuple, 0);
++        pos = i = 0;
++        while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) {
++            Py_INCREF(k[i]);
++            Py_INCREF(k[i+1]);
++            i += 2;
++        }
++        nk = i / 2;
++    }
++    else {
++        kwtuple = NULL;
++        k = NULL;
++    }
++    closure = PyFunction_GET_CLOSURE(func);
++#if PY_MAJOR_VERSION >= 3
++    kwdefs = PyFunction_GET_KW_DEFAULTS(func);
++#endif
++    if (argdefs != NULL) {
++        d = &PyTuple_GET_ITEM(argdefs, 0);
++        nd = Py_SIZE(argdefs);
++    }
++    else {
++        d = NULL;
++        nd = 0;
++    }
++#if PY_MAJOR_VERSION >= 3
++    result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
++                               args, nargs,
++                               k, (int)nk,
++                               d, (int)nd, kwdefs, closure);
+ #else
+-static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
++    result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
++                               args, nargs,
++                               k, (int)nk,
++                               d, (int)nd, closure);
+ #endif
+-    PyObject *local_type, *local_value, *local_tb;
++    Py_XDECREF(kwtuple);
++done:
++    Py_LeaveRecursiveCall();
++    return result;
++}
++#endif
++#endif
++
++/* PyObjectCallMethO */
+ #if CYTHON_COMPILING_IN_CPYTHON
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    local_type = tstate->curexc_type;
+-    local_value = tstate->curexc_value;
+-    local_tb = tstate->curexc_traceback;
+-    tstate->curexc_type = 0;
+-    tstate->curexc_value = 0;
+-    tstate->curexc_traceback = 0;
+-#else
+-    PyErr_Fetch(&local_type, &local_value, &local_tb);
++static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
++    PyObject *self, *result;
++    PyCFunction cfunc;
++    cfunc = PyCFunction_GET_FUNCTION(func);
++    self = PyCFunction_GET_SELF(func);
++    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
++        return NULL;
++    result = cfunc(self, arg);
++    Py_LeaveRecursiveCall();
++    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
++        PyErr_SetString(
++            PyExc_SystemError,
++            "NULL result without error in PyObject_Call");
++    }
++    return result;
++}
+ #endif
+-    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
++
++/* PyObjectCallOneArg */
+ #if CYTHON_COMPILING_IN_CPYTHON
+-    if (unlikely(tstate->curexc_type))
+-#else
+-    if (unlikely(PyErr_Occurred()))
++static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
++    PyObject *result;
++    PyObject *args = PyTuple_New(1);
++    if (unlikely(!args)) return NULL;
++    Py_INCREF(arg);
++    PyTuple_SET_ITEM(args, 0, arg);
++    result = __Pyx_PyObject_Call(func, args, NULL);
++    Py_DECREF(args);
++    return result;
++}
++static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
++#if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(func)) {
++        return __Pyx_PyFunction_FastCall(func, &arg, 1);
++    }
+ #endif
+-        goto bad;
+-    #if PY_MAJOR_VERSION >= 3
+-    if (local_tb) {
+-        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
+-            goto bad;
++    if (likely(PyCFunction_Check(func))) {
++        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
++            return __Pyx_PyObject_CallMethO(func, arg);
++#if CYTHON_FAST_PYCCALL
++        } else if (PyCFunction_GET_FLAGS(func) & METH_FASTCALL) {
++            return __Pyx_PyCFunction_FastCall(func, &arg, 1);
++#endif
++        }
+     }
+-    #endif
+-    Py_XINCREF(local_tb);
+-    Py_XINCREF(local_type);
+-    Py_XINCREF(local_value);
+-    *type = local_type;
+-    *value = local_value;
+-    *tb = local_tb;
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    tmp_type = tstate->exc_type;
+-    tmp_value = tstate->exc_value;
+-    tmp_tb = tstate->exc_traceback;
+-    tstate->exc_type = local_type;
+-    tstate->exc_value = local_value;
+-    tstate->exc_traceback = local_tb;
+-    Py_XDECREF(tmp_type);
+-    Py_XDECREF(tmp_value);
+-    Py_XDECREF(tmp_tb);
++    return __Pyx__PyObject_CallOneArg(func, arg);
++}
+ #else
+-    PyErr_SetExcInfo(local_type, local_value, local_tb);
+-#endif
+-    return 0;
+-bad:
+-    *type = 0;
+-    *value = 0;
+-    *tb = 0;
+-    Py_XDECREF(local_type);
+-    Py_XDECREF(local_value);
+-    Py_XDECREF(local_tb);
+-    return -1;
++static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
++    PyObject *result;
++    PyObject *args = PyTuple_Pack(1, arg);
++    if (unlikely(!args)) return NULL;
++    result = __Pyx_PyObject_Call(func, args, NULL);
++    Py_DECREF(args);
++    return result;
+ }
++#endif
+ 
+ /* UnicodeAsUCS4 */
+-    static CYTHON_INLINE Py_UCS4 __Pyx_PyUnicode_AsPy_UCS4(PyObject* x) {
++static CYTHON_INLINE Py_UCS4 __Pyx_PyUnicode_AsPy_UCS4(PyObject* x) {
+    Py_ssize_t length;
+    #if CYTHON_PEP393_ENABLED
+    length = PyUnicode_GET_LENGTH(x);
+@@ -26467,7 +29028,7 @@ bad:
+ }
+ 
+ /* object_ord */
+-    static long __Pyx__PyObject_Ord(PyObject* c) {
++static long __Pyx__PyObject_Ord(PyObject* c) {
+     Py_ssize_t size;
+     if (PyBytes_Check(c)) {
+         size = PyBytes_GET_SIZE(c);
+@@ -26496,7 +29057,7 @@ bad:
+ }
+ 
+ /* SetItemInt */
+-    static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) {
++static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) {
+     int r;
+     if (!j) return -1;
+     r = PyObject_SetItem(o, j, v);
+@@ -26505,7 +29066,7 @@ bad:
+ }
+ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v, int is_list,
+                                                CYTHON_NCP_UNUSED int wraparound, CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
+     if (is_list || PyList_CheckExact(o)) {
+         Py_ssize_t n = (!wraparound) ? i : ((likely(i >= 0)) ? i : i + PyList_GET_SIZE(o));
+         if ((!boundscheck) || likely((n >= 0) & (n < PyList_GET_SIZE(o)))) {
+@@ -26544,12 +29105,12 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
+ }
+ 
+ /* IterFinish */
+-      static CYTHON_INLINE int __Pyx_IterFinish(void) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    PyThreadState *tstate = PyThreadState_GET();
++  static CYTHON_INLINE int __Pyx_IterFinish(void) {
++#if CYTHON_FAST_THREAD_STATE
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
+     PyObject* exc_type = tstate->curexc_type;
+     if (unlikely(exc_type)) {
+-        if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) {
++        if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) {
+             PyObject *exc_value, *exc_tb;
+             exc_value = tstate->curexc_value;
+             exc_tb = tstate->curexc_traceback;
+@@ -26568,41 +29129,26 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
+ #else
+     if (unlikely(PyErr_Occurred())) {
+         if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
+-            PyErr_Clear();
+-            return 0;
+-        } else {
+-            return -1;
+-        }
+-    }
+-    return 0;
+-#endif
+-}
+-
+-/* PyObjectCallMethO */
+-      #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
+-    PyObject *self, *result;
+-    PyCFunction cfunc;
+-    cfunc = PyCFunction_GET_FUNCTION(func);
+-    self = PyCFunction_GET_SELF(func);
+-    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
+-        return NULL;
+-    result = cfunc(self, arg);
+-    Py_LeaveRecursiveCall();
+-    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
+-        PyErr_SetString(
+-            PyExc_SystemError,
+-            "NULL result without error in PyObject_Call");
++            PyErr_Clear();
++            return 0;
++        } else {
++            return -1;
++        }
+     }
+-    return result;
+-}
++    return 0;
+ #endif
++}
+ 
+ /* PyObjectCallNoArg */
+-      #if CYTHON_COMPILING_IN_CPYTHON
++  #if CYTHON_COMPILING_IN_CPYTHON
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
++#if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(func)) {
++        return __Pyx_PyFunction_FastCall(func, NULL, 0);
++    }
++#endif
+ #ifdef __Pyx_CyFunction_USED
+-    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
++    if (likely(PyCFunction_Check(func) || __Pyx_TypeCheck(func, __pyx_CyFunctionType))) {
+ #else
+     if (likely(PyCFunction_Check(func))) {
+ #endif
+@@ -26614,47 +29160,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+ }
+ #endif
+ 
+-/* PyObjectCallOneArg */
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
+-    PyObject *result;
+-    PyObject *args = PyTuple_New(1);
+-    if (unlikely(!args)) return NULL;
+-    Py_INCREF(arg);
+-    PyTuple_SET_ITEM(args, 0, arg);
+-    result = __Pyx_PyObject_Call(func, args, NULL);
+-    Py_DECREF(args);
+-    return result;
+-}
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
+-#ifdef __Pyx_CyFunction_USED
+-    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
+-#else
+-    if (likely(PyCFunction_Check(func))) {
+-#endif
+-        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
+-            return __Pyx_PyObject_CallMethO(func, arg);
+-        }
+-    }
+-    return __Pyx__PyObject_CallOneArg(func, arg);
+-}
+-#else
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
+-    PyObject *result;
+-    PyObject *args = PyTuple_Pack(1, arg);
+-    if (unlikely(!args)) return NULL;
+-    result = __Pyx_PyObject_Call(func, args, NULL);
+-    Py_DECREF(args);
+-    return result;
+-}
+-#endif
+-
+ /* PyObjectCallMethod0 */
+-          static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
++    static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
+     PyObject *method, *result = NULL;
+     method = __Pyx_PyObject_GetAttrStr(obj, method_name);
+     if (unlikely(!method)) goto bad;
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_UNPACK_METHODS
+     if (likely(PyMethod_Check(method))) {
+         PyObject *self = PyMethod_GET_SELF(method);
+         if (likely(self)) {
+@@ -26672,20 +29183,20 @@ bad:
+ }
+ 
+ /* RaiseNeedMoreValuesToUnpack */
+-          static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
++    static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
+     PyErr_Format(PyExc_ValueError,
+                  "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack",
+                  index, (index == 1) ? "" : "s");
+ }
+ 
+ /* RaiseTooManyValuesToUnpack */
+-          static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
++    static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
+     PyErr_Format(PyExc_ValueError,
+                  "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
+ }
+ 
+ /* UnpackItemEndCheck */
+-          static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
++    static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
+     if (unlikely(retval)) {
+         Py_DECREF(retval);
+         __Pyx_RaiseTooManyValuesError(expected);
+@@ -26697,12 +29208,12 @@ bad:
+ }
+ 
+ /* RaiseNoneIterError */
+-          static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
++    static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+ }
+ 
+ /* UnpackTupleError */
+-          static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
++    static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
+     if (t == Py_None) {
+       __Pyx_RaiseNoneNotIterableError();
+     } else if (PyTuple_GET_SIZE(t) < index) {
+@@ -26713,41 +29224,46 @@ bad:
+ }
+ 
+ /* UnpackTuple2 */
+-          static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2,
+-                                             int is_tuple, int has_known_size, int decref_tuple) {
+-    Py_ssize_t index;
+-    PyObject *value1 = NULL, *value2 = NULL, *iter = NULL;
+-    if (!is_tuple && unlikely(!PyTuple_Check(tuple))) {
+-        iternextfunc iternext;
+-        iter = PyObject_GetIter(tuple);
+-        if (unlikely(!iter)) goto bad;
+-        if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; }
+-        iternext = Py_TYPE(iter)->tp_iternext;
+-        value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; }
+-        value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; }
+-        if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad;
+-        Py_DECREF(iter);
+-    } else {
+-        if (!has_known_size && unlikely(PyTuple_GET_SIZE(tuple) != 2)) {
+-            __Pyx_UnpackTupleError(tuple, 2);
+-            goto bad;
+-        }
++    static CYTHON_INLINE int __Pyx_unpack_tuple2_exact(
++        PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2, int decref_tuple) {
++    PyObject *value1 = NULL, *value2 = NULL;
+ #if CYTHON_COMPILING_IN_PYPY
+-        value1 = PySequence_ITEM(tuple, 0);
+-        if (unlikely(!value1)) goto bad;
+-        value2 = PySequence_ITEM(tuple, 1);
+-        if (unlikely(!value2)) goto bad;
++    value1 = PySequence_ITEM(tuple, 0);  if (unlikely(!value1)) goto bad;
++    value2 = PySequence_ITEM(tuple, 1);  if (unlikely(!value2)) goto bad;
+ #else
+-        value1 = PyTuple_GET_ITEM(tuple, 0);
+-        value2 = PyTuple_GET_ITEM(tuple, 1);
+-        Py_INCREF(value1);
+-        Py_INCREF(value2);
++    value1 = PyTuple_GET_ITEM(tuple, 0);  Py_INCREF(value1);
++    value2 = PyTuple_GET_ITEM(tuple, 1);  Py_INCREF(value2);
+ #endif
+-        if (decref_tuple) { Py_DECREF(tuple); }
++    if (decref_tuple) {
++        Py_DECREF(tuple);
+     }
+     *pvalue1 = value1;
+     *pvalue2 = value2;
+     return 0;
++#if CYTHON_COMPILING_IN_PYPY
++bad:
++    Py_XDECREF(value1);
++    Py_XDECREF(value2);
++    if (decref_tuple) { Py_XDECREF(tuple); }
++    return -1;
++#endif
++}
++static int __Pyx_unpack_tuple2_generic(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2,
++                                       int has_known_size, int decref_tuple) {
++    Py_ssize_t index;
++    PyObject *value1 = NULL, *value2 = NULL, *iter = NULL;
++    iternextfunc iternext;
++    iter = PyObject_GetIter(tuple);
++    if (unlikely(!iter)) goto bad;
++    if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; }
++    iternext = Py_TYPE(iter)->tp_iternext;
++    value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; }
++    value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; }
++    if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad;
++    Py_DECREF(iter);
++    *pvalue1 = value1;
++    *pvalue2 = value2;
++    return 0;
+ unpacking_failed:
+     if (!has_known_size && __Pyx_IterFinish() == 0)
+         __Pyx_RaiseNeedMoreValuesError(index);
+@@ -26760,17 +29276,34 @@ bad:
+ }
+ 
+ /* dict_iter */
+-          static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
++    static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
+                                                    Py_ssize_t* p_orig_length, int* p_source_is_dict) {
+     is_dict = is_dict || likely(PyDict_CheckExact(iterable));
+     *p_source_is_dict = is_dict;
+-#if !CYTHON_COMPILING_IN_PYPY
+     if (is_dict) {
++#if !CYTHON_COMPILING_IN_PYPY
+         *p_orig_length = PyDict_Size(iterable);
+         Py_INCREF(iterable);
+         return iterable;
+-    }
++#elif PY_MAJOR_VERSION >= 3
++        static PyObject *py_items = NULL, *py_keys = NULL, *py_values = NULL;
++        PyObject **pp = NULL;
++        if (method_name) {
++            const char *name = PyUnicode_AsUTF8(method_name);
++            if (strcmp(name, "iteritems") == 0) pp = &py_items;
++            else if (strcmp(name, "iterkeys") == 0) pp = &py_keys;
++            else if (strcmp(name, "itervalues") == 0) pp = &py_values;
++            if (pp) {
++                if (!*pp) {
++                    *pp = PyUnicode_FromString(name + 4);
++                    if (!*pp)
++                        return NULL;
++                }
++                method_name = *pp;
++            }
++        }
+ #endif
++    }
+     *p_orig_length = 0;
+     if (method_name) {
+         PyObject* iter;
+@@ -26855,44 +29388,132 @@ static CYTHON_INLINE int __Pyx_dict_iter_next(
+     return 1;
+ }
+ 
+-/* ArgTypeTest */
+-          static void __Pyx_RaiseArgumentTypeInvalid(const char* name, PyObject *obj, PyTypeObject *type) {
+-    PyErr_Format(PyExc_TypeError,
+-        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
+-        name, type->tp_name, Py_TYPE(obj)->tp_name);
++/* GetItemInt */
++    static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
++    PyObject *r;
++    if (!j) return NULL;
++    r = PyObject_GetItem(o, j);
++    Py_DECREF(j);
++    return r;
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
++                                                              CYTHON_NCP_UNUSED int wraparound,
++                                                              CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    Py_ssize_t wrapped_i = i;
++    if (wraparound & unlikely(i < 0)) {
++        wrapped_i += PyList_GET_SIZE(o);
++    }
++    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyList_GET_SIZE(o)))) {
++        PyObject *r = PyList_GET_ITEM(o, wrapped_i);
++        Py_INCREF(r);
++        return r;
++    }
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++#else
++    return PySequence_GetItem(o, i);
++#endif
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
++                                                              CYTHON_NCP_UNUSED int wraparound,
++                                                              CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    Py_ssize_t wrapped_i = i;
++    if (wraparound & unlikely(i < 0)) {
++        wrapped_i += PyTuple_GET_SIZE(o);
++    }
++    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyTuple_GET_SIZE(o)))) {
++        PyObject *r = PyTuple_GET_ITEM(o, wrapped_i);
++        Py_INCREF(r);
++        return r;
++    }
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++#else
++    return PySequence_GetItem(o, i);
++#endif
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
++                                                     CYTHON_NCP_UNUSED int wraparound,
++                                                     CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
++    if (is_list || PyList_CheckExact(o)) {
++        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
++        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
++            PyObject *r = PyList_GET_ITEM(o, n);
++            Py_INCREF(r);
++            return r;
++        }
++    }
++    else if (PyTuple_CheckExact(o)) {
++        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
++        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
++            PyObject *r = PyTuple_GET_ITEM(o, n);
++            Py_INCREF(r);
++            return r;
++        }
++    } else {
++        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
++        if (likely(m && m->sq_item)) {
++            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
++                Py_ssize_t l = m->sq_length(o);
++                if (likely(l >= 0)) {
++                    i += l;
++                } else {
++                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
++                        return NULL;
++                    PyErr_Clear();
++                }
++            }
++            return m->sq_item(o, i);
++        }
++    }
++#else
++    if (is_list || PySequence_Check(o)) {
++        return PySequence_GetItem(o, i);
++    }
++#endif
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+ }
+-static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+-    const char *name, int exact)
++
++/* ArgTypeTest */
++    static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact)
+ {
+     if (unlikely(!type)) {
+         PyErr_SetString(PyExc_SystemError, "Missing type object");
+         return 0;
+     }
+-    if (none_allowed && obj == Py_None) return 1;
+     else if (exact) {
+-        if (likely(Py_TYPE(obj) == type)) return 1;
+         #if PY_MAJOR_VERSION == 2
+-        else if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
++        if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
+         #endif
+     }
+     else {
+-        if (likely(PyObject_TypeCheck(obj, type))) return 1;
++        if (likely(__Pyx_TypeCheck(obj, type))) return 1;
+     }
+-    __Pyx_RaiseArgumentTypeInvalid(name, obj, type);
++    PyErr_Format(PyExc_TypeError,
++        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
++        name, type->tp_name, Py_TYPE(obj)->tp_name);
+     return 0;
+ }
+ 
+ /* None */
+-          static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname) {
++    static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname) {
+     PyErr_Format(PyExc_NameError, "free variable '%s' referenced before assignment in enclosing scope", varname);
+ }
+ 
+-/* BufferFormatCheck */
+-          static CYTHON_INLINE int __Pyx_IsLittleEndian(void) {
+-  unsigned int n = 1;
+-  return *(unsigned char*)(&n) != 0;
++/* IsLittleEndian */
++    static CYTHON_INLINE int __Pyx_Is_Little_Endian(void)
++{
++  union {
++    uint32_t u32;
++    uint8_t u8[4];
++  } S;
++  S.u32 = 0x01020304;
++  return S.u8[0] == 4;
+ }
+-static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
++
++/* BufferFormatCheck */
++    static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
+                               __Pyx_BufFmt_StackElem* stack,
+                               __Pyx_TypeInfo* type) {
+   stack[0].field = &ctx->root;
+@@ -27213,7 +29834,7 @@ static int __Pyx_BufFmt_ProcessTypeChunk(__Pyx_BufFmt_Context* ctx) {
+   ctx->is_complex = 0;
+   return 0;
+ }
+-static CYTHON_INLINE PyObject *
++static PyObject *
+ __pyx_buffmt_parse_array(__Pyx_BufFmt_Context* ctx, const char** tsp)
+ {
+     const char *ts = *tsp;
+@@ -27278,7 +29899,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+         ++ts;
+         break;
+       case '<':
+-        if (!__Pyx_IsLittleEndian()) {
++        if (!__Pyx_Is_Little_Endian()) {
+           PyErr_SetString(PyExc_ValueError, "Little-endian buffer not supported on big-endian compiler");
+           return NULL;
+         }
+@@ -27287,7 +29908,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+         break;
+       case '>':
+       case '!':
+-        if (__Pyx_IsLittleEndian()) {
++        if (__Pyx_Is_Little_Endian()) {
+           PyErr_SetString(PyExc_ValueError, "Big-endian buffer not supported on little-endian compiler");
+           return NULL;
+         }
+@@ -27351,6 +29972,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+           __Pyx_BufFmt_RaiseUnexpectedChar('Z');
+           return NULL;
+         }
++        CYTHON_FALLTHROUGH;
+       case 'c': case 'b': case 'B': case 'h': case 'H': case 'i': case 'I':
+       case 'l': case 'L': case 'q': case 'Q':
+       case 'f': case 'd': case 'g':
+@@ -27363,6 +29985,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+           ++ts;
+           break;
+         }
++        CYTHON_FALLTHROUGH;
+       case 's':
+         if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL;
+         ctx->enc_count = ctx->new_count;
+@@ -27390,24 +30013,30 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+     }
+   }
+ }
+-static CYTHON_INLINE void __Pyx_ZeroBuffer(Py_buffer* buf) {
++
++/* BufferGetAndValidate */
++      static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info) {
++  if (unlikely(info->buf == NULL)) return;
++  if (info->suboffsets == __Pyx_minusones) info->suboffsets = NULL;
++  __Pyx_ReleaseBuffer(info);
++}
++static void __Pyx_ZeroBuffer(Py_buffer* buf) {
+   buf->buf = NULL;
+   buf->obj = NULL;
+   buf->strides = __Pyx_zeros;
+   buf->shape = __Pyx_zeros;
+   buf->suboffsets = __Pyx_minusones;
+ }
+-static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
++static int __Pyx__GetBufferAndValidate(
+         Py_buffer* buf, PyObject* obj,  __Pyx_TypeInfo* dtype, int flags,
+         int nd, int cast, __Pyx_BufFmt_StackElem* stack)
+ {
+-  if (obj == Py_None || obj == NULL) {
++  buf->buf = NULL;
++  if (unlikely(__Pyx_GetBuffer(obj, buf, flags) == -1)) {
+     __Pyx_ZeroBuffer(buf);
+-    return 0;
++    return -1;
+   }
+-  buf->buf = NULL;
+-  if (__Pyx_GetBuffer(obj, buf, flags) == -1) goto fail;
+-  if (buf->ndim != nd) {
++  if (unlikely(buf->ndim != nd)) {
+     PyErr_Format(PyExc_ValueError,
+                  "Buffer has wrong number of dimensions (expected %d, got %d)",
+                  nd, buf->ndim);
+@@ -27415,116 +30044,30 @@ static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
+   }
+   if (!cast) {
+     __Pyx_BufFmt_Context ctx;
+-    __Pyx_BufFmt_Init(&ctx, stack, dtype);
+-    if (!__Pyx_BufFmt_CheckString(&ctx, buf->format)) goto fail;
+-  }
+-  if ((unsigned)buf->itemsize != dtype->size) {
+-    PyErr_Format(PyExc_ValueError,
+-      "Item size of buffer (%" CYTHON_FORMAT_SSIZE_T "d byte%s) does not match size of '%s' (%" CYTHON_FORMAT_SSIZE_T "d byte%s)",
+-      buf->itemsize, (buf->itemsize > 1) ? "s" : "",
+-      dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
+-    goto fail;
+-  }
+-  if (buf->suboffsets == NULL) buf->suboffsets = __Pyx_minusones;
+-  return 0;
+-fail:;
+-  __Pyx_ZeroBuffer(buf);
+-  return -1;
+-}
+-static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info) {
+-  if (info->buf == NULL) return;
+-  if (info->suboffsets == __Pyx_minusones) info->suboffsets = NULL;
+-  __Pyx_ReleaseBuffer(info);
+-}
+-
+-/* GetItemInt */
+-            static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
+-    PyObject *r;
+-    if (!j) return NULL;
+-    r = PyObject_GetItem(o, j);
+-    Py_DECREF(j);
+-    return r;
+-}
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
+-                                                              CYTHON_NCP_UNUSED int wraparound,
+-                                                              CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (wraparound & unlikely(i < 0)) i += PyList_GET_SIZE(o);
+-    if ((!boundscheck) || likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
+-        PyObject *r = PyList_GET_ITEM(o, i);
+-        Py_INCREF(r);
+-        return r;
+-    }
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+-#else
+-    return PySequence_GetItem(o, i);
+-#endif
+-}
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
+-                                                              CYTHON_NCP_UNUSED int wraparound,
+-                                                              CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (wraparound & unlikely(i < 0)) i += PyTuple_GET_SIZE(o);
+-    if ((!boundscheck) || likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
+-        PyObject *r = PyTuple_GET_ITEM(o, i);
+-        Py_INCREF(r);
+-        return r;
+-    }
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+-#else
+-    return PySequence_GetItem(o, i);
+-#endif
+-}
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
+-                                                     CYTHON_NCP_UNUSED int wraparound,
+-                                                     CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (is_list || PyList_CheckExact(o)) {
+-        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
+-        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
+-            PyObject *r = PyList_GET_ITEM(o, n);
+-            Py_INCREF(r);
+-            return r;
+-        }
+-    }
+-    else if (PyTuple_CheckExact(o)) {
+-        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
+-        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
+-            PyObject *r = PyTuple_GET_ITEM(o, n);
+-            Py_INCREF(r);
+-            return r;
+-        }
+-    } else {
+-        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
+-        if (likely(m && m->sq_item)) {
+-            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
+-                Py_ssize_t l = m->sq_length(o);
+-                if (likely(l >= 0)) {
+-                    i += l;
+-                } else {
+-                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
+-                        return NULL;
+-                    PyErr_Clear();
+-                }
+-            }
+-            return m->sq_item(o, i);
+-        }
+-    }
+-#else
+-    if (is_list || PySequence_Check(o)) {
+-        return PySequence_GetItem(o, i);
+-    }
+-#endif
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++    __Pyx_BufFmt_Init(&ctx, stack, dtype);
++    if (!__Pyx_BufFmt_CheckString(&ctx, buf->format)) goto fail;
++  }
++  if (unlikely((unsigned)buf->itemsize != dtype->size)) {
++    PyErr_Format(PyExc_ValueError,
++      "Item size of buffer (%" CYTHON_FORMAT_SSIZE_T "d byte%s) does not match size of '%s' (%" CYTHON_FORMAT_SSIZE_T "d byte%s)",
++      buf->itemsize, (buf->itemsize > 1) ? "s" : "",
++      dtype->name, (Py_ssize_t)dtype->size, (dtype->size > 1) ? "s" : "");
++    goto fail;
++  }
++  if (buf->suboffsets == NULL) buf->suboffsets = __Pyx_minusones;
++  return 0;
++fail:;
++  __Pyx_SafeReleaseBuffer(buf);
++  return -1;
+ }
+ 
+ /* ExtTypeTest */
+-            static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
++      static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
+     if (unlikely(!type)) {
+         PyErr_SetString(PyExc_SystemError, "Missing type object");
+         return 0;
+     }
+-    if (likely(PyObject_TypeCheck(obj, type)))
++    if (likely(__Pyx_TypeCheck(obj, type)))
+         return 1;
+     PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
+                  Py_TYPE(obj)->tp_name, type->tp_name);
+@@ -27532,13 +30075,22 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+ }
+ 
+ /* GetModuleGlobalName */
+-            static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
++      static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
+     PyObject *result;
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if !CYTHON_AVOID_BORROWED_REFS
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
++    result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
++    if (likely(result)) {
++        Py_INCREF(result);
++    } else if (unlikely(PyErr_Occurred())) {
++        result = NULL;
++    } else {
++#else
+     result = PyDict_GetItem(__pyx_d, name);
+     if (likely(result)) {
+         Py_INCREF(result);
+     } else {
++#endif
+ #else
+     result = PyObject_GetItem(__pyx_d, name);
+     if (!result) {
+@@ -27550,13 +30102,147 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+ }
+ 
+ /* BufferFallbackError */
+-              static void __Pyx_RaiseBufferFallbackError(void) {
++          static void __Pyx_RaiseBufferFallbackError(void) {
+   PyErr_SetString(PyExc_ValueError,
+      "Buffer acquisition failed on assignment; and then reacquiring the old buffer failed too!");
+ }
+ 
++/* SaveResetException */
++          #if CYTHON_FAST_THREAD_STATE
++static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++    #if PY_VERSION_HEX >= 0x030700A2
++    *type = tstate->exc_state.exc_type;
++    *value = tstate->exc_state.exc_value;
++    *tb = tstate->exc_state.exc_traceback;
++    #else
++    *type = tstate->exc_type;
++    *value = tstate->exc_value;
++    *tb = tstate->exc_traceback;
++    #endif
++    Py_XINCREF(*type);
++    Py_XINCREF(*value);
++    Py_XINCREF(*tb);
++}
++static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = type;
++    tstate->exc_state.exc_value = value;
++    tstate->exc_state.exc_traceback = tb;
++    #else
++    tmp_type = tstate->exc_type;
++    tmp_value = tstate->exc_value;
++    tmp_tb = tstate->exc_traceback;
++    tstate->exc_type = type;
++    tstate->exc_value = value;
++    tstate->exc_traceback = tb;
++    #endif
++    Py_XDECREF(tmp_type);
++    Py_XDECREF(tmp_value);
++    Py_XDECREF(tmp_tb);
++}
++#endif
++
++/* PyErrExceptionMatches */
++          #if CYTHON_FAST_THREAD_STATE
++static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
++    Py_ssize_t i, n;
++    n = PyTuple_GET_SIZE(tuple);
++#if PY_MAJOR_VERSION >= 3
++    for (i=0; icurexc_type;
++    if (exc_type == err) return 1;
++    if (unlikely(!exc_type)) return 0;
++    if (unlikely(PyTuple_Check(err)))
++        return __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err);
++    return __Pyx_PyErr_GivenExceptionMatches(exc_type, err);
++}
++#endif
++
++/* GetException */
++          #if CYTHON_FAST_THREAD_STATE
++static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++#else
++static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
++#endif
++    PyObject *local_type, *local_value, *local_tb;
++#if CYTHON_FAST_THREAD_STATE
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    local_type = tstate->curexc_type;
++    local_value = tstate->curexc_value;
++    local_tb = tstate->curexc_traceback;
++    tstate->curexc_type = 0;
++    tstate->curexc_value = 0;
++    tstate->curexc_traceback = 0;
++#else
++    PyErr_Fetch(&local_type, &local_value, &local_tb);
++#endif
++    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
++#if CYTHON_FAST_THREAD_STATE
++    if (unlikely(tstate->curexc_type))
++#else
++    if (unlikely(PyErr_Occurred()))
++#endif
++        goto bad;
++    #if PY_MAJOR_VERSION >= 3
++    if (local_tb) {
++        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
++            goto bad;
++    }
++    #endif
++    Py_XINCREF(local_tb);
++    Py_XINCREF(local_type);
++    Py_XINCREF(local_value);
++    *type = local_type;
++    *value = local_value;
++    *tb = local_tb;
++#if CYTHON_FAST_THREAD_STATE
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = local_type;
++    tstate->exc_state.exc_value = local_value;
++    tstate->exc_state.exc_traceback = local_tb;
++    #else
++    tmp_type = tstate->exc_type;
++    tmp_value = tstate->exc_value;
++    tmp_tb = tstate->exc_traceback;
++    tstate->exc_type = local_type;
++    tstate->exc_value = local_value;
++    tstate->exc_traceback = local_tb;
++    #endif
++    Py_XDECREF(tmp_type);
++    Py_XDECREF(tmp_value);
++    Py_XDECREF(tmp_tb);
++#else
++    PyErr_SetExcInfo(local_type, local_value, local_tb);
++#endif
++    return 0;
++bad:
++    *type = 0;
++    *value = 0;
++    *tb = 0;
++    Py_XDECREF(local_type);
++    Py_XDECREF(local_value);
++    Py_XDECREF(local_tb);
++    return -1;
++}
++
+ /* BytesEquals */
+-              static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
++            static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
+ #if CYTHON_COMPILING_IN_PYPY
+     return PyObject_RichCompareBool(s1, s2, equals);
+ #else
+@@ -27574,7 +30260,16 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+         } else if (length == 1) {
+             return (equals == Py_EQ);
+         } else {
+-            int result = memcmp(ps1, ps2, (size_t)length);
++            int result;
++#if CYTHON_USE_UNICODE_INTERNALS
++            Py_hash_t hash1, hash2;
++            hash1 = ((PyBytesObject*)s1)->ob_shash;
++            hash2 = ((PyBytesObject*)s2)->ob_shash;
++            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
++                return (equals == Py_NE);
++            }
++#endif
++            result = memcmp(ps1, ps2, (size_t)length);
+             return (equals == Py_EQ) ? (result == 0) : (result != 0);
+         }
+     } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) {
+@@ -27594,7 +30289,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+ }
+ 
+ /* UnicodeEquals */
+-              static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
++            static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
+ #if CYTHON_COMPILING_IN_PYPY
+     return PyObject_RichCompareBool(s1, s2, equals);
+ #else
+@@ -27634,6 +30329,21 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+         if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) {
+             goto return_ne;
+         }
++#if CYTHON_USE_UNICODE_INTERNALS
++        {
++            Py_hash_t hash1, hash2;
++        #if CYTHON_PEP393_ENABLED
++            hash1 = ((PyASCIIObject*)s1)->hash;
++            hash2 = ((PyASCIIObject*)s2)->hash;
++        #else
++            hash1 = ((PyUnicodeObject*)s1)->hash;
++            hash2 = ((PyUnicodeObject*)s2)->hash;
++        #endif
++            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
++                goto return_ne;
++            }
++        }
++#endif
+         kind = __Pyx_PyUnicode_KIND(s1);
+         if (kind != __Pyx_PyUnicode_KIND(s2)) {
+             goto return_ne;
+@@ -27678,7 +30388,7 @@ return_ne:
+ }
+ 
+ /* None */
+-              static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) {
++            static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) {
+     Py_ssize_t q = a / b;
+     Py_ssize_t r = a - q*b;
+     q -= ((r != 0) & ((r ^ b) < 0));
+@@ -27686,8 +30396,8 @@ return_ne:
+ }
+ 
+ /* GetAttr */
+-              static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++            static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
++#if CYTHON_USE_TYPE_SLOTS
+ #if PY_MAJOR_VERSION >= 3
+     if (likely(PyUnicode_Check(n)))
+ #else
+@@ -27698,8 +30408,37 @@ return_ne:
+     return PyObject_GetAttr(o, n);
+ }
+ 
++/* ObjectGetItem */
++            #if CYTHON_USE_TYPE_SLOTS
++static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject* index) {
++    PyObject *runerr;
++    Py_ssize_t key_value;
++    PySequenceMethods *m = Py_TYPE(obj)->tp_as_sequence;
++    if (unlikely(!(m && m->sq_item))) {
++        PyErr_Format(PyExc_TypeError, "'%.200s' object is not subscriptable", Py_TYPE(obj)->tp_name);
++        return NULL;
++    }
++    key_value = __Pyx_PyIndex_AsSsize_t(index);
++    if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) {
++        return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1);
++    }
++    if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
++        PyErr_Clear();
++        PyErr_Format(PyExc_IndexError, "cannot fit '%.200s' into an index-sized integer", Py_TYPE(index)->tp_name);
++    }
++    return NULL;
++}
++static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key) {
++    PyMappingMethods *m = Py_TYPE(obj)->tp_as_mapping;
++    if (likely(m && m->mp_subscript)) {
++        return m->mp_subscript(obj, key);
++    }
++    return __Pyx_PyObject_GetIndex(obj, key);
++}
++#endif
++
+ /* decode_c_string */
+-              static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
++            static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
+          const char* cstring, Py_ssize_t start, Py_ssize_t stop,
+          const char* encoding, const char* errors,
+          PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors)) {
+@@ -27711,53 +30450,214 @@ return_ne:
+                             "c-string too long to convert to Python");
+             return NULL;
+         }
+-        length = (Py_ssize_t) slen;
+-        if (start < 0) {
+-            start += length;
+-            if (start < 0)
+-                start = 0;
++        length = (Py_ssize_t) slen;
++        if (start < 0) {
++            start += length;
++            if (start < 0)
++                start = 0;
++        }
++        if (stop < 0)
++            stop += length;
++    }
++    length = stop - start;
++    if (unlikely(length <= 0))
++        return PyUnicode_FromUnicode(NULL, 0);
++    cstring += start;
++    if (decode_func) {
++        return decode_func(cstring, length, errors);
++    } else {
++        return PyUnicode_Decode(cstring, length, encoding, errors);
++    }
++}
++
++/* GetAttr3 */
++            static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
++        return NULL;
++    __Pyx_PyErr_Clear();
++    Py_INCREF(d);
++    return d;
++}
++static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
++    PyObject *r = __Pyx_GetAttr(o, n);
++    return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
++}
++
++/* SwapException */
++            #if CYTHON_FAST_THREAD_STATE
++static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = *type;
++    tstate->exc_state.exc_value = *value;
++    tstate->exc_state.exc_traceback = *tb;
++    #else
++    tmp_type = tstate->exc_type;
++    tmp_value = tstate->exc_value;
++    tmp_tb = tstate->exc_traceback;
++    tstate->exc_type = *type;
++    tstate->exc_value = *value;
++    tstate->exc_traceback = *tb;
++    #endif
++    *type = tmp_type;
++    *value = tmp_value;
++    *tb = tmp_tb;
++}
++#else
++static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) {
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb);
++    PyErr_SetExcInfo(*type, *value, *tb);
++    *type = tmp_type;
++    *value = tmp_value;
++    *tb = tmp_tb;
++}
++#endif
++
++/* Import */
++            static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
++    PyObject *empty_list = 0;
++    PyObject *module = 0;
++    PyObject *global_dict = 0;
++    PyObject *empty_dict = 0;
++    PyObject *list;
++    #if PY_MAJOR_VERSION < 3
++    PyObject *py_import;
++    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
++    if (!py_import)
++        goto bad;
++    #endif
++    if (from_list)
++        list = from_list;
++    else {
++        empty_list = PyList_New(0);
++        if (!empty_list)
++            goto bad;
++        list = empty_list;
++    }
++    global_dict = PyModule_GetDict(__pyx_m);
++    if (!global_dict)
++        goto bad;
++    empty_dict = PyDict_New();
++    if (!empty_dict)
++        goto bad;
++    {
++        #if PY_MAJOR_VERSION >= 3
++        if (level == -1) {
++            if (strchr(__Pyx_MODULE_NAME, '.')) {
++                module = PyImport_ImportModuleLevelObject(
++                    name, global_dict, empty_dict, list, 1);
++                if (!module) {
++                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
++                        goto bad;
++                    PyErr_Clear();
++                }
++            }
++            level = 0;
++        }
++        #endif
++        if (!module) {
++            #if PY_MAJOR_VERSION < 3
++            PyObject *py_level = PyInt_FromLong(level);
++            if (!py_level)
++                goto bad;
++            module = PyObject_CallFunctionObjArgs(py_import,
++                name, global_dict, empty_dict, list, py_level, NULL);
++            Py_DECREF(py_level);
++            #else
++            module = PyImport_ImportModuleLevelObject(
++                name, global_dict, empty_dict, list, level);
++            #endif
++        }
++    }
++bad:
++    #if PY_MAJOR_VERSION < 3
++    Py_XDECREF(py_import);
++    #endif
++    Py_XDECREF(empty_list);
++    Py_XDECREF(empty_dict);
++    return module;
++}
++
++/* FastTypeChecks */
++            #if CYTHON_COMPILING_IN_CPYTHON
++static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
++    while (a) {
++        a = a->tp_base;
++        if (a == b)
++            return 1;
++    }
++    return b == &PyBaseObject_Type;
++}
++static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
++    PyObject *mro;
++    if (a == b) return 1;
++    mro = a->tp_mro;
++    if (likely(mro)) {
++        Py_ssize_t i, n;
++        n = PyTuple_GET_SIZE(mro);
++        for (i = 0; i < n; i++) {
++            if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b)
++                return 1;
++        }
++        return 0;
++    }
++    return __Pyx_InBases(a, b);
++}
++#if PY_MAJOR_VERSION == 2
++static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) {
++    PyObject *exception, *value, *tb;
++    int res;
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ErrFetch(&exception, &value, &tb);
++    res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0;
++    if (unlikely(res == -1)) {
++        PyErr_WriteUnraisable(err);
++        res = 0;
++    }
++    if (!res) {
++        res = PyObject_IsSubclass(err, exc_type2);
++        if (unlikely(res == -1)) {
++            PyErr_WriteUnraisable(err);
++            res = 0;
+         }
+-        if (stop < 0)
+-            stop += length;
+     }
+-    length = stop - start;
+-    if (unlikely(length <= 0))
+-        return PyUnicode_FromUnicode(NULL, 0);
+-    cstring += start;
+-    if (decode_func) {
+-        return decode_func(cstring, length, errors);
+-    } else {
+-        return PyUnicode_Decode(cstring, length, encoding, errors);
++    __Pyx_ErrRestore(exception, value, tb);
++    return res;
++}
++#else
++static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
++    int res = exc_type1 ? __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type1) : 0;
++    if (!res) {
++        res = __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
+     }
++    return res;
+ }
+-
+-/* SwapException */
+-              #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    tmp_type = tstate->exc_type;
+-    tmp_value = tstate->exc_value;
+-    tmp_tb = tstate->exc_traceback;
+-    tstate->exc_type = *type;
+-    tstate->exc_value = *value;
+-    tstate->exc_traceback = *tb;
+-    *type = tmp_type;
+-    *value = tmp_value;
+-    *tb = tmp_tb;
++#endif
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
++    if (likely(err == exc_type)) return 1;
++    if (likely(PyExceptionClass_Check(err))) {
++        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
++    }
++    return PyErr_GivenExceptionMatches(err, exc_type);
+ }
+-#else
+-static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) {
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb);
+-    PyErr_SetExcInfo(*type, *value, *tb);
+-    *type = tmp_type;
+-    *value = tmp_value;
+-    *tb = tmp_tb;
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *exc_type1, PyObject *exc_type2) {
++    if (likely(err == exc_type1 || err == exc_type2)) return 1;
++    if (likely(PyExceptionClass_Check(err))) {
++        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, exc_type1, exc_type2);
++    }
++    return (PyErr_GivenExceptionMatches(err, exc_type1) || PyErr_GivenExceptionMatches(err, exc_type2));
+ }
+ #endif
+ 
+ /* PyIntBinop */
+-              #if CYTHON_COMPILING_IN_CPYTHON
++            #if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED long intval, CYTHON_UNUSED int inplace) {
+     #if PY_MAJOR_VERSION < 3
+     if (likely(PyInt_CheckExact(op1))) {
+@@ -27770,12 +30670,14 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+             return PyLong_Type.tp_as_number->nb_add(op1, op2);
+     }
+     #endif
+-    #if CYTHON_USE_PYLONG_INTERNALS && PY_MAJOR_VERSION >= 3
++    #if CYTHON_USE_PYLONG_INTERNALS
+     if (likely(PyLong_CheckExact(op1))) {
+         const long b = intval;
+         long a, x;
++#ifdef HAVE_LONG_LONG
+         const PY_LONG_LONG llb = intval;
+         PY_LONG_LONG lla, llx;
++#endif
+         const digit* digits = ((PyLongObject*)op1)->ob_digit;
+         const Py_ssize_t size = Py_SIZE(op1);
+         if (likely(__Pyx_sst_abs(size) <= 1)) {
+@@ -27787,58 +30689,80 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+                     if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+                         a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 2:
+                     if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+                         a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case -3:
+                     if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+                         a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 3:
+                     if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+                         a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case -4:
+                     if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+                         a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 4:
+                     if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+                         a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 default: return PyLong_Type.tp_as_number->nb_add(op1, op2);
+             }
+         }
+                 x = a + b;
+             return PyLong_FromLong(x);
++#ifdef HAVE_LONG_LONG
+         long_long:
+                 llx = lla + llb;
+             return PyLong_FromLongLong(llx);
++#endif
++        
++        
+     }
+     #endif
+     if (PyFloat_CheckExact(op1)) {
+@@ -27855,12 +30779,12 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ #endif
+ 
+ /* None */
+-              static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
++            static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
+     PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname);
+ }
+ 
+ /* None */
+-              static CYTHON_INLINE long __Pyx_div_long(long a, long b) {
++            static CYTHON_INLINE long __Pyx_div_long(long a, long b) {
+     long q = a / b;
+     long r = a - q*b;
+     q -= ((r != 0) & ((r ^ b) < 0));
+@@ -27868,7 +30792,7 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ }
+ 
+ /* WriteUnraisableException */
+-              static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
++            static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
+                                   CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
+                                   int full_traceback, CYTHON_UNUSED int nogil) {
+     PyObject *old_exc, *old_val, *old_tb;
+@@ -27909,8 +30833,90 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ #endif
+ }
+ 
++/* ImportFrom */
++            static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
++    PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
++    if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) {
++        PyErr_Format(PyExc_ImportError,
++        #if PY_MAJOR_VERSION < 3
++            "cannot import name %.230s", PyString_AS_STRING(name));
++        #else
++            "cannot import name %S", name);
++        #endif
++    }
++    return value;
++}
++
++/* HasAttr */
++            static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
++    PyObject *r;
++    if (unlikely(!__Pyx_PyBaseString_Check(n))) {
++        PyErr_SetString(PyExc_TypeError,
++                        "hasattr(): attribute name must be string");
++        return -1;
++    }
++    r = __Pyx_GetAttr(o, n);
++    if (unlikely(!r)) {
++        PyErr_Clear();
++        return 0;
++    } else {
++        Py_DECREF(r);
++        return 1;
++    }
++}
++
++/* PyObject_GenericGetAttrNoDict */
++            #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
++    PyErr_Format(PyExc_AttributeError,
++#if PY_MAJOR_VERSION >= 3
++                 "'%.50s' object has no attribute '%U'",
++                 tp->tp_name, attr_name);
++#else
++                 "'%.50s' object has no attribute '%.400s'",
++                 tp->tp_name, PyString_AS_STRING(attr_name));
++#endif
++    return NULL;
++}
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name) {
++    PyObject *descr;
++    PyTypeObject *tp = Py_TYPE(obj);
++    if (unlikely(!PyString_Check(attr_name))) {
++        return PyObject_GenericGetAttr(obj, attr_name);
++    }
++    assert(!tp->tp_dictoffset);
++    descr = _PyType_Lookup(tp, attr_name);
++    if (unlikely(!descr)) {
++        return __Pyx_RaiseGenericGetAttributeError(tp, attr_name);
++    }
++    Py_INCREF(descr);
++    #if PY_MAJOR_VERSION < 3
++    if (likely(PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_HAVE_CLASS)))
++    #endif
++    {
++        descrgetfunc f = Py_TYPE(descr)->tp_descr_get;
++        if (unlikely(f)) {
++            PyObject *res = f(descr, obj, (PyObject *)tp);
++            Py_DECREF(descr);
++            return res;
++        }
++    }
++    return descr;
++}
++#endif
++
++/* PyObject_GenericGetAttr */
++            #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name) {
++    if (unlikely(Py_TYPE(obj)->tp_dictoffset)) {
++        return PyObject_GenericGetAttr(obj, attr_name);
++    }
++    return __Pyx_PyObject_GenericGetAttrNoDict(obj, attr_name);
++}
++#endif
++
+ /* SetVTable */
+-              static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
++            static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
+ #if PY_VERSION_HEX >= 0x02070000
+     PyObject *ob = PyCapsule_New(vtable, 0, 0);
+ #else
+@@ -27927,8 +30933,84 @@ bad:
+     return -1;
+ }
+ 
++/* SetupReduce */
++            static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
++  int ret;
++  PyObject *name_attr;
++  name_attr = __Pyx_PyObject_GetAttrStr(meth, __pyx_n_s_name_2);
++  if (likely(name_attr)) {
++      ret = PyObject_RichCompareBool(name_attr, name, Py_EQ);
++  } else {
++      ret = -1;
++  }
++  if (unlikely(ret < 0)) {
++      PyErr_Clear();
++      ret = 0;
++  }
++  Py_XDECREF(name_attr);
++  return ret;
++}
++static int __Pyx_setup_reduce(PyObject* type_obj) {
++    int ret = 0;
++    PyObject *object_reduce = NULL;
++    PyObject *object_reduce_ex = NULL;
++    PyObject *reduce = NULL;
++    PyObject *reduce_ex = NULL;
++    PyObject *reduce_cython = NULL;
++    PyObject *setstate = NULL;
++    PyObject *setstate_cython = NULL;
++#if CYTHON_USE_PYTYPE_LOOKUP
++    if (_PyType_Lookup((PyTypeObject*)type_obj, __pyx_n_s_getstate)) goto GOOD;
++#else
++    if (PyObject_HasAttr(type_obj, __pyx_n_s_getstate)) goto GOOD;
++#endif
++#if CYTHON_USE_PYTYPE_LOOKUP
++    object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto BAD;
++#else
++    object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto BAD;
++#endif
++    reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_ex); if (unlikely(!reduce_ex)) goto BAD;
++    if (reduce_ex == object_reduce_ex) {
++#if CYTHON_USE_PYTYPE_LOOKUP
++        object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto BAD;
++#else
++        object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto BAD;
++#endif
++        reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce); if (unlikely(!reduce)) goto BAD;
++        if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_n_s_reduce_cython)) {
++            reduce_cython = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_cython); if (unlikely(!reduce_cython)) goto BAD;
++            ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce, reduce_cython); if (unlikely(ret < 0)) goto BAD;
++            ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce_cython); if (unlikely(ret < 0)) goto BAD;
++            setstate = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_setstate);
++            if (!setstate) PyErr_Clear();
++            if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_n_s_setstate_cython)) {
++                setstate_cython = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_setstate_cython); if (unlikely(!setstate_cython)) goto BAD;
++                ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate, setstate_cython); if (unlikely(ret < 0)) goto BAD;
++                ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate_cython); if (unlikely(ret < 0)) goto BAD;
++            }
++            PyType_Modified((PyTypeObject*)type_obj);
++        }
++    }
++    goto GOOD;
++BAD:
++    if (!PyErr_Occurred())
++        PyErr_Format(PyExc_RuntimeError, "Unable to initialize pickling for %s", ((PyTypeObject*)type_obj)->tp_name);
++    ret = -1;
++GOOD:
++#if !CYTHON_USE_PYTYPE_LOOKUP
++    Py_XDECREF(object_reduce);
++    Py_XDECREF(object_reduce_ex);
++#endif
++    Py_XDECREF(reduce);
++    Py_XDECREF(reduce_ex);
++    Py_XDECREF(reduce_cython);
++    Py_XDECREF(setstate);
++    Py_XDECREF(setstate_cython);
++    return ret;
++}
++
+ /* FetchCommonType */
+-              static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
++            static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
+     PyObject* fake_module;
+     PyTypeObject* cached_type = NULL;
+     fake_module = PyImport_AddModule((char*) "_cython_" CYTHON_ABI);
+@@ -27967,7 +31049,8 @@ bad:
+ }
+ 
+ /* CythonFunction */
+-              static PyObject *
++            #include 
++static PyObject *
+ __Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
+ {
+     if (unlikely(op->func_doc == NULL)) {
+@@ -28124,7 +31207,7 @@ __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
+     PyObject *res = op->defaults_getter((PyObject *) op);
+     if (unlikely(!res))
+         return -1;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     op->defaults_tuple = PyTuple_GET_ITEM(res, 0);
+     Py_INCREF(op->defaults_tuple);
+     op->defaults_kwdict = PyTuple_GET_ITEM(res, 1);
+@@ -28249,7 +31332,7 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = {
+     {0, 0, 0, 0, 0}
+ };
+ static PyMemberDef __pyx_CyFunction_members[] = {
+-    {(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
++    {(char *) "__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), PY_WRITE_RESTRICTED, 0},
+     {0, 0, 0,  0, 0}
+ };
+ static PyObject *
+@@ -28327,14 +31410,18 @@ __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
+     }
+     return 0;
+ }
+-static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
++static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m)
+ {
+-    PyObject_GC_UnTrack(m);
+     if (__Pyx_CyFunction_weakreflist(m) != NULL)
+         PyObject_ClearWeakRefs((PyObject *) m);
+     __Pyx_CyFunction_clear(m);
+     PyObject_GC_Del(m);
+ }
++static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
++{
++    PyObject_GC_UnTrack(m);
++    __Pyx__CyFunction_dealloc(m);
++}
+ static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg)
+ {
+     Py_VISIT(m->func_closure);
+@@ -28383,11 +31470,9 @@ __Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
+                                PyString_AsString(op->func_qualname), (void *)op);
+ #endif
+ }
+-#if CYTHON_COMPILING_IN_PYPY
+-static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
++static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) {
+     PyCFunctionObject* f = (PyCFunctionObject*)func;
+     PyCFunction meth = f->m_ml->ml_meth;
+-    PyObject *self = f->m_self;
+     Py_ssize_t size;
+     switch (f->m_ml->ml_flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) {
+     case METH_VARARGS:
+@@ -28411,10 +31496,16 @@ static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject
+         if (likely(kw == NULL || PyDict_Size(kw) == 0)) {
+             size = PyTuple_GET_SIZE(arg);
+             if (likely(size == 1)) {
+-                PyObject *result, *arg0 = PySequence_ITEM(arg, 0);
+-                if (unlikely(!arg0)) return NULL;
++                PyObject *result, *arg0;
++                #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++                arg0 = PyTuple_GET_ITEM(arg, 0);
++                #else
++                arg0 = PySequence_ITEM(arg, 0); if (unlikely(!arg0)) return NULL;
++                #endif
+                 result = (*meth)(self, arg0);
++                #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+                 Py_DECREF(arg0);
++                #endif
+                 return result;
+             }
+             PyErr_Format(PyExc_TypeError,
+@@ -28433,11 +31524,32 @@ static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject
+                  f->m_ml->ml_name);
+     return NULL;
+ }
+-#else
+-static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
+-	return PyCFunction_Call(func, arg, kw);
++static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
++    return __Pyx_CyFunction_CallMethod(func, ((PyCFunctionObject*)func)->m_self, arg, kw);
++}
++static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) {
++    PyObject *result;
++    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
++    if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) {
++        Py_ssize_t argc;
++        PyObject *new_args;
++        PyObject *self;
++        argc = PyTuple_GET_SIZE(args);
++        new_args = PyTuple_GetSlice(args, 1, argc);
++        if (unlikely(!new_args))
++            return NULL;
++        self = PyTuple_GetItem(args, 0);
++        if (unlikely(!self)) {
++            Py_DECREF(new_args);
++            return NULL;
++        }
++        result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
++        Py_DECREF(new_args);
++    } else {
++        result = __Pyx_CyFunction_Call(func, args, kw);
++    }
++    return result;
+ }
+-#endif
+ static PyTypeObject __pyx_CyFunctionType_type = {
+     PyVarObject_HEAD_INIT(0, 0)
+     "cython_function_or_method",
+@@ -28457,7 +31569,7 @@ static PyTypeObject __pyx_CyFunctionType_type = {
+     0,
+     0,
+     0,
+-    __Pyx_CyFunction_Call,
++    __Pyx_CyFunction_CallAsMethod,
+     0,
+     0,
+     0,
+@@ -28499,11 +31611,8 @@ static PyTypeObject __pyx_CyFunctionType_type = {
+ #endif
+ };
+ static int __pyx_CyFunction_init(void) {
+-#if !CYTHON_COMPILING_IN_PYPY
+-    __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
+-#endif
+     __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
+-    if (__pyx_CyFunctionType == NULL) {
++    if (unlikely(__pyx_CyFunctionType == NULL)) {
+         return -1;
+     }
+     return 0;
+@@ -28511,7 +31620,7 @@ static int __pyx_CyFunction_init(void) {
+ static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
+     __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
+     m->defaults = PyObject_Malloc(size);
+-    if (!m->defaults)
++    if (unlikely(!m->defaults))
+         return PyErr_NoMemory();
+     memset(m->defaults, 0, size);
+     m->defaults_pyobjects = pyobjects;
+@@ -28534,7 +31643,7 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
+ }
+ 
+ /* FusedFunction */
+-                  static PyObject *
++                static PyObject *
+ __pyx_FusedFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags,
+                         PyObject *qualname, PyObject *self,
+                         PyObject *module, PyObject *globals,
+@@ -28550,9 +31659,14 @@ __pyx_FusedFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags,
+     fusedfunc->self = NULL;
+     return (PyObject *) fusedfunc;
+ }
+-static void __pyx_FusedFunction_dealloc(__pyx_FusedFunctionObject *self) {
+-    __pyx_FusedFunction_clear(self);
+-    __pyx_FusedFunctionType->tp_free((PyObject *) self);
++static void
++__pyx_FusedFunction_dealloc(__pyx_FusedFunctionObject *self)
++{
++    PyObject_GC_UnTrack(self);
++    Py_CLEAR(self->self);
++    Py_CLEAR(self->type);
++    Py_CLEAR(self->__signatures__);
++    __Pyx__CyFunction_dealloc((__pyx_CyFunctionObject *) self);
+ }
+ static int
+ __pyx_FusedFunction_traverse(__pyx_FusedFunctionObject *self,
+@@ -28634,13 +31748,13 @@ __pyx_FusedFunction_getitem(__pyx_FusedFunctionObject *self, PyObject *idx)
+         if (!list)
+             return NULL;
+         for (i = 0; i < n; i++) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+             PyObject *item = PyTuple_GET_ITEM(idx, i);
+ #else
+             PyObject *item = PySequence_ITEM(idx, i);
+ #endif
+             string = _obj_to_str(item);
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+             Py_DECREF(item);
+ #endif
+             if (!string || PyList_Append(list, string) < 0)
+@@ -28681,30 +31795,13 @@ static PyObject *
+ __pyx_FusedFunction_callfunction(PyObject *func, PyObject *args, PyObject *kw)
+ {
+      __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
+-    PyObject *result;
+     int static_specialized = (cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD &&
+                               !((__pyx_FusedFunctionObject *) func)->__signatures__);
+     if (cyfunc->flags & __Pyx_CYFUNCTION_CCLASS && !static_specialized) {
+-        Py_ssize_t argc;
+-        PyObject *new_args;
+-        PyObject *self;
+-        PyObject *m_self;
+-        argc = PyTuple_GET_SIZE(args);
+-        new_args = PyTuple_GetSlice(args, 1, argc);
+-        if (!new_args)
+-            return NULL;
+-        self = PyTuple_GetItem(args, 0);
+-        if (!self)
+-            return NULL;
+-        m_self = cyfunc->func.m_self;
+-        cyfunc->func.m_self = self;
+-        result = __Pyx_CyFunction_Call(func, new_args, kw);
+-        cyfunc->func.m_self = m_self;
+-        Py_DECREF(new_args);
++        return __Pyx_CyFunction_CallAsMethod(func, args, kw);
+     } else {
+-        result = __Pyx_CyFunction_Call(func, args, kw);
++        return __Pyx_CyFunction_Call(func, args, kw);
+     }
+-    return result;
+ }
+ static PyObject *
+ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+@@ -28723,13 +31820,13 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+         if (!new_args)
+             return NULL;
+         self = binding_func->self;
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+         Py_INCREF(self);
+ #endif
+         Py_INCREF(self);
+         PyTuple_SET_ITEM(new_args, 0, self);
+         for (i = 0; i < argc; i++) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+             PyObject *item = PyTuple_GET_ITEM(args, i);
+             Py_INCREF(item);
+ #else
+@@ -28743,7 +31840,7 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+             PyErr_SetString(PyExc_TypeError, "Need at least one argument, 0 given.");
+             return NULL;
+         }
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+         self = PyTuple_GET_ITEM(args, 0);
+ #else
+         self = PySequence_ITEM(args, 0);  if (unlikely(!self)) return NULL;
+@@ -28761,19 +31858,28 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+             goto bad;
+         }
+     }
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+     Py_XDECREF(self);
+     self = NULL;
+ #endif
+     if (binding_func->__signatures__) {
+-        PyObject *tup = PyTuple_Pack(4, binding_func->__signatures__, args,
+-                                        kw == NULL ? Py_None : kw,
+-                                        binding_func->func.defaults_tuple);
+-        if (!tup)
+-            goto bad;
+-        new_func = (__pyx_FusedFunctionObject *) __pyx_FusedFunction_callfunction(func, tup, NULL);
++        PyObject *tup;
++        if (is_staticmethod && binding_func->func.flags & __Pyx_CYFUNCTION_CCLASS) {
++            tup = PyTuple_Pack(3, args,
++                               kw == NULL ? Py_None : kw,
++                               binding_func->func.defaults_tuple);
++            if (unlikely(!tup)) goto bad;
++            new_func = (__pyx_FusedFunctionObject *) __Pyx_CyFunction_CallMethod(
++                func, binding_func->__signatures__, tup, NULL);
++        } else {
++            tup = PyTuple_Pack(4, binding_func->__signatures__, args,
++                               kw == NULL ? Py_None : kw,
++                               binding_func->func.defaults_tuple);
++            if (unlikely(!tup)) goto bad;
++            new_func = (__pyx_FusedFunctionObject *) __pyx_FusedFunction_callfunction(func, tup, NULL);
++        }
+         Py_DECREF(tup);
+-        if (!new_func)
++        if (unlikely(!new_func))
+             goto bad;
+         Py_XINCREF(binding_func->func.func_classobj);
+         Py_CLEAR(new_func->func.func_classobj);
+@@ -28782,7 +31888,7 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+     }
+     result = __pyx_FusedFunction_callfunction(func, args, kw);
+ bad:
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+     Py_XDECREF(self);
+ #endif
+     Py_XDECREF(new_args);
+@@ -28866,8 +31972,45 @@ static int __pyx_FusedFunction_init(void) {
+     return 0;
+ }
+ 
++/* CLineInTraceback */
++                #ifndef CYTHON_CLINE_IN_TRACEBACK
++static int __Pyx_CLineForTraceback(CYTHON_UNUSED PyThreadState *tstate, int c_line) {
++    PyObject *use_cline;
++    PyObject *ptype, *pvalue, *ptraceback;
++#if CYTHON_COMPILING_IN_CPYTHON
++    PyObject **cython_runtime_dict;
++#endif
++    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
++#if CYTHON_COMPILING_IN_CPYTHON
++    cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime);
++    if (likely(cython_runtime_dict)) {
++      use_cline = __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_n_s_cline_in_traceback);
++    } else
++#endif
++    {
++      PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback);
++      if (use_cline_obj) {
++        use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True;
++        Py_DECREF(use_cline_obj);
++      } else {
++        PyErr_Clear();
++        use_cline = NULL;
++      }
++    }
++    if (!use_cline) {
++        c_line = 0;
++        PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
++    }
++    else if (PyObject_Not(use_cline) != 0) {
++        c_line = 0;
++    }
++    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
++    return c_line;
++}
++#endif
++
+ /* CodeObjectCache */
+-                  static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
++                static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
+     int start = 0, mid = 0, end = count - 1;
+     if (end >= 0 && code_line > entries[end].code_line) {
+         return count;
+@@ -28947,7 +32090,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
+ }
+ 
+ /* AddTraceback */
+-                  #include "compile.h"
++                #include "compile.h"
+ #include "frameobject.h"
+ #include "traceback.h"
+ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
+@@ -29006,21 +32149,25 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line,
+                                int py_line, const char *filename) {
+     PyCodeObject *py_code = 0;
+     PyFrameObject *py_frame = 0;
+-    py_code = __pyx_find_code_object(c_line ? c_line : py_line);
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
++    if (c_line) {
++        c_line = __Pyx_CLineForTraceback(tstate, c_line);
++    }
++    py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
+     if (!py_code) {
+         py_code = __Pyx_CreateCodeObjectForTraceback(
+             funcname, c_line, py_line, filename);
+         if (!py_code) goto bad;
+-        __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
++        __pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
+     }
+     py_frame = PyFrame_New(
+-        PyThreadState_GET(), /*PyThreadState *tstate,*/
+-        py_code,             /*PyCodeObject *code,*/
+-        __pyx_d,      /*PyObject *globals,*/
+-        0                    /*PyObject *locals*/
++        tstate,            /*PyThreadState *tstate,*/
++        py_code,           /*PyCodeObject *code,*/
++        __pyx_d,    /*PyObject *globals,*/
++        0                  /*PyObject *locals*/
+     );
+     if (!py_frame) goto bad;
+-    py_frame->f_lineno = py_line;
++    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
+     PyTraceBack_Here(py_frame);
+ bad:
+     Py_XDECREF(py_code);
+@@ -29030,9 +32177,9 @@ bad:
+ #if PY_MAJOR_VERSION < 3
+ static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) {
+     if (PyObject_CheckBuffer(obj)) return PyObject_GetBuffer(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) return __pyx_pw_5numpy_7ndarray_1__getbuffer__(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_array_type)) return __pyx_array_getbuffer(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_memoryview_type)) return __pyx_memoryview_getbuffer(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) return __pyx_pw_5numpy_7ndarray_1__getbuffer__(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_array_type)) return __pyx_array_getbuffer(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_memoryview_type)) return __pyx_memoryview_getbuffer(obj, view, flags);
+     PyErr_Format(PyExc_TypeError, "'%.200s' does not have the buffer interface", Py_TYPE(obj)->tp_name);
+     return -1;
+ }
+@@ -29043,17 +32190,17 @@ static void __Pyx_ReleaseBuffer(Py_buffer *view) {
+         PyBuffer_Release(view);
+         return;
+     }
+-        if (PyObject_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) { __pyx_pw_5numpy_7ndarray_3__releasebuffer__(obj, view); return; }
+-    Py_DECREF(obj);
++    if ((0)) {}
++        else if (__Pyx_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) __pyx_pw_5numpy_7ndarray_3__releasebuffer__(obj, view);
+     view->obj = NULL;
++    Py_DECREF(obj);
+ }
+ #endif
+ 
+ 
+-                  /* MemviewSliceIsContig */
+-                  static int
+-__pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+-                             char order, int ndim)
++                /* MemviewSliceIsContig */
++                static int
++__pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim)
+ {
+     int i, index, step, start;
+     Py_ssize_t itemsize = mvs.memview->view.itemsize;
+@@ -29074,7 +32221,7 @@ __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+ }
+ 
+ /* OverlappingSlices */
+-                  static void
++                static void
+ __pyx_get_array_memory_extents(__Pyx_memviewslice *slice,
+                                void **out_start, void **out_end,
+                                int ndim, size_t itemsize)
+@@ -29110,7 +32257,7 @@ __pyx_slices_overlap(__Pyx_memviewslice *slice1,
+ }
+ 
+ /* Capsule */
+-                  static CYTHON_INLINE PyObject *
++                static CYTHON_INLINE PyObject *
+ __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig)
+ {
+     PyObject *cobj;
+@@ -29123,7 +32270,7 @@ __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig)
+ }
+ 
+ /* TypeInfoCompare */
+-                  static int
++                static int
+ __pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b)
+ {
+     int i;
+@@ -29164,7 +32311,7 @@ __pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b)
+ }
+ 
+ /* MemviewSliceValidateAndInit */
+-                  static int
++                static int
+ __pyx_check_strides(Py_buffer *buf, int dim, int ndim, int spec)
+ {
+     if (buf->shape[dim] <= 1)
+@@ -29346,7 +32493,7 @@ no_fail:
+ }
+ 
+ /* ObjectToMemviewSlice */
+-                  static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(PyObject *obj) {
++                static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float32_t(PyObject *obj, int writable_flag) {
+     __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } };
+     __Pyx_BufFmt_StackElem stack[1];
+     int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED), (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) };
+@@ -29356,7 +32503,7 @@ no_fail:
+         return result;
+     }
+     retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0,
+-                                                 PyBUF_RECORDS, 2,
++                                                 PyBUF_RECORDS_RO | writable_flag, 2,
+                                                  &__Pyx_TypeInfo_nn___pyx_t_5numpy_float32_t, stack,
+                                                  &result, obj);
+     if (unlikely(retcode == -1))
+@@ -29369,7 +32516,7 @@ __pyx_fail:
+ }
+ 
+ /* ObjectToMemviewSlice */
+-                  static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *obj) {
++                static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *obj, int writable_flag) {
+     __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } };
+     __Pyx_BufFmt_StackElem stack[1];
+     int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED), (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) };
+@@ -29379,7 +32526,7 @@ __pyx_fail:
+         return result;
+     }
+     retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0,
+-                                                 PyBUF_RECORDS, 2,
++                                                 PyBUF_RECORDS_RO | writable_flag, 2,
+                                                  &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, stack,
+                                                  &result, obj);
+     if (unlikely(retcode == -1))
+@@ -29392,7 +32539,7 @@ __pyx_fail:
+ }
+ 
+ /* CIntToPy */
+-                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
++                static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
+     const long neg_one = (long) -1, const_zero = (long) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -29400,14 +32547,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(long) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(long) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -29419,7 +32570,7 @@ __pyx_fail:
+ }
+ 
+ /* CIntFromPyVerify */
+-                  #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
++                #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
+     __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
+ #define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
+     __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1)
+@@ -29441,7 +32592,7 @@ __pyx_fail:
+     }
+ 
+ /* CIntToPy */
+-                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value) {
++                static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value) {
+     const unsigned int neg_one = (unsigned int) -1, const_zero = (unsigned int) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -29449,14 +32600,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(unsigned int) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(unsigned int) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(unsigned int) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(unsigned int) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -29467,19 +32622,8 @@ __pyx_fail:
+     }
+ }
+ 
+-/* BytesContains */
+-                  static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character) {
+-    const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
+-    char* char_start = PyBytes_AS_STRING(bytes);
+-    char* pos;
+-    for (pos=char_start; pos < char_start+length; pos++) {
+-        if (character == pos[0]) return 1;
+-    }
+-    return 0;
+-}
+-
+-/* None */
+-                  #if CYTHON_CCOMPLEX
++/* Declarations */
++                #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
+       return ::std::complex< float >(x, y);
+@@ -29498,61 +32642,86 @@ __pyx_fail:
+     }
+ #endif
+ 
+-/* None */
+-                  #if CYTHON_CCOMPLEX
++/* Arithmetic */
++                #if CYTHON_CCOMPLEX
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+        return (a.real == b.real) && (a.imag == b.imag);
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real + b.real;
+         z.imag = a.imag + b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real - b.real;
+         z.imag = a.imag - b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real * b.real - a.imag * b.imag;
+         z.imag = a.real * b.imag + a.imag * b.real;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+-        __pyx_t_float_complex z;
+-        float denom = b.real * b.real + b.imag * b.imag;
+-        z.real = (a.real * b.real + a.imag * b.imag) / denom;
+-        z.imag = (a.imag * b.real - a.real * b.imag) / denom;
+-        return z;
++    #if 1
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else if (fabsf(b.real) >= fabsf(b.imag)) {
++            if (b.real == 0 && b.imag == 0) {
++                return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.imag);
++            } else {
++                float r = b.imag / b.real;
++                float s = 1.0 / (b.real + b.imag * r);
++                return __pyx_t_float_complex_from_parts(
++                    (a.real + a.imag * r) * s, (a.imag - a.real * r) * s);
++            }
++        } else {
++            float r = b.real / b.imag;
++            float s = 1.0 / (b.imag + b.real * r);
++            return __pyx_t_float_complex_from_parts(
++                (a.real * r + a.imag) * s, (a.imag * r - a.real) * s);
++        }
++    }
++    #else
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else {
++            float denom = b.real * b.real + b.imag * b.imag;
++            return __pyx_t_float_complex_from_parts(
++                (a.real * b.real + a.imag * b.imag) / denom,
++                (a.imag * b.real - a.real * b.imag) / denom);
++        }
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
++    #endif
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex a) {
+         __pyx_t_float_complex z;
+         z.real = -a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+-    static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
++    static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex a) {
+        return (a.real == 0) && (a.imag == 0);
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex a) {
+         __pyx_t_float_complex z;
+         z.real =  a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+     #if 1
+-        static CYTHON_INLINE float __Pyx_c_absf(__pyx_t_float_complex z) {
++        static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex z) {
+           #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
+             return sqrtf(z.real*z.real + z.imag*z.imag);
+           #else
+             return hypotf(z.real, z.imag);
+           #endif
+         }
+-        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+             __pyx_t_float_complex z;
+             float r, lnr, theta, z_r, z_theta;
+             if (b.imag == 0 && b.real == (int)b.real) {
+@@ -29570,24 +32739,32 @@ __pyx_fail:
+                     case 1:
+                         return a;
+                     case 2:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(a, a);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(a, a);
+                     case 3:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(z, a);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(z, a);
+                     case 4:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(z, z);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(z, z);
+                 }
+             }
+             if (a.imag == 0) {
+                 if (a.real == 0) {
+                     return a;
++                } else if (b.imag == 0) {
++                    z.real = powf(a.real, b.real);
++                    z.imag = 0;
++                    return z;
++                } else if (a.real > 0) {
++                    r = a.real;
++                    theta = 0;
++                } else {
++                    r = -a.real;
++                    theta = atan2f(0, -1);
+                 }
+-                r = a.real;
+-                theta = 0;
+             } else {
+-                r = __Pyx_c_absf(a);
++                r = __Pyx_c_abs_float(a);
+                 theta = atan2f(a.imag, a.real);
+             }
+             lnr = logf(r);
+@@ -29600,8 +32777,8 @@ __pyx_fail:
+     #endif
+ #endif
+ 
+-/* None */
+-                  #if CYTHON_CCOMPLEX
++/* Declarations */
++                #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
+       return ::std::complex< double >(x, y);
+@@ -29620,61 +32797,86 @@ __pyx_fail:
+     }
+ #endif
+ 
+-/* None */
+-                  #if CYTHON_CCOMPLEX
++/* Arithmetic */
++                #if CYTHON_CCOMPLEX
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+        return (a.real == b.real) && (a.imag == b.imag);
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real + b.real;
+         z.imag = a.imag + b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real - b.real;
+         z.imag = a.imag - b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real * b.real - a.imag * b.imag;
+         z.imag = a.real * b.imag + a.imag * b.real;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+-        __pyx_t_double_complex z;
+-        double denom = b.real * b.real + b.imag * b.imag;
+-        z.real = (a.real * b.real + a.imag * b.imag) / denom;
+-        z.imag = (a.imag * b.real - a.real * b.imag) / denom;
+-        return z;
++    #if 1
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else if (fabs(b.real) >= fabs(b.imag)) {
++            if (b.real == 0 && b.imag == 0) {
++                return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.imag);
++            } else {
++                double r = b.imag / b.real;
++                double s = 1.0 / (b.real + b.imag * r);
++                return __pyx_t_double_complex_from_parts(
++                    (a.real + a.imag * r) * s, (a.imag - a.real * r) * s);
++            }
++        } else {
++            double r = b.real / b.imag;
++            double s = 1.0 / (b.imag + b.real * r);
++            return __pyx_t_double_complex_from_parts(
++                (a.real * r + a.imag) * s, (a.imag * r - a.real) * s);
++        }
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
++    #else
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else {
++            double denom = b.real * b.real + b.imag * b.imag;
++            return __pyx_t_double_complex_from_parts(
++                (a.real * b.real + a.imag * b.imag) / denom,
++                (a.imag * b.real - a.real * b.imag) / denom);
++        }
++    }
++    #endif
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex a) {
+         __pyx_t_double_complex z;
+         z.real = -a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+-    static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
++    static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex a) {
+        return (a.real == 0) && (a.imag == 0);
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex a) {
+         __pyx_t_double_complex z;
+         z.real =  a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+     #if 1
+-        static CYTHON_INLINE double __Pyx_c_abs(__pyx_t_double_complex z) {
++        static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex z) {
+           #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
+             return sqrt(z.real*z.real + z.imag*z.imag);
+           #else
+             return hypot(z.real, z.imag);
+           #endif
+         }
+-        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+             __pyx_t_double_complex z;
+             double r, lnr, theta, z_r, z_theta;
+             if (b.imag == 0 && b.real == (int)b.real) {
+@@ -29692,24 +32894,32 @@ __pyx_fail:
+                     case 1:
+                         return a;
+                     case 2:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(a, a);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(a, a);
+                     case 3:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(z, a);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(z, a);
+                     case 4:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(z, z);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(z, z);
+                 }
+             }
+             if (a.imag == 0) {
+                 if (a.real == 0) {
+                     return a;
++                } else if (b.imag == 0) {
++                    z.real = pow(a.real, b.real);
++                    z.imag = 0;
++                    return z;
++                } else if (a.real > 0) {
++                    r = a.real;
++                    theta = 0;
++                } else {
++                    r = -a.real;
++                    theta = atan2(0, -1);
+                 }
+-                r = a.real;
+-                theta = 0;
+             } else {
+-                r = __Pyx_c_abs(a);
++                r = __Pyx_c_abs_double(a);
+                 theta = atan2(a.imag, a.real);
+             }
+             lnr = log(r);
+@@ -29723,7 +32933,7 @@ __pyx_fail:
+ #endif
+ 
+ /* CIntToPy */
+-                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
++                static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
+     const int neg_one = (int) -1, const_zero = (int) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -29731,14 +32941,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(int) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(int) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -29750,7 +32964,7 @@ __pyx_fail:
+ }
+ 
+ /* CIntToPy */
+-                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__NPY_TYPES(enum NPY_TYPES value) {
++                static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__NPY_TYPES(enum NPY_TYPES value) {
+     const enum NPY_TYPES neg_one = (enum NPY_TYPES) -1, const_zero = (enum NPY_TYPES) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -29758,14 +32972,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(enum NPY_TYPES) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -29777,7 +32995,7 @@ __pyx_fail:
+ }
+ 
+ /* MemviewSliceCopyTemplate */
+-                  static __Pyx_memviewslice
++                static __Pyx_memviewslice
+ __pyx_memoryview_copy_new_contig(const __Pyx_memviewslice *from_mvs,
+                                  const char *mode, int ndim,
+                                  size_t sizeof_dtype, int contig_flag,
+@@ -29844,7 +33062,7 @@ no_fail:
+ }
+ 
+ /* MemviewSliceInit */
+-                  static int
++                static int
+ __Pyx_init_memviewslice(struct __pyx_memoryview_obj *memview,
+                         int ndim,
+                         __Pyx_memviewslice *memviewslice,
+@@ -29897,7 +33115,10 @@ no_fail:
+     __Pyx_RefNannyFinishContext();
+     return retval;
+ }
+-static CYTHON_INLINE void __pyx_fatalerror(const char *fmt, ...) {
++#ifndef Py_NO_RETURN
++#define Py_NO_RETURN
++#endif
++static void __pyx_fatalerror(const char *fmt, ...) Py_NO_RETURN {
+     va_list vargs;
+     char msg[200];
+ #ifdef HAVE_STDARG_PROTOTYPES
+@@ -29906,8 +33127,8 @@ static CYTHON_INLINE void __pyx_fatalerror(const char *fmt, ...) {
+     va_start(vargs);
+ #endif
+     vsnprintf(msg, 200, fmt, vargs);
+-    Py_FatalError(msg);
+     va_end(vargs);
++    Py_FatalError(msg);
+ }
+ static CYTHON_INLINE int
+ __pyx_add_acquisition_count_locked(__pyx_atomic_int *acquisition_count,
+@@ -29979,7 +33200,7 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+ }
+ 
+ /* CIntFromPy */
+-                  static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *x) {
++                static CYTHON_INLINE size_t __Pyx_PyInt_As_size_t(PyObject *x) {
+     const size_t neg_one = (size_t) -1, const_zero = (size_t) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -30046,8 +33267,10 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+ #endif
+             if (sizeof(size_t) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(size_t, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(size_t) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(size_t, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -30114,8 +33337,10 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+ #endif
+             if (sizeof(size_t) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(size_t, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(size_t) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(size_t, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -30164,7 +33389,7 @@ raise_neg_overflow:
+ }
+ 
+ /* CIntFromPy */
+-                  static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) {
++                static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) {
+     const unsigned int neg_one = (unsigned int) -1, const_zero = (unsigned int) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -30231,8 +33456,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(unsigned int) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(unsigned int) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -30299,8 +33526,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(unsigned int) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(unsigned int) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -30349,7 +33578,7 @@ raise_neg_overflow:
+ }
+ 
+ /* CIntFromPy */
+-                  static CYTHON_INLINE npy_int8 __Pyx_PyInt_As_npy_int8(PyObject *x) {
++                static CYTHON_INLINE npy_int8 __Pyx_PyInt_As_npy_int8(PyObject *x) {
+     const npy_int8 neg_one = (npy_int8) -1, const_zero = (npy_int8) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -30416,8 +33645,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(npy_int8) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(npy_int8, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(npy_int8) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(npy_int8, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -30484,8 +33715,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(npy_int8) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(npy_int8, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(npy_int8) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(npy_int8, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -30533,8 +33766,15 @@ raise_neg_overflow:
+     return (npy_int8) -1;
+ }
+ 
++/* BytesContains */
++                static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character) {
++    const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
++    char* char_start = PyBytes_AS_STRING(bytes);
++    return memchr(char_start, (unsigned char)character, (size_t)length) != NULL;
++}
++
+ /* CIntFromPy */
+-                  static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
++                static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
+     const int neg_one = (int) -1, const_zero = (int) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -30601,8 +33841,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(int) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -30669,8 +33911,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(int) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -30718,20 +33962,46 @@ raise_neg_overflow:
+     return (int) -1;
+ }
+ 
++/* ImportNumPyArray */
++                static PyObject* __Pyx__ImportNumPyArray(void) {
++    PyObject *numpy_module, *ndarray_object = NULL;
++    numpy_module = __Pyx_Import(__pyx_n_s_numpy, NULL, 0);
++    if (likely(numpy_module)) {
++        ndarray_object = PyObject_GetAttrString(numpy_module, "ndarray");
++        Py_DECREF(numpy_module);
++    }
++    if (unlikely(!ndarray_object)) {
++        PyErr_Clear();
++    }
++    if (unlikely(!ndarray_object || !PyObject_TypeCheck(ndarray_object, &PyType_Type))) {
++        Py_XDECREF(ndarray_object);
++        Py_INCREF(Py_None);
++        ndarray_object = Py_None;
++    }
++    return ndarray_object;
++}
++static CYTHON_INLINE PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void) {
++    if (unlikely(!__pyx_numpy_ndarray)) {
++        __pyx_numpy_ndarray = __Pyx__ImportNumPyArray();
++    }
++    Py_INCREF(__pyx_numpy_ndarray);
++    return __pyx_numpy_ndarray;
++}
++
+ /* CIntFromPy */
+-                  static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) {
+-    const char neg_one = (char) -1, const_zero = (char) 0;
++                static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
++    const long neg_one = (long) -1, const_zero = (long) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+     if (likely(PyInt_Check(x))) {
+-        if (sizeof(char) < sizeof(long)) {
+-            __PYX_VERIFY_RETURN_INT(char, long, PyInt_AS_LONG(x))
++        if (sizeof(long) < sizeof(long)) {
++            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
+         } else {
+             long val = PyInt_AS_LONG(x);
+             if (is_unsigned && unlikely(val < 0)) {
+                 goto raise_neg_overflow;
+             }
+-            return (char) val;
++            return (long) val;
+         }
+     } else
+ #endif
+@@ -30740,32 +34010,32 @@ raise_neg_overflow:
+ #if CYTHON_USE_PYLONG_INTERNALS
+             const digit* digits = ((PyLongObject*)x)->ob_digit;
+             switch (Py_SIZE(x)) {
+-                case  0: return (char) 0;
+-                case  1: __PYX_VERIFY_RETURN_INT(char, digit, digits[0])
++                case  0: return (long) 0;
++                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
+                 case 2:
+-                    if (8 * sizeof(char) > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) >= 2 * PyLong_SHIFT) {
+-                            return (char) (((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
++                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+                         }
+                     }
+                     break;
+                 case 3:
+-                    if (8 * sizeof(char) > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) >= 3 * PyLong_SHIFT) {
+-                            return (char) (((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
++                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+                         }
+                     }
+                     break;
+                 case 4:
+-                    if (8 * sizeof(char) > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) >= 4 * PyLong_SHIFT) {
+-                            return (char) (((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
++                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+                         }
+                     }
+                     break;
+@@ -30779,83 +34049,87 @@ raise_neg_overflow:
+             {
+                 int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
+                 if (unlikely(result < 0))
+-                    return (char) -1;
++                    return (long) -1;
+                 if (unlikely(result == 1))
+                     goto raise_neg_overflow;
+             }
+ #endif
+-            if (sizeof(char) <= sizeof(unsigned long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(char, unsigned long, PyLong_AsUnsignedLong(x))
+-            } else if (sizeof(char) <= sizeof(unsigned PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(char, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++            if (sizeof(long) <= sizeof(unsigned long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+             const digit* digits = ((PyLongObject*)x)->ob_digit;
+             switch (Py_SIZE(x)) {
+-                case  0: return (char) 0;
+-                case -1: __PYX_VERIFY_RETURN_INT(char, sdigit, (sdigit) (-(sdigit)digits[0]))
+-                case  1: __PYX_VERIFY_RETURN_INT(char,  digit, +digits[0])
++                case  0: return (long) 0;
++                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
++                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
+                 case -2:
+-                    if (8 * sizeof(char) - 1 > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
+-                            return (char) (((char)-1)*(((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+                 case 2:
+-                    if (8 * sizeof(char) > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
+-                            return (char) ((((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+                 case -3:
+-                    if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
+-                            return (char) (((char)-1)*(((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+                 case 3:
+-                    if (8 * sizeof(char) > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
+-                            return (char) ((((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+                 case -4:
+-                    if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 4 * PyLong_SHIFT) {
+-                            return (char) (((char)-1)*(((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+                 case 4:
+-                    if (8 * sizeof(char) > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(char) - 1 > 4 * PyLong_SHIFT) {
+-                            return (char) ((((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
++                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+                         }
+                     }
+                     break;
+             }
+ #endif
+-            if (sizeof(char) <= sizeof(long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(char, long, PyLong_AsLong(x))
+-            } else if (sizeof(char) <= sizeof(PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(char, PY_LONG_LONG, PyLong_AsLongLong(x))
++            if (sizeof(long) <= sizeof(long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -30863,7 +34137,7 @@ raise_neg_overflow:
+             PyErr_SetString(PyExc_RuntimeError,
+                             "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
+ #else
+-            char val;
++            long val;
+             PyObject *v = __Pyx_PyNumber_IntOrLong(x);
+  #if PY_MAJOR_VERSION < 3
+             if (likely(v) && !PyLong_Check(v)) {
+@@ -30883,40 +34157,40 @@ raise_neg_overflow:
+                     return val;
+             }
+ #endif
+-            return (char) -1;
++            return (long) -1;
+         }
+     } else {
+-        char val;
++        long val;
+         PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+-        if (!tmp) return (char) -1;
+-        val = __Pyx_PyInt_As_char(tmp);
++        if (!tmp) return (long) -1;
++        val = __Pyx_PyInt_As_long(tmp);
+         Py_DECREF(tmp);
+         return val;
+     }
+ raise_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "value too large to convert to char");
+-    return (char) -1;
++        "value too large to convert to long");
++    return (long) -1;
+ raise_neg_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "can't convert negative value to char");
+-    return (char) -1;
++        "can't convert negative value to long");
++    return (long) -1;
+ }
+ 
+ /* CIntFromPy */
+-                  static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
+-    const long neg_one = (long) -1, const_zero = (long) 0;
++                static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) {
++    const char neg_one = (char) -1, const_zero = (char) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+     if (likely(PyInt_Check(x))) {
+-        if (sizeof(long) < sizeof(long)) {
+-            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
++        if (sizeof(char) < sizeof(long)) {
++            __PYX_VERIFY_RETURN_INT(char, long, PyInt_AS_LONG(x))
+         } else {
+             long val = PyInt_AS_LONG(x);
+             if (is_unsigned && unlikely(val < 0)) {
+                 goto raise_neg_overflow;
+             }
+-            return (long) val;
++            return (char) val;
+         }
+     } else
+ #endif
+@@ -30925,32 +34199,32 @@ raise_neg_overflow:
+ #if CYTHON_USE_PYLONG_INTERNALS
+             const digit* digits = ((PyLongObject*)x)->ob_digit;
+             switch (Py_SIZE(x)) {
+-                case  0: return (long) 0;
+-                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
++                case  0: return (char) 0;
++                case  1: __PYX_VERIFY_RETURN_INT(char, digit, digits[0])
+                 case 2:
+-                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
+-                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) >= 2 * PyLong_SHIFT) {
++                            return (char) (((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
+                         }
+                     }
+                     break;
+                 case 3:
+-                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
+-                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) >= 3 * PyLong_SHIFT) {
++                            return (char) (((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
+                         }
+                     }
+                     break;
+                 case 4:
+-                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
+-                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) >= 4 * PyLong_SHIFT) {
++                            return (char) (((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]));
+                         }
+                     }
+                     break;
+@@ -30964,83 +34238,87 @@ raise_neg_overflow:
+             {
+                 int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
+                 if (unlikely(result < 0))
+-                    return (long) -1;
++                    return (char) -1;
+                 if (unlikely(result == 1))
+                     goto raise_neg_overflow;
+             }
+ #endif
+-            if (sizeof(long) <= sizeof(unsigned long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
+-            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++            if (sizeof(char) <= sizeof(unsigned long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(char, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(char) <= sizeof(unsigned PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(char, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+             const digit* digits = ((PyLongObject*)x)->ob_digit;
+             switch (Py_SIZE(x)) {
+-                case  0: return (long) 0;
+-                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
+-                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
++                case  0: return (char) 0;
++                case -1: __PYX_VERIFY_RETURN_INT(char, sdigit, (sdigit) (-(sdigit)digits[0]))
++                case  1: __PYX_VERIFY_RETURN_INT(char,  digit, +digits[0])
+                 case -2:
+-                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) - 1 > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
++                            return (char) (((char)-1)*(((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+                 case 2:
+-                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 1 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+-                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
++                            return (char) ((((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+                 case -3:
+-                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) - 1 > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
++                            return (char) (((char)-1)*(((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+                 case 3:
+-                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 2 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+-                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
++                            return (char) ((((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+                 case -4:
+-                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) - 1 > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 4 * PyLong_SHIFT) {
++                            return (char) (((char)-1)*(((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+                 case 4:
+-                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
++                    if (8 * sizeof(char) > 3 * PyLong_SHIFT) {
+                         if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+-                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                            __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(char) - 1 > 4 * PyLong_SHIFT) {
++                            return (char) ((((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])));
+                         }
+                     }
+                     break;
+             }
+ #endif
+-            if (sizeof(long) <= sizeof(long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
+-            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
++            if (sizeof(char) <= sizeof(long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(char, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(char) <= sizeof(PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(char, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -31048,7 +34326,7 @@ raise_neg_overflow:
+             PyErr_SetString(PyExc_RuntimeError,
+                             "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
+ #else
+-            long val;
++            char val;
+             PyObject *v = __Pyx_PyNumber_IntOrLong(x);
+  #if PY_MAJOR_VERSION < 3
+             if (likely(v) && !PyLong_Check(v)) {
+@@ -31068,45 +34346,56 @@ raise_neg_overflow:
+                     return val;
+             }
+ #endif
+-            return (long) -1;
++            return (char) -1;
+         }
+     } else {
+-        long val;
++        char val;
+         PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+-        if (!tmp) return (long) -1;
+-        val = __Pyx_PyInt_As_long(tmp);
++        if (!tmp) return (char) -1;
++        val = __Pyx_PyInt_As_char(tmp);
+         Py_DECREF(tmp);
+         return val;
+     }
+ raise_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "value too large to convert to long");
+-    return (long) -1;
++        "value too large to convert to char");
++    return (char) -1;
+ raise_neg_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "can't convert negative value to long");
+-    return (long) -1;
++        "can't convert negative value to char");
++    return (char) -1;
+ }
+ 
+ /* PyObjectCallMethod1 */
+-                  static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
+-    PyObject *method, *result = NULL;
+-    method = __Pyx_PyObject_GetAttrStr(obj, method_name);
+-    if (unlikely(!method)) goto bad;
+-#if CYTHON_COMPILING_IN_CPYTHON
++                static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
++    PyObject *result = NULL;
++#if CYTHON_UNPACK_METHODS
+     if (likely(PyMethod_Check(method))) {
+         PyObject *self = PyMethod_GET_SELF(method);
+         if (likely(self)) {
+             PyObject *args;
+             PyObject *function = PyMethod_GET_FUNCTION(method);
++            #if CYTHON_FAST_PYCALL
++            if (PyFunction_Check(function)) {
++                PyObject *args[2] = {self, arg};
++                result = __Pyx_PyFunction_FastCall(function, args, 2);
++                goto done;
++            }
++            #endif
++            #if CYTHON_FAST_PYCCALL
++            if (__Pyx_PyFastCFunction_Check(function)) {
++                PyObject *args[2] = {self, arg};
++                result = __Pyx_PyCFunction_FastCall(function, args, 2);
++                goto done;
++            }
++            #endif
+             args = PyTuple_New(2);
+-            if (unlikely(!args)) goto bad;
++            if (unlikely(!args)) goto done;
+             Py_INCREF(self);
+             PyTuple_SET_ITEM(args, 0, self);
+             Py_INCREF(arg);
+             PyTuple_SET_ITEM(args, 1, arg);
+             Py_INCREF(function);
+-            Py_DECREF(method); method = NULL;
+             result = __Pyx_PyObject_Call(function, args, NULL);
+             Py_DECREF(args);
+             Py_DECREF(function);
+@@ -31115,24 +34404,26 @@ raise_neg_overflow:
+     }
+ #endif
+     result = __Pyx_PyObject_CallOneArg(method, arg);
+-bad:
+-    Py_XDECREF(method);
++    goto done;
++done:
++    return result;
++}
++static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
++    PyObject *method, *result;
++    method = __Pyx_PyObject_GetAttrStr(obj, method_name);
++    if (unlikely(!method)) return NULL;
++    result = __Pyx__PyObject_CallMethod1(method, arg);
++    Py_DECREF(method);
+     return result;
+ }
+ 
+ /* CoroutineBase */
+-                  #include 
++                #include 
+ #include 
+-static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value);
+-static PyObject *__Pyx_Coroutine_Close(PyObject *self);
+-static PyObject *__Pyx_Coroutine_Throw(PyObject *gen, PyObject *args);
+ #define __Pyx_Coroutine_Undelegate(gen) Py_CLEAR((gen)->yieldfrom)
+-#if 1 || PY_VERSION_HEX < 0x030300B0
+-static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue) {
++static int __Pyx_PyGen__FetchStopIterationValue(CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject **pvalue) {
+     PyObject *et, *ev, *tb;
+     PyObject *value = NULL;
+-    __Pyx_PyThreadState_declare
+-    __Pyx_PyThreadState_assign
+     __Pyx_ErrFetch(&et, &ev, &tb);
+     if (!et) {
+         Py_XDECREF(tb);
+@@ -31142,44 +34433,41 @@ static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue) {
+         return 0;
+     }
+     if (likely(et == PyExc_StopIteration)) {
++        if (!ev) {
++            Py_INCREF(Py_None);
++            value = Py_None;
++        }
+ #if PY_VERSION_HEX >= 0x030300A0
+-        if (ev && Py_TYPE(ev) == (PyTypeObject*)PyExc_StopIteration) {
++        else if (Py_TYPE(ev) == (PyTypeObject*)PyExc_StopIteration) {
+             value = ((PyStopIterationObject *)ev)->value;
+             Py_INCREF(value);
+             Py_DECREF(ev);
+-            Py_XDECREF(tb);
+-            Py_DECREF(et);
+-            *pvalue = value;
+-            return 0;
+         }
+ #endif
+-        if (!ev || !PyObject_TypeCheck(ev, (PyTypeObject*)PyExc_StopIteration)) {
+-            if (!ev) {
+-                Py_INCREF(Py_None);
+-                ev = Py_None;
+-            } else if (PyTuple_Check(ev)) {
+-                if (PyTuple_GET_SIZE(ev) >= 1) {
+-                    PyObject *value;
+-#if CYTHON_COMPILING_IN_CPYTHON
+-                    value = PySequence_ITEM(ev, 0);
++        else if (unlikely(PyTuple_Check(ev))) {
++            if (PyTuple_GET_SIZE(ev) >= 1) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++                value = PyTuple_GET_ITEM(ev, 0);
++                Py_INCREF(value);
+ #else
+-                    value = PyTuple_GET_ITEM(ev, 0);
+-                    Py_INCREF(value);
++                value = PySequence_ITEM(ev, 0);
+ #endif
+-                    Py_DECREF(ev);
+-                    ev = value;
+-                } else {
+-                    Py_INCREF(Py_None);
+-                    Py_DECREF(ev);
+-                    ev = Py_None;
+-                }
++            } else {
++                Py_INCREF(Py_None);
++                value = Py_None;
+             }
++            Py_DECREF(ev);
++        }
++        else if (!__Pyx_TypeCheck(ev, (PyTypeObject*)PyExc_StopIteration)) {
++            value = ev;
++        }
++        if (likely(value)) {
+             Py_XDECREF(tb);
+             Py_DECREF(et);
+-            *pvalue = ev;
++            *pvalue = value;
+             return 0;
+         }
+-    } else if (!PyErr_GivenExceptionMatches(et, PyExc_StopIteration)) {
++    } else if (!__Pyx_PyErr_GivenExceptionMatches(et, PyExc_StopIteration)) {
+         __Pyx_ErrRestore(et, ev, tb);
+         return -1;
+     }
+@@ -31212,7 +34500,6 @@ static int __Pyx_PyGen_FetchStopIterationValue(PyObject **pvalue) {
+     *pvalue = value;
+     return 0;
+ }
+-#endif
+ static CYTHON_INLINE
+ void __Pyx_Coroutine_ExceptionClear(__pyx_CoroutineObject *self) {
+     PyObject *exc_type = self->exc_type;
+@@ -31225,72 +34512,121 @@ void __Pyx_Coroutine_ExceptionClear(__pyx_CoroutineObject *self) {
+     Py_XDECREF(exc_value);
+     Py_XDECREF(exc_traceback);
+ }
+-static CYTHON_INLINE
+-int __Pyx_Coroutine_CheckRunning(__pyx_CoroutineObject *gen) {
+-    if (unlikely(gen->is_running)) {
+-        PyErr_SetString(PyExc_ValueError,
+-                        "generator already executing");
+-        return 1;
++#define __Pyx_Coroutine_AlreadyRunningError(gen)  (__Pyx__Coroutine_AlreadyRunningError(gen), (PyObject*)NULL)
++static void __Pyx__Coroutine_AlreadyRunningError(CYTHON_UNUSED __pyx_CoroutineObject *gen) {
++    const char *msg;
++    if (0) {
++    #ifdef __Pyx_Coroutine_USED
++    } else if (__Pyx_Coroutine_Check((PyObject*)gen)) {
++        msg = "coroutine already executing";
++    #endif
++    #ifdef __Pyx_AsyncGen_USED
++    } else if (__Pyx_AsyncGen_CheckExact((PyObject*)gen)) {
++        msg = "async generator already executing";
++    #endif
++    } else {
++        msg = "generator already executing";
+     }
+-    return 0;
++    PyErr_SetString(PyExc_ValueError, msg);
+ }
+-static CYTHON_INLINE
+-PyObject *__Pyx_Coroutine_SendEx(__pyx_CoroutineObject *self, PyObject *value) {
+-    PyObject *retval;
++#define __Pyx_Coroutine_NotStartedError(gen)  (__Pyx__Coroutine_NotStartedError(gen), (PyObject*)NULL)
++static void __Pyx__Coroutine_NotStartedError(CYTHON_UNUSED PyObject *gen) {
++    const char *msg;
++    if (0) {
++    #ifdef __Pyx_Coroutine_USED
++    } else if (__Pyx_Coroutine_Check(gen)) {
++        msg = "can't send non-None value to a just-started coroutine";
++    #endif
++    #ifdef __Pyx_AsyncGen_USED
++    } else if (__Pyx_AsyncGen_CheckExact(gen)) {
++        msg = "can't send non-None value to a just-started async generator";
++    #endif
++    } else {
++        msg = "can't send non-None value to a just-started generator";
++    }
++    PyErr_SetString(PyExc_TypeError, msg);
++}
++#define __Pyx_Coroutine_AlreadyTerminatedError(gen, value, closing)  (__Pyx__Coroutine_AlreadyTerminatedError(gen, value, closing), (PyObject*)NULL)
++static void __Pyx__Coroutine_AlreadyTerminatedError(CYTHON_UNUSED PyObject *gen, PyObject *value, CYTHON_UNUSED int closing) {
++    #ifdef __Pyx_Coroutine_USED
++    if (!closing && __Pyx_Coroutine_Check(gen)) {
++        PyErr_SetString(PyExc_RuntimeError, "cannot reuse already awaited coroutine");
++    } else
++    #endif
++    if (value) {
++        #ifdef __Pyx_AsyncGen_USED
++        if (__Pyx_AsyncGen_CheckExact(gen))
++            PyErr_SetNone(__Pyx_PyExc_StopAsyncIteration);
++        else
++        #endif
++        PyErr_SetNone(PyExc_StopIteration);
++    }
++}
++static
++PyObject *__Pyx_Coroutine_SendEx(__pyx_CoroutineObject *self, PyObject *value, int closing) {
+     __Pyx_PyThreadState_declare
++    PyThreadState *tstate;
++    PyObject *retval;
+     assert(!self->is_running);
+     if (unlikely(self->resume_label == 0)) {
+         if (unlikely(value && value != Py_None)) {
+-            PyErr_SetString(PyExc_TypeError,
+-                            "can't send non-None value to a "
+-                            "just-started generator");
+-            return NULL;
++            return __Pyx_Coroutine_NotStartedError((PyObject*)self);
+         }
+     }
+     if (unlikely(self->resume_label == -1)) {
+-        PyErr_SetNone(PyExc_StopIteration);
+-        return NULL;
++        return __Pyx_Coroutine_AlreadyTerminatedError((PyObject*)self, value, closing);
+     }
++#if CYTHON_FAST_THREAD_STATE
+     __Pyx_PyThreadState_assign
+-    if (value) {
+-#if CYTHON_COMPILING_IN_PYPY
++    tstate = __pyx_tstate;
++#else
++    tstate = __Pyx_PyThreadState_Current;
++#endif
++    if (self->exc_type) {
++#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON
+ #else
+         if (self->exc_traceback) {
+             PyTracebackObject *tb = (PyTracebackObject *) self->exc_traceback;
+             PyFrameObject *f = tb->tb_frame;
+-            Py_XINCREF(__pyx_tstate->frame);
++            Py_XINCREF(tstate->frame);
+             assert(f->f_back == NULL);
+-            f->f_back = __pyx_tstate->frame;
++            f->f_back = tstate->frame;
+         }
+ #endif
+         __Pyx_ExceptionSwap(&self->exc_type, &self->exc_value,
+                             &self->exc_traceback);
+     } else {
+         __Pyx_Coroutine_ExceptionClear(self);
++        __Pyx_ExceptionSave(&self->exc_type, &self->exc_value, &self->exc_traceback);
+     }
+     self->is_running = 1;
+-    retval = self->body((PyObject *) self, value);
++    retval = self->body((PyObject *) self, tstate, value);
+     self->is_running = 0;
+-    if (retval) {
+-        __Pyx_ExceptionSwap(&self->exc_type, &self->exc_value,
+-                            &self->exc_traceback);
+-#if CYTHON_COMPILING_IN_PYPY
++    return retval;
++}
++static CYTHON_INLINE void __Pyx_Coroutine_ResetFrameBackpointer(__pyx_CoroutineObject *self) {
++    if (likely(self->exc_traceback)) {
++#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_PYSTON
+ #else
+-        if (self->exc_traceback) {
+-            PyTracebackObject *tb = (PyTracebackObject *) self->exc_traceback;
+-            PyFrameObject *f = tb->tb_frame;
+-            Py_CLEAR(f->f_back);
+-        }
++        PyTracebackObject *tb = (PyTracebackObject *) self->exc_traceback;
++        PyFrameObject *f = tb->tb_frame;
++        Py_CLEAR(f->f_back);
+ #endif
+-    } else {
+-        __Pyx_Coroutine_ExceptionClear(self);
+     }
+-    return retval;
+ }
+ static CYTHON_INLINE
+-PyObject *__Pyx_Coroutine_MethodReturn(PyObject *retval) {
+-    if (unlikely(!retval && !PyErr_Occurred())) {
+-        PyErr_SetNone(PyExc_StopIteration);
++PyObject *__Pyx_Coroutine_MethodReturn(CYTHON_UNUSED PyObject* gen, PyObject *retval) {
++    if (unlikely(!retval)) {
++        __Pyx_PyThreadState_declare
++        __Pyx_PyThreadState_assign
++        if (!__Pyx_PyErr_Occurred()) {
++            PyObject *exc = PyExc_StopIteration;
++            #ifdef __Pyx_AsyncGen_USED
++            if (__Pyx_AsyncGen_CheckExact(gen))
++                exc = __Pyx_PyExc_StopAsyncIteration;
++            #endif
++            __Pyx_PyErr_SetNone(exc);
++        }
+     }
+     return retval;
+ }
+@@ -31299,8 +34635,8 @@ PyObject *__Pyx_Coroutine_FinishDelegation(__pyx_CoroutineObject *gen) {
+     PyObject *ret;
+     PyObject *val = NULL;
+     __Pyx_Coroutine_Undelegate(gen);
+-    __Pyx_PyGen_FetchStopIterationValue(&val);
+-    ret = __Pyx_Coroutine_SendEx(gen, val);
++    __Pyx_PyGen__FetchStopIterationValue(__Pyx_PyThreadState_Current, &val);
++    ret = __Pyx_Coroutine_SendEx(gen, val, 0);
+     Py_XDECREF(val);
+     return ret;
+ }
+@@ -31308,8 +34644,8 @@ static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) {
+     PyObject *retval;
+     __pyx_CoroutineObject *gen = (__pyx_CoroutineObject*) self;
+     PyObject *yf = gen->yieldfrom;
+-    if (unlikely(__Pyx_Coroutine_CheckRunning(gen)))
+-        return NULL;
++    if (unlikely(gen->is_running))
++        return __Pyx_Coroutine_AlreadyRunningError(gen);
+     if (yf) {
+         PyObject *ret;
+         gen->is_running = 1;
+@@ -31319,10 +34655,25 @@ static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) {
+         } else
+         #endif
+         #ifdef __Pyx_Coroutine_USED
+-        if (__Pyx_Coroutine_CheckExact(yf)) {
++        if (__Pyx_Coroutine_Check(yf)) {
+             ret = __Pyx_Coroutine_Send(yf, value);
+         } else
+         #endif
++        #ifdef __Pyx_AsyncGen_USED
++        if (__pyx_PyAsyncGenASend_CheckExact(yf)) {
++            ret = __Pyx_async_gen_asend_send(yf, value);
++        } else
++        #endif
++        #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03030000 && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3)
++        if (PyGen_CheckExact(yf)) {
++            ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
++        } else
++        #endif
++        #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03050000 && defined(PyCoro_CheckExact) && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3)
++        if (PyCoro_CheckExact(yf)) {
++            ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
++        } else
++        #endif
+         {
+             if (value == Py_None)
+                 ret = Py_TYPE(yf)->tp_iternext(yf);
+@@ -31335,9 +34686,9 @@ static PyObject *__Pyx_Coroutine_Send(PyObject *self, PyObject *value) {
+         }
+         retval = __Pyx_Coroutine_FinishDelegation(gen);
+     } else {
+-        retval = __Pyx_Coroutine_SendEx(gen, value);
++        retval = __Pyx_Coroutine_SendEx(gen, value, 0);
+     }
+-    return __Pyx_Coroutine_MethodReturn(retval);
++    return __Pyx_Coroutine_MethodReturn(self, retval);
+ }
+ static int __Pyx_Coroutine_CloseIter(__pyx_CoroutineObject *gen, PyObject *yf) {
+     PyObject *retval = NULL;
+@@ -31350,11 +34701,24 @@ static int __Pyx_Coroutine_CloseIter(__pyx_CoroutineObject *gen, PyObject *yf) {
+     } else
+     #endif
+     #ifdef __Pyx_Coroutine_USED
+-    if (__Pyx_Coroutine_CheckExact(yf)) {
++    if (__Pyx_Coroutine_Check(yf)) {
+         retval = __Pyx_Coroutine_Close(yf);
+         if (!retval)
+             return -1;
+     } else
++    if (__Pyx_CoroutineAwait_CheckExact(yf)) {
++        retval = __Pyx_CoroutineAwait_Close((__pyx_CoroutineAwaitObject*)yf);
++        if (!retval)
++            return -1;
++    } else
++    #endif
++    #ifdef __Pyx_AsyncGen_USED
++    if (__pyx_PyAsyncGenASend_CheckExact(yf)) {
++        retval = __Pyx_async_gen_asend_close(yf, NULL);
++    } else
++    if (__pyx_PyAsyncGenAThrow_CheckExact(yf)) {
++        retval = __Pyx_async_gen_athrow_close(yf, NULL);
++    } else
+     #endif
+     {
+         PyObject *meth;
+@@ -31379,27 +34743,42 @@ static int __Pyx_Coroutine_CloseIter(__pyx_CoroutineObject *gen, PyObject *yf) {
+ static PyObject *__Pyx_Generator_Next(PyObject *self) {
+     __pyx_CoroutineObject *gen = (__pyx_CoroutineObject*) self;
+     PyObject *yf = gen->yieldfrom;
+-    if (unlikely(__Pyx_Coroutine_CheckRunning(gen)))
+-        return NULL;
++    if (unlikely(gen->is_running))
++        return __Pyx_Coroutine_AlreadyRunningError(gen);
+     if (yf) {
+         PyObject *ret;
+         gen->is_running = 1;
+-        ret = Py_TYPE(yf)->tp_iternext(yf);
++        #ifdef __Pyx_Generator_USED
++        if (__Pyx_Generator_CheckExact(yf)) {
++            ret = __Pyx_Generator_Next(yf);
++        } else
++        #endif
++        #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03030000 && (defined(__linux__) || PY_VERSION_HEX >= 0x030600B3)
++        if (PyGen_CheckExact(yf)) {
++            ret = _PyGen_Send((PyGenObject*)yf, NULL);
++        } else
++        #endif
++        #ifdef __Pyx_Coroutine_USED
++        if (__Pyx_Coroutine_Check(yf)) {
++            ret = __Pyx_Coroutine_Send(yf, Py_None);
++        } else
++        #endif
++            ret = Py_TYPE(yf)->tp_iternext(yf);
+         gen->is_running = 0;
+         if (likely(ret)) {
+             return ret;
+         }
+         return __Pyx_Coroutine_FinishDelegation(gen);
+     }
+-    return __Pyx_Coroutine_SendEx(gen, Py_None);
++    return __Pyx_Coroutine_SendEx(gen, Py_None, 0);
+ }
+ static PyObject *__Pyx_Coroutine_Close(PyObject *self) {
+     __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self;
+     PyObject *retval, *raised_exception;
+     PyObject *yf = gen->yieldfrom;
+     int err = 0;
+-    if (unlikely(__Pyx_Coroutine_CheckRunning(gen)))
+-        return NULL;
++    if (unlikely(gen->is_running))
++        return __Pyx_Coroutine_AlreadyRunningError(gen);
+     if (yf) {
+         Py_INCREF(yf);
+         err = __Pyx_Coroutine_CloseIter(gen, yf);
+@@ -31408,59 +34787,69 @@ static PyObject *__Pyx_Coroutine_Close(PyObject *self) {
+     }
+     if (err == 0)
+         PyErr_SetNone(PyExc_GeneratorExit);
+-    retval = __Pyx_Coroutine_SendEx(gen, NULL);
+-    if (retval) {
++    retval = __Pyx_Coroutine_SendEx(gen, NULL, 1);
++    if (unlikely(retval)) {
++        const char *msg;
+         Py_DECREF(retval);
+-        PyErr_SetString(PyExc_RuntimeError,
+-                        "generator ignored GeneratorExit");
++        if ((0)) {
++        #ifdef __Pyx_Coroutine_USED
++        } else if (__Pyx_Coroutine_Check(self)) {
++            msg = "coroutine ignored GeneratorExit";
++        #endif
++        #ifdef __Pyx_AsyncGen_USED
++        } else if (__Pyx_AsyncGen_CheckExact(self)) {
++#if PY_VERSION_HEX < 0x03060000
++            msg = "async generator ignored GeneratorExit - might require Python 3.6+ finalisation (PEP 525)";
++#else
++            msg = "async generator ignored GeneratorExit";
++#endif
++        #endif
++        } else {
++            msg = "generator ignored GeneratorExit";
++        }
++        PyErr_SetString(PyExc_RuntimeError, msg);
+         return NULL;
+     }
+     raised_exception = PyErr_Occurred();
+-    if (!raised_exception
+-        || raised_exception == PyExc_StopIteration
+-        || raised_exception == PyExc_GeneratorExit
+-        || PyErr_GivenExceptionMatches(raised_exception, PyExc_GeneratorExit)
+-        || PyErr_GivenExceptionMatches(raised_exception, PyExc_StopIteration))
+-    {
++    if (likely(!raised_exception || __Pyx_PyErr_GivenExceptionMatches2(raised_exception, PyExc_GeneratorExit, PyExc_StopIteration))) {
+         if (raised_exception) PyErr_Clear();
+         Py_INCREF(Py_None);
+         return Py_None;
+     }
+     return NULL;
+ }
+-static PyObject *__Pyx_Coroutine_Throw(PyObject *self, PyObject *args) {
++static PyObject *__Pyx__Coroutine_Throw(PyObject *self, PyObject *typ, PyObject *val, PyObject *tb,
++                                        PyObject *args, int close_on_genexit) {
+     __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self;
+-    PyObject *typ;
+-    PyObject *tb = NULL;
+-    PyObject *val = NULL;
+     PyObject *yf = gen->yieldfrom;
+-    if (!PyArg_UnpackTuple(args, (char *)"throw", 1, 3, &typ, &val, &tb))
+-        return NULL;
+-    if (unlikely(__Pyx_Coroutine_CheckRunning(gen)))
+-        return NULL;
++    if (unlikely(gen->is_running))
++        return __Pyx_Coroutine_AlreadyRunningError(gen);
+     if (yf) {
+         PyObject *ret;
+         Py_INCREF(yf);
+-        if (PyErr_GivenExceptionMatches(typ, PyExc_GeneratorExit)) {
++        if (__Pyx_PyErr_GivenExceptionMatches(typ, PyExc_GeneratorExit) && close_on_genexit) {
+             int err = __Pyx_Coroutine_CloseIter(gen, yf);
+             Py_DECREF(yf);
+             __Pyx_Coroutine_Undelegate(gen);
+             if (err < 0)
+-                return __Pyx_Coroutine_MethodReturn(__Pyx_Coroutine_SendEx(gen, NULL));
++                return __Pyx_Coroutine_MethodReturn(self, __Pyx_Coroutine_SendEx(gen, NULL, 0));
+             goto throw_here;
+         }
+         gen->is_running = 1;
++        if (0
+         #ifdef __Pyx_Generator_USED
+-        if (__Pyx_Generator_CheckExact(yf)) {
+-            ret = __Pyx_Coroutine_Throw(yf, args);
+-        } else
++            || __Pyx_Generator_CheckExact(yf)
+         #endif
+         #ifdef __Pyx_Coroutine_USED
+-        if (__Pyx_Coroutine_CheckExact(yf)) {
+-            ret = __Pyx_Coroutine_Throw(yf, args);
+-        } else
++            || __Pyx_Coroutine_Check(yf)
+         #endif
+-        {
++            ) {
++            ret = __Pyx__Coroutine_Throw(yf, typ, val, tb, args, close_on_genexit);
++        #ifdef __Pyx_Coroutine_USED
++        } else if (__Pyx_CoroutineAwait_CheckExact(yf)) {
++            ret = __Pyx__Coroutine_Throw(((__pyx_CoroutineAwaitObject*)yf)->coroutine, typ, val, tb, args, close_on_genexit);
++        #endif
++        } else {
+             PyObject *meth = __Pyx_PyObject_GetAttrStr(yf, __pyx_n_s_throw);
+             if (unlikely(!meth)) {
+                 Py_DECREF(yf);
+@@ -31473,7 +34862,11 @@ static PyObject *__Pyx_Coroutine_Throw(PyObject *self, PyObject *args) {
+                 gen->is_running = 0;
+                 goto throw_here;
+             }
+-            ret = PyObject_CallObject(meth, args);
++            if (likely(args)) {
++                ret = PyObject_CallObject(meth, args);
++            } else {
++                ret = PyObject_CallFunctionObjArgs(meth, typ, val, tb, NULL);
++            }
+             Py_DECREF(meth);
+         }
+         gen->is_running = 0;
+@@ -31481,14 +34874,21 @@ static PyObject *__Pyx_Coroutine_Throw(PyObject *self, PyObject *args) {
+         if (!ret) {
+             ret = __Pyx_Coroutine_FinishDelegation(gen);
+         }
+-        return __Pyx_Coroutine_MethodReturn(ret);
++        return __Pyx_Coroutine_MethodReturn(self, ret);
+     }
+ throw_here:
+     __Pyx_Raise(typ, val, tb, NULL);
+-    return __Pyx_Coroutine_MethodReturn(__Pyx_Coroutine_SendEx(gen, NULL));
++    return __Pyx_Coroutine_MethodReturn(self, __Pyx_Coroutine_SendEx(gen, NULL, 0));
+ }
+-static int __Pyx_Coroutine_traverse(PyObject *self, visitproc visit, void *arg) {
+-    __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self;
++static PyObject *__Pyx_Coroutine_Throw(PyObject *self, PyObject *args) {
++    PyObject *typ;
++    PyObject *val = NULL;
++    PyObject *tb = NULL;
++    if (!PyArg_UnpackTuple(args, (char *)"throw", 1, 3, &typ, &val, &tb))
++        return NULL;
++    return __Pyx__Coroutine_Throw(self, typ, val, tb, args, 1);
++}
++static int __Pyx_Coroutine_traverse(__pyx_CoroutineObject *gen, visitproc visit, void *arg) {
+     Py_VISIT(gen->closure);
+     Py_VISIT(gen->classobj);
+     Py_VISIT(gen->yieldfrom);
+@@ -31505,8 +34905,15 @@ static int __Pyx_Coroutine_clear(PyObject *self) {
+     Py_CLEAR(gen->exc_type);
+     Py_CLEAR(gen->exc_value);
+     Py_CLEAR(gen->exc_traceback);
++#ifdef __Pyx_AsyncGen_USED
++    if (__Pyx_AsyncGen_CheckExact(self)) {
++        Py_CLEAR(((__pyx_PyAsyncGenObject*)gen)->ag_finalizer);
++    }
++#endif
++    Py_CLEAR(gen->gi_code);
+     Py_CLEAR(gen->gi_name);
+     Py_CLEAR(gen->gi_qualname);
++    Py_CLEAR(gen->gi_modulename);
+     return 0;
+ }
+ static void __Pyx_Coroutine_dealloc(PyObject *self) {
+@@ -31514,9 +34921,9 @@ static void __Pyx_Coroutine_dealloc(PyObject *self) {
+     PyObject_GC_UnTrack(gen);
+     if (gen->gi_weakreflist != NULL)
+         PyObject_ClearWeakRefs(self);
+-    if (gen->resume_label > 0) {
++    if (gen->resume_label >= 0) {
+         PyObject_GC_Track(self);
+-#if PY_VERSION_HEX >= 0x030400a1
++#if PY_VERSION_HEX >= 0x030400a1 && CYTHON_USE_TP_FINALIZE
+         if (PyObject_CallFinalizerFromDealloc(self))
+ #else
+         Py_TYPE(gen)->tp_del(self);
+@@ -31527,29 +34934,93 @@ static void __Pyx_Coroutine_dealloc(PyObject *self) {
+         }
+         PyObject_GC_UnTrack(self);
+     }
++#ifdef __Pyx_AsyncGen_USED
++    if (__Pyx_AsyncGen_CheckExact(self)) {
++        /* We have to handle this case for asynchronous generators
++           right here, because this code has to be between UNTRACK
++           and GC_Del. */
++        Py_CLEAR(((__pyx_PyAsyncGenObject*)self)->ag_finalizer);
++    }
++#endif
+     __Pyx_Coroutine_clear(self);
+     PyObject_GC_Del(gen);
+ }
+ static void __Pyx_Coroutine_del(PyObject *self) {
+-    PyObject *res;
+     PyObject *error_type, *error_value, *error_traceback;
+     __pyx_CoroutineObject *gen = (__pyx_CoroutineObject *) self;
+     __Pyx_PyThreadState_declare
+-    if (gen->resume_label <= 0)
+-        return ;
+-#if PY_VERSION_HEX < 0x030400a1
++    if (gen->resume_label < 0) {
++        return;
++    }
++#if !CYTHON_USE_TP_FINALIZE
+     assert(self->ob_refcnt == 0);
+     self->ob_refcnt = 1;
+ #endif
+     __Pyx_PyThreadState_assign
+     __Pyx_ErrFetch(&error_type, &error_value, &error_traceback);
+-    res = __Pyx_Coroutine_Close(self);
+-    if (res == NULL)
+-        PyErr_WriteUnraisable(self);
+-    else
+-        Py_DECREF(res);
++#ifdef __Pyx_AsyncGen_USED
++    if (__Pyx_AsyncGen_CheckExact(self)) {
++        __pyx_PyAsyncGenObject *agen = (__pyx_PyAsyncGenObject*)self;
++        PyObject *finalizer = agen->ag_finalizer;
++        if (finalizer && !agen->ag_closed) {
++            PyObject *res = __Pyx_PyObject_CallOneArg(finalizer, self);
++            if (unlikely(!res)) {
++                PyErr_WriteUnraisable(self);
++            } else {
++                Py_DECREF(res);
++            }
++            __Pyx_ErrRestore(error_type, error_value, error_traceback);
++            return;
++        }
++    }
++#endif
++    if (unlikely(gen->resume_label == 0 && !error_value)) {
++#ifdef __Pyx_Coroutine_USED
++#ifdef __Pyx_Generator_USED
++    if (!__Pyx_Generator_CheckExact(self))
++#endif
++        {
++        PyObject_GC_UnTrack(self);
++#if PY_MAJOR_VERSION >= 3  || defined(PyErr_WarnFormat)
++        if (unlikely(PyErr_WarnFormat(PyExc_RuntimeWarning, 1, "coroutine '%.50S' was never awaited", gen->gi_qualname) < 0))
++            PyErr_WriteUnraisable(self);
++#else
++        {PyObject *msg;
++        char *cmsg;
++        #if CYTHON_COMPILING_IN_PYPY
++        msg = NULL;
++        cmsg = (char*) "coroutine was never awaited";
++        #else
++        char *cname;
++        PyObject *qualname;
++        qualname = gen->gi_qualname;
++        cname = PyString_AS_STRING(qualname);
++        msg = PyString_FromFormat("coroutine '%.50s' was never awaited", cname);
++        if (unlikely(!msg)) {
++            PyErr_Clear();
++            cmsg = (char*) "coroutine was never awaited";
++        } else {
++            cmsg = PyString_AS_STRING(msg);
++        }
++        #endif
++        if (unlikely(PyErr_WarnEx(PyExc_RuntimeWarning, cmsg, 1) < 0))
++            PyErr_WriteUnraisable(self);
++        Py_XDECREF(msg);}
++#endif
++        PyObject_GC_Track(self);
++        }
++#endif
++    } else {
++        PyObject *res = __Pyx_Coroutine_Close(self);
++        if (unlikely(!res)) {
++            if (PyErr_Occurred())
++                PyErr_WriteUnraisable(self);
++        } else {
++            Py_DECREF(res);
++        }
++    }
+     __Pyx_ErrRestore(error_type, error_value, error_traceback);
+-#if PY_VERSION_HEX < 0x030400a1
++#if !CYTHON_USE_TP_FINALIZE
+     assert(self->ob_refcnt > 0);
+     if (--self->ob_refcnt == 0) {
+         return;
+@@ -31573,8 +35044,10 @@ static void __Pyx_Coroutine_del(PyObject *self) {
+ static PyObject *
+ __Pyx_Coroutine_get_name(__pyx_CoroutineObject *self)
+ {
+-    Py_INCREF(self->gi_name);
+-    return self->gi_name;
++    PyObject *name = self->gi_name;
++    if (unlikely(!name)) name = Py_None;
++    Py_INCREF(name);
++    return name;
+ }
+ static int
+ __Pyx_Coroutine_set_name(__pyx_CoroutineObject *self, PyObject *value)
+@@ -31598,8 +35071,10 @@ __Pyx_Coroutine_set_name(__pyx_CoroutineObject *self, PyObject *value)
+ static PyObject *
+ __Pyx_Coroutine_get_qualname(__pyx_CoroutineObject *self)
+ {
+-    Py_INCREF(self->gi_qualname);
+-    return self->gi_qualname;
++    PyObject *name = self->gi_qualname;
++    if (unlikely(!name)) name = Py_None;
++    Py_INCREF(name);
++    return name;
+ }
+ static int
+ __Pyx_Coroutine_set_qualname(__pyx_CoroutineObject *self, PyObject *value)
+@@ -31620,11 +35095,17 @@ __Pyx_Coroutine_set_qualname(__pyx_CoroutineObject *self, PyObject *value)
+     Py_XDECREF(tmp);
+     return 0;
+ }
+-static __pyx_CoroutineObject *__Pyx__Coroutine_New(PyTypeObject* type, __pyx_coroutine_body_t body,
+-                                                   PyObject *closure, PyObject *name, PyObject *qualname) {
++static __pyx_CoroutineObject *__Pyx__Coroutine_New(
++            PyTypeObject* type, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure,
++            PyObject *name, PyObject *qualname, PyObject *module_name) {
+     __pyx_CoroutineObject *gen = PyObject_GC_New(__pyx_CoroutineObject, type);
+-    if (gen == NULL)
++    if (unlikely(!gen))
+         return NULL;
++    return __Pyx__Coroutine_NewInit(gen, body, code, closure, name, qualname, module_name);
++}
++static __pyx_CoroutineObject *__Pyx__Coroutine_NewInit(
++            __pyx_CoroutineObject *gen, __pyx_coroutine_body_t body, PyObject *code, PyObject *closure,
++            PyObject *name, PyObject *qualname, PyObject *module_name) {
+     gen->body = body;
+     gen->closure = closure;
+     Py_XINCREF(closure);
+@@ -31640,12 +35121,16 @@ static __pyx_CoroutineObject *__Pyx__Coroutine_New(PyTypeObject* type, __pyx_cor
+     gen->gi_qualname = qualname;
+     Py_XINCREF(name);
+     gen->gi_name = name;
++    Py_XINCREF(module_name);
++    gen->gi_modulename = module_name;
++    Py_XINCREF(code);
++    gen->gi_code = code;
+     PyObject_GC_Track(gen);
+     return gen;
+ }
+ 
+ /* PatchModuleWithCoroutine */
+-                      static PyObject* __Pyx_Coroutine_patch_module(PyObject* module, const char* py_code) {
++                    static PyObject* __Pyx_Coroutine_patch_module(PyObject* module, const char* py_code) {
+ #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
+     int result;
+     PyObject *globals, *result_obj;
+@@ -31685,7 +35170,10 @@ ignore:
+ }
+ 
+ /* PatchGeneratorABC */
+-                      #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
++                    #ifndef CYTHON_REGISTER_ABCS
++#define CYTHON_REGISTER_ABCS 1
++#endif
++#if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
+ static PyObject* __Pyx_patch_abc_module(PyObject *module);
+ static PyObject* __Pyx_patch_abc_module(PyObject *module) {
+     module = __Pyx_Coroutine_patch_module(
+@@ -31705,13 +35193,13 @@ static PyObject* __Pyx_patch_abc_module(PyObject *module) {
+ static int __Pyx_patch_abc(void) {
+ #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
+     static int abc_patched = 0;
+-    if (!abc_patched) {
++    if (CYTHON_REGISTER_ABCS && !abc_patched) {
+         PyObject *module;
+-        module = PyImport_ImportModule((PY_VERSION_HEX >= 0x03030000) ? "collections.abc" : "collections");
++        module = PyImport_ImportModule((PY_MAJOR_VERSION >= 3) ? "collections.abc" : "collections");
+         if (!module) {
+             PyErr_WriteUnraisable(NULL);
+             if (unlikely(PyErr_WarnEx(PyExc_RuntimeWarning,
+-                    ((PY_VERSION_HEX >= 0x03030000) ?
++                    ((PY_MAJOR_VERSION >= 3) ?
+                         "Cython module failed to register with collections.abc module" :
+                         "Cython module failed to register with collections module"), 1) < 0)) {
+                 return -1;
+@@ -31733,13 +35221,13 @@ static int __Pyx_patch_abc(void) {
+         }
+     }
+ #else
+-    if (0) __Pyx_Coroutine_patch_module(NULL, NULL);
++    if ((0)) __Pyx_Coroutine_patch_module(NULL, NULL);
+ #endif
+     return 0;
+ }
+ 
+ /* Generator */
+-                      static PyMethodDef __pyx_Generator_methods[] = {
++                    static PyMethodDef __pyx_Generator_methods[] = {
+     {"send", (PyCFunction) __Pyx_Coroutine_Send, METH_O,
+      (char*) PyDoc_STR("send(arg) -> send 'arg' into generator,\nreturn next yielded value or raise StopIteration.")},
+     {"throw", (PyCFunction) __Pyx_Coroutine_Throw, METH_VARARGS,
+@@ -31752,6 +35240,7 @@ static PyMemberDef __pyx_Generator_memberlist[] = {
+     {(char *) "gi_running", T_BOOL, offsetof(__pyx_CoroutineObject, is_running), READONLY, NULL},
+     {(char*) "gi_yieldfrom", T_OBJECT, offsetof(__pyx_CoroutineObject, yieldfrom), READONLY,
+      (char*) PyDoc_STR("object being iterated by 'yield from', or None")},
++    {(char*) "gi_code", T_OBJECT, offsetof(__pyx_CoroutineObject, gi_code), READONLY, NULL},
+     {0, 0, 0, 0, 0}
+ };
+ static PyGetSetDef __pyx_Generator_getsets[] = {
+@@ -31807,18 +35296,20 @@ static PyTypeObject __pyx_GeneratorType_type = {
+     0,
+     0,
+     0,
+-#if PY_VERSION_HEX >= 0x030400a1
++#if CYTHON_USE_TP_FINALIZE
+     0,
+ #else
+     __Pyx_Coroutine_del,
+ #endif
+     0,
+-#if PY_VERSION_HEX >= 0x030400a1
++#if CYTHON_USE_TP_FINALIZE
+     __Pyx_Coroutine_del,
++#elif PY_VERSION_HEX >= 0x030400a1
++    0,
+ #endif
+ };
+ static int __pyx_Generator_init(void) {
+-    __pyx_GeneratorType_type.tp_getattro = PyObject_GenericGetAttr;
++    __pyx_GeneratorType_type.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
+     __pyx_GeneratorType_type.tp_iter = PyObject_SelfIter;
+     __pyx_GeneratorType = __Pyx_FetchCommonType(&__pyx_GeneratorType_type);
+     if (unlikely(!__pyx_GeneratorType)) {
+@@ -31828,7 +35319,7 @@ static int __pyx_Generator_init(void) {
+ }
+ 
+ /* CheckBinaryVersion */
+-                      static int __Pyx_check_binary_version(void) {
++                    static int __Pyx_check_binary_version(void) {
+     char ctversion[4], rtversion[4];
+     PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
+     PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
+@@ -31844,7 +35335,7 @@ static int __pyx_Generator_init(void) {
+ }
+ 
+ /* ModuleImport */
+-                      #ifndef __PYX_HAVE_RT_ImportModule
++                    #ifndef __PYX_HAVE_RT_ImportModule
+ #define __PYX_HAVE_RT_ImportModule
+ static PyObject *__Pyx_ImportModule(const char *name) {
+     PyObject *py_name = 0;
+@@ -31862,7 +35353,7 @@ bad:
+ #endif
+ 
+ /* TypeImport */
+-                      #ifndef __PYX_HAVE_RT_ImportType
++                    #ifndef __PYX_HAVE_RT_ImportType
+ #define __PYX_HAVE_RT_ImportType
+ static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
+     size_t size, int strict)
+@@ -31927,7 +35418,7 @@ bad:
+ #endif
+ 
+ /* InitStrings */
+-                      static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
++                    static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
+     while (t->p) {
+         #if PY_MAJOR_VERSION < 3
+         if (t->is_unicode) {
+@@ -31952,6 +35443,8 @@ bad:
+         #endif
+         if (!*t->p)
+             return -1;
++        if (PyObject_Hash(*t->p) == -1)
++            return -1;
+         ++t;
+     }
+     return 0;
+@@ -31960,50 +35453,57 @@ bad:
+ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
+     return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
+ }
+-static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
++static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
+     Py_ssize_t ignore;
+     return __Pyx_PyObject_AsStringAndSize(o, &ignore);
+ }
+-static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
+-#if CYTHON_COMPILING_IN_CPYTHON && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
+-    if (
+-#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-            __Pyx_sys_getdefaultencoding_not_ascii &&
+-#endif
+-            PyUnicode_Check(o)) {
+-#if PY_VERSION_HEX < 0x03030000
+-        char* defenc_c;
+-        PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
+-        if (!defenc) return NULL;
+-        defenc_c = PyBytes_AS_STRING(defenc);
++#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
++#if !CYTHON_PEP393_ENABLED
++static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++    char* defenc_c;
++    PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
++    if (!defenc) return NULL;
++    defenc_c = PyBytes_AS_STRING(defenc);
+ #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-        {
+-            char* end = defenc_c + PyBytes_GET_SIZE(defenc);
+-            char* c;
+-            for (c = defenc_c; c < end; c++) {
+-                if ((unsigned char) (*c) >= 128) {
+-                    PyUnicode_AsASCIIString(o);
+-                    return NULL;
+-                }
++    {
++        char* end = defenc_c + PyBytes_GET_SIZE(defenc);
++        char* c;
++        for (c = defenc_c; c < end; c++) {
++            if ((unsigned char) (*c) >= 128) {
++                PyUnicode_AsASCIIString(o);
++                return NULL;
+             }
+         }
++    }
+ #endif
+-        *length = PyBytes_GET_SIZE(defenc);
+-        return defenc_c;
++    *length = PyBytes_GET_SIZE(defenc);
++    return defenc_c;
++}
+ #else
+-        if (__Pyx_PyUnicode_READY(o) == -1) return NULL;
++static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
+ #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-        if (PyUnicode_IS_ASCII(o)) {
+-            *length = PyUnicode_GET_LENGTH(o);
+-            return PyUnicode_AsUTF8(o);
+-        } else {
+-            PyUnicode_AsASCIIString(o);
+-            return NULL;
+-        }
++    if (likely(PyUnicode_IS_ASCII(o))) {
++        *length = PyUnicode_GET_LENGTH(o);
++        return PyUnicode_AsUTF8(o);
++    } else {
++        PyUnicode_AsASCIIString(o);
++        return NULL;
++    }
+ #else
+-        return PyUnicode_AsUTF8AndSize(o, length);
++    return PyUnicode_AsUTF8AndSize(o, length);
++#endif
++}
++#endif
+ #endif
++static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
++    if (
++#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
++            __Pyx_sys_getdefaultencoding_not_ascii &&
+ #endif
++            PyUnicode_Check(o)) {
++        return __Pyx_PyUnicode_AsStringAndSize(o, length);
+     } else
+ #endif
+ #if (!CYTHON_COMPILING_IN_PYPY) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))
+@@ -32027,43 +35527,67 @@ static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
+    if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
+    else return PyObject_IsTrue(x);
+ }
++static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
++#if PY_MAJOR_VERSION >= 3
++    if (PyLong_Check(result)) {
++        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
++                "__int__ returned non-int (type %.200s).  "
++                "The ability to return an instance of a strict subclass of int "
++                "is deprecated, and may be removed in a future version of Python.",
++                Py_TYPE(result)->tp_name)) {
++            Py_DECREF(result);
++            return NULL;
++        }
++        return result;
++    }
++#endif
++    PyErr_Format(PyExc_TypeError,
++                 "__%.4s__ returned non-%.4s (type %.200s)",
++                 type_name, type_name, Py_TYPE(result)->tp_name);
++    Py_DECREF(result);
++    return NULL;
++}
+ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) {
++#if CYTHON_USE_TYPE_SLOTS
+   PyNumberMethods *m;
++#endif
+   const char *name = NULL;
+   PyObject *res = NULL;
+ #if PY_MAJOR_VERSION < 3
+-  if (PyInt_Check(x) || PyLong_Check(x))
++  if (likely(PyInt_Check(x) || PyLong_Check(x)))
+ #else
+-  if (PyLong_Check(x))
++  if (likely(PyLong_Check(x)))
+ #endif
+     return __Pyx_NewRef(x);
++#if CYTHON_USE_TYPE_SLOTS
+   m = Py_TYPE(x)->tp_as_number;
+-#if PY_MAJOR_VERSION < 3
++  #if PY_MAJOR_VERSION < 3
+   if (m && m->nb_int) {
+     name = "int";
+-    res = PyNumber_Int(x);
++    res = m->nb_int(x);
+   }
+   else if (m && m->nb_long) {
+     name = "long";
+-    res = PyNumber_Long(x);
++    res = m->nb_long(x);
+   }
+-#else
+-  if (m && m->nb_int) {
++  #else
++  if (likely(m && m->nb_int)) {
+     name = "int";
+-    res = PyNumber_Long(x);
++    res = m->nb_int(x);
++  }
++  #endif
++#else
++  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
++    res = PyNumber_Int(x);
+   }
+ #endif
+-  if (res) {
++  if (likely(res)) {
+ #if PY_MAJOR_VERSION < 3
+-    if (!PyInt_Check(res) && !PyLong_Check(res)) {
++    if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) {
+ #else
+-    if (!PyLong_Check(res)) {
++    if (unlikely(!PyLong_CheckExact(res))) {
+ #endif
+-      PyErr_Format(PyExc_TypeError,
+-                   "__%.4s__ returned non-%.4s (type %.200s)",
+-                   name, name, Py_TYPE(res)->tp_name);
+-      Py_DECREF(res);
+-      return NULL;
++        return __Pyx_PyNumber_IntOrLongWrongResultType(res, name);
+     }
+   }
+   else if (!PyErr_Occurred()) {
+diff --git a/pyresample/ewa/_ll2cr.c b/pyresample/ewa/_ll2cr.c
+index d59ce97..e677c9a 100644
+--- a/pyresample/ewa/_ll2cr.c
++++ b/pyresample/ewa/_ll2cr.c
+@@ -1,14 +1,19 @@
+-/* Generated by Cython 0.24 */
++/* Generated by Cython 0.28.2 */
+ 
+ /* BEGIN: Cython Metadata
+ {
+     "distutils": {
+-        "depends": [], 
++        "depends": [],
+         "extra_compile_args": [
+-            "-O3", 
++            "-O3",
+             "-Wno-unused-function"
++        ],
++        "name": "pyresample.ewa._ll2cr",
++        "sources": [
++            "pyresample/ewa/_ll2cr.pyx"
+         ]
+-    }
++    },
++    "module_name": "pyresample.ewa._ll2cr"
+ }
+ END: Cython Metadata */
+ 
+@@ -16,10 +21,11 @@ END: Cython Metadata */
+ #include "Python.h"
+ #ifndef Py_PYTHON_H
+     #error Python headers needed to compile C extensions, please install development version of Python.
+-#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03020000)
+-    #error Cython requires Python 2.6+ or Python 3.2+.
++#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
++    #error Cython requires Python 2.6+ or Python 3.3+.
+ #else
+-#define CYTHON_ABI "0_24"
++#define CYTHON_ABI "0_28_2"
++#define CYTHON_FUTURE_DIVISION 0
+ #include 
+ #ifndef offsetof
+   #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
+@@ -41,6 +47,12 @@ END: Cython Metadata */
+ #ifndef DL_EXPORT
+   #define DL_EXPORT(t) t
+ #endif
++#define __PYX_COMMA ,
++#ifndef HAVE_LONG_LONG
++  #if PY_VERSION_HEX >= 0x02070000
++    #define HAVE_LONG_LONG
++  #endif
++#endif
+ #ifndef PY_LONG_LONG
+   #define PY_LONG_LONG LONG_LONG
+ #endif
+@@ -49,13 +61,138 @@ END: Cython Metadata */
+ #endif
+ #ifdef PYPY_VERSION
+   #define CYTHON_COMPILING_IN_PYPY 1
++  #define CYTHON_COMPILING_IN_PYSTON 0
++  #define CYTHON_COMPILING_IN_CPYTHON 0
++  #undef CYTHON_USE_TYPE_SLOTS
++  #define CYTHON_USE_TYPE_SLOTS 0
++  #undef CYTHON_USE_PYTYPE_LOOKUP
++  #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #if PY_VERSION_HEX < 0x03050000
++    #undef CYTHON_USE_ASYNC_SLOTS
++    #define CYTHON_USE_ASYNC_SLOTS 0
++  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
++    #define CYTHON_USE_ASYNC_SLOTS 1
++  #endif
++  #undef CYTHON_USE_PYLIST_INTERNALS
++  #define CYTHON_USE_PYLIST_INTERNALS 0
++  #undef CYTHON_USE_UNICODE_INTERNALS
++  #define CYTHON_USE_UNICODE_INTERNALS 0
++  #undef CYTHON_USE_UNICODE_WRITER
++  #define CYTHON_USE_UNICODE_WRITER 0
++  #undef CYTHON_USE_PYLONG_INTERNALS
++  #define CYTHON_USE_PYLONG_INTERNALS 0
++  #undef CYTHON_AVOID_BORROWED_REFS
++  #define CYTHON_AVOID_BORROWED_REFS 1
++  #undef CYTHON_ASSUME_SAFE_MACROS
++  #define CYTHON_ASSUME_SAFE_MACROS 0
++  #undef CYTHON_UNPACK_METHODS
++  #define CYTHON_UNPACK_METHODS 0
++  #undef CYTHON_FAST_THREAD_STATE
++  #define CYTHON_FAST_THREAD_STATE 0
++  #undef CYTHON_FAST_PYCALL
++  #define CYTHON_FAST_PYCALL 0
++  #undef CYTHON_PEP489_MULTI_PHASE_INIT
++  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
++  #undef CYTHON_USE_TP_FINALIZE
++  #define CYTHON_USE_TP_FINALIZE 0
++#elif defined(PYSTON_VERSION)
++  #define CYTHON_COMPILING_IN_PYPY 0
++  #define CYTHON_COMPILING_IN_PYSTON 1
+   #define CYTHON_COMPILING_IN_CPYTHON 0
++  #ifndef CYTHON_USE_TYPE_SLOTS
++    #define CYTHON_USE_TYPE_SLOTS 1
++  #endif
++  #undef CYTHON_USE_PYTYPE_LOOKUP
++  #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #undef CYTHON_USE_ASYNC_SLOTS
++  #define CYTHON_USE_ASYNC_SLOTS 0
++  #undef CYTHON_USE_PYLIST_INTERNALS
++  #define CYTHON_USE_PYLIST_INTERNALS 0
++  #ifndef CYTHON_USE_UNICODE_INTERNALS
++    #define CYTHON_USE_UNICODE_INTERNALS 1
++  #endif
++  #undef CYTHON_USE_UNICODE_WRITER
++  #define CYTHON_USE_UNICODE_WRITER 0
++  #undef CYTHON_USE_PYLONG_INTERNALS
++  #define CYTHON_USE_PYLONG_INTERNALS 0
++  #ifndef CYTHON_AVOID_BORROWED_REFS
++    #define CYTHON_AVOID_BORROWED_REFS 0
++  #endif
++  #ifndef CYTHON_ASSUME_SAFE_MACROS
++    #define CYTHON_ASSUME_SAFE_MACROS 1
++  #endif
++  #ifndef CYTHON_UNPACK_METHODS
++    #define CYTHON_UNPACK_METHODS 1
++  #endif
++  #undef CYTHON_FAST_THREAD_STATE
++  #define CYTHON_FAST_THREAD_STATE 0
++  #undef CYTHON_FAST_PYCALL
++  #define CYTHON_FAST_PYCALL 0
++  #undef CYTHON_PEP489_MULTI_PHASE_INIT
++  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
++  #undef CYTHON_USE_TP_FINALIZE
++  #define CYTHON_USE_TP_FINALIZE 0
+ #else
+   #define CYTHON_COMPILING_IN_PYPY 0
++  #define CYTHON_COMPILING_IN_PYSTON 0
+   #define CYTHON_COMPILING_IN_CPYTHON 1
++  #ifndef CYTHON_USE_TYPE_SLOTS
++    #define CYTHON_USE_TYPE_SLOTS 1
++  #endif
++  #if PY_VERSION_HEX < 0x02070000
++    #undef CYTHON_USE_PYTYPE_LOOKUP
++    #define CYTHON_USE_PYTYPE_LOOKUP 0
++  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
++    #define CYTHON_USE_PYTYPE_LOOKUP 1
++  #endif
++  #if PY_MAJOR_VERSION < 3
++    #undef CYTHON_USE_ASYNC_SLOTS
++    #define CYTHON_USE_ASYNC_SLOTS 0
++  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
++    #define CYTHON_USE_ASYNC_SLOTS 1
++  #endif
++  #if PY_VERSION_HEX < 0x02070000
++    #undef CYTHON_USE_PYLONG_INTERNALS
++    #define CYTHON_USE_PYLONG_INTERNALS 0
++  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
++    #define CYTHON_USE_PYLONG_INTERNALS 1
++  #endif
++  #ifndef CYTHON_USE_PYLIST_INTERNALS
++    #define CYTHON_USE_PYLIST_INTERNALS 1
++  #endif
++  #ifndef CYTHON_USE_UNICODE_INTERNALS
++    #define CYTHON_USE_UNICODE_INTERNALS 1
++  #endif
++  #if PY_VERSION_HEX < 0x030300F0
++    #undef CYTHON_USE_UNICODE_WRITER
++    #define CYTHON_USE_UNICODE_WRITER 0
++  #elif !defined(CYTHON_USE_UNICODE_WRITER)
++    #define CYTHON_USE_UNICODE_WRITER 1
++  #endif
++  #ifndef CYTHON_AVOID_BORROWED_REFS
++    #define CYTHON_AVOID_BORROWED_REFS 0
++  #endif
++  #ifndef CYTHON_ASSUME_SAFE_MACROS
++    #define CYTHON_ASSUME_SAFE_MACROS 1
++  #endif
++  #ifndef CYTHON_UNPACK_METHODS
++    #define CYTHON_UNPACK_METHODS 1
++  #endif
++  #ifndef CYTHON_FAST_THREAD_STATE
++    #define CYTHON_FAST_THREAD_STATE 1
++  #endif
++  #ifndef CYTHON_FAST_PYCALL
++    #define CYTHON_FAST_PYCALL 1
++  #endif
++  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
++    #define CYTHON_PEP489_MULTI_PHASE_INIT (0 && PY_VERSION_HEX >= 0x03050000)
++  #endif
++  #ifndef CYTHON_USE_TP_FINALIZE
++    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
++  #endif
+ #endif
+-#if !defined(CYTHON_USE_PYLONG_INTERNALS) && CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x02070000
+-  #define CYTHON_USE_PYLONG_INTERNALS 1
++#if !defined(CYTHON_FAST_PYCCALL)
++#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
+ #endif
+ #if CYTHON_USE_PYLONG_INTERNALS
+   #include "longintrepr.h"
+@@ -63,6 +200,103 @@ END: Cython Metadata */
+   #undef BASE
+   #undef MASK
+ #endif
++#ifndef __has_attribute
++  #define __has_attribute(x) 0
++#endif
++#ifndef __has_cpp_attribute
++  #define __has_cpp_attribute(x) 0
++#endif
++#ifndef CYTHON_RESTRICT
++  #if defined(__GNUC__)
++    #define CYTHON_RESTRICT __restrict__
++  #elif defined(_MSC_VER) && _MSC_VER >= 1400
++    #define CYTHON_RESTRICT __restrict
++  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++    #define CYTHON_RESTRICT restrict
++  #else
++    #define CYTHON_RESTRICT
++  #endif
++#endif
++#ifndef CYTHON_UNUSED
++# if defined(__GNUC__)
++#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
++#     define CYTHON_UNUSED __attribute__ ((__unused__))
++#   else
++#     define CYTHON_UNUSED
++#   endif
++# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
++#   define CYTHON_UNUSED __attribute__ ((__unused__))
++# else
++#   define CYTHON_UNUSED
++# endif
++#endif
++#ifndef CYTHON_MAYBE_UNUSED_VAR
++#  if defined(__cplusplus)
++     template void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
++#  else
++#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
++#  endif
++#endif
++#ifndef CYTHON_NCP_UNUSED
++# if CYTHON_COMPILING_IN_CPYTHON
++#  define CYTHON_NCP_UNUSED
++# else
++#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
++# endif
++#endif
++#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
++#ifdef _MSC_VER
++    #ifndef _MSC_STDINT_H_
++        #if _MSC_VER < 1300
++           typedef unsigned char     uint8_t;
++           typedef unsigned int      uint32_t;
++        #else
++           typedef unsigned __int8   uint8_t;
++           typedef unsigned __int32  uint32_t;
++        #endif
++    #endif
++#else
++   #include 
++#endif
++#ifndef CYTHON_FALLTHROUGH
++  #if defined(__cplusplus) && __cplusplus >= 201103L
++    #if __has_cpp_attribute(fallthrough)
++      #define CYTHON_FALLTHROUGH [[fallthrough]]
++    #elif __has_cpp_attribute(clang::fallthrough)
++      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
++    #elif __has_cpp_attribute(gnu::fallthrough)
++      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
++    #endif
++  #endif
++  #ifndef CYTHON_FALLTHROUGH
++    #if __has_attribute(fallthrough)
++      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
++    #else
++      #define CYTHON_FALLTHROUGH
++    #endif
++  #endif
++  #if defined(__clang__ ) && defined(__apple_build_version__)
++    #if __apple_build_version__ < 7000000
++      #undef  CYTHON_FALLTHROUGH
++      #define CYTHON_FALLTHROUGH
++    #endif
++  #endif
++#endif
++
++#ifndef CYTHON_INLINE
++  #if defined(__clang__)
++    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
++  #elif defined(__GNUC__)
++    #define CYTHON_INLINE __inline__
++  #elif defined(_MSC_VER)
++    #define CYTHON_INLINE __inline
++  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
++    #define CYTHON_INLINE inline
++  #else
++    #define CYTHON_INLINE
++  #endif
++#endif
++
+ #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
+   #define Py_OptimizeFlag 0
+ #endif
+@@ -91,24 +325,116 @@ END: Cython Metadata */
+ #ifndef Py_TPFLAGS_HAVE_FINALIZE
+   #define Py_TPFLAGS_HAVE_FINALIZE 0
+ #endif
++#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
++  #ifndef METH_FASTCALL
++     #define METH_FASTCALL 0x80
++  #endif
++  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs);
++  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
++                                                          Py_ssize_t nargs, PyObject *kwnames);
++#else
++  #define __Pyx_PyCFunctionFast _PyCFunctionFast
++  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
++#endif
++#if CYTHON_FAST_PYCCALL
++#define __Pyx_PyFastCFunction_Check(func)\
++    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)))))
++#else
++#define __Pyx_PyFastCFunction_Check(func) 0
++#endif
++#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
++  #define PyObject_Malloc(s)   PyMem_Malloc(s)
++  #define PyObject_Free(p)     PyMem_Free(p)
++  #define PyObject_Realloc(p)  PyMem_Realloc(p)
++#endif
++#if CYTHON_COMPILING_IN_PYSTON
++  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
++  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
++#else
++  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
++  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
++#endif
++#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
++  #define __Pyx_PyThreadState_Current PyThreadState_GET()
++#elif PY_VERSION_HEX >= 0x03060000
++  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
++#elif PY_VERSION_HEX >= 0x03000000
++  #define __Pyx_PyThreadState_Current PyThreadState_GET()
++#else
++  #define __Pyx_PyThreadState_Current _PyThreadState_Current
++#endif
++#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
++#include "pythread.h"
++#define Py_tss_NEEDS_INIT 0
++typedef int Py_tss_t;
++static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
++  *key = PyThread_create_key();
++  return 0; // PyThread_create_key reports success always
++}
++static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
++  Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
++  *key = Py_tss_NEEDS_INIT;
++  return key;
++}
++static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
++  PyObject_Free(key);
++}
++static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) {
++  return *key != Py_tss_NEEDS_INIT;
++}
++static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) {
++  PyThread_delete_key(*key);
++  *key = Py_tss_NEEDS_INIT;
++}
++static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) {
++  return PyThread_set_key_value(*key, value);
++}
++static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
++  return PyThread_get_key_value(*key);
++}
++#endif // TSS (Thread Specific Storage) API
++#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
++#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
++#else
++#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
++#endif
++#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
++  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
++  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
++#else
++  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
++  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
++#endif
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
++#define __Pyx_PyDict_GetItemStr(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
++#else
++#define __Pyx_PyDict_GetItemStr(dict, name)  PyDict_GetItem(dict, name)
++#endif
+ #if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
+   #define CYTHON_PEP393_ENABLED 1
+   #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
+                                               0 : _PyUnicode_Ready((PyObject *)(op)))
+   #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
+   #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
++  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
+   #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
+   #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
+   #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
++  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
+   #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
+ #else
+   #define CYTHON_PEP393_ENABLED 0
++  #define PyUnicode_1BYTE_KIND  1
++  #define PyUnicode_2BYTE_KIND  2
++  #define PyUnicode_4BYTE_KIND  4
+   #define __Pyx_PyUnicode_READY(op)       (0)
+   #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
+   #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
++  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
+   #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
+   #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
+   #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
++  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
+   #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
+ #endif
+ #if CYTHON_COMPILING_IN_PYPY
+@@ -122,14 +448,12 @@ END: Cython Metadata */
+ #if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
+   #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
+ #endif
++#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
++  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
++#endif
+ #if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
+   #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
+ #endif
+-#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
+-  #define PyObject_Malloc(s)   PyMem_Malloc(s)
+-  #define PyObject_Free(p)     PyMem_Free(p)
+-  #define PyObject_Realloc(p)  PyMem_Realloc(p)
+-#endif
+ #define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
+ #define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
+ #if PY_MAJOR_VERSION >= 3
+@@ -157,7 +481,11 @@ END: Cython Metadata */
+ #ifndef PySet_CheckExact
+   #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
+ #endif
+-#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
++#if CYTHON_ASSUME_SAFE_MACROS
++  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
++#else
++  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
++#endif
+ #if PY_MAJOR_VERSION >= 3
+   #define PyIntObject                  PyLongObject
+   #define PyInt_Type                   PyLong_Type
+@@ -192,46 +520,26 @@ END: Cython Metadata */
+   #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
+ #endif
+ #if PY_MAJOR_VERSION >= 3
+-  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
++  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : (Py_INCREF(func), func))
+ #else
+   #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
+ #endif
+-#if PY_VERSION_HEX >= 0x030500B1
+-#define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
+-#define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
+-#elif CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
+-typedef struct {
+-    unaryfunc am_await;
+-    unaryfunc am_aiter;
+-    unaryfunc am_anext;
+-} __Pyx_PyAsyncMethodsStruct;
+-#define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
+-#else
+-#define __Pyx_PyType_AsAsync(obj) NULL
+-#endif
+-#ifndef CYTHON_RESTRICT
+-  #if defined(__GNUC__)
+-    #define CYTHON_RESTRICT __restrict__
+-  #elif defined(_MSC_VER) && _MSC_VER >= 1400
+-    #define CYTHON_RESTRICT __restrict
+-  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+-    #define CYTHON_RESTRICT restrict
++#if CYTHON_USE_ASYNC_SLOTS
++  #if PY_VERSION_HEX >= 0x030500B1
++    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
++    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
+   #else
+-    #define CYTHON_RESTRICT
++    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
+   #endif
++#else
++  #define __Pyx_PyType_AsAsync(obj) NULL
+ #endif
+-#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
+-
+-#ifndef CYTHON_INLINE
+-  #if defined(__GNUC__)
+-    #define CYTHON_INLINE __inline__
+-  #elif defined(_MSC_VER)
+-    #define CYTHON_INLINE __inline
+-  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+-    #define CYTHON_INLINE inline
+-  #else
+-    #define CYTHON_INLINE
+-  #endif
++#ifndef __Pyx_PyAsyncMethodsStruct
++    typedef struct {
++        unaryfunc am_await;
++        unaryfunc am_aiter;
++        unaryfunc am_anext;
++    } __Pyx_PyAsyncMethodsStruct;
+ #endif
+ 
+ #if defined(WIN32) || defined(MS_WINDOWS)
+@@ -247,6 +555,11 @@ static CYTHON_INLINE float __PYX_NAN() {
+   return value;
+ }
+ #endif
++#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
++#define __Pyx_truncl trunc
++#else
++#define __Pyx_truncl truncl
++#endif
+ 
+ 
+ #define __PYX_ERR(f_index, lineno, Ln_error) \
+@@ -254,14 +567,6 @@ static CYTHON_INLINE float __PYX_NAN() {
+   __pyx_filename = __pyx_f[f_index]; __pyx_lineno = lineno; __pyx_clineno = __LINE__; goto Ln_error; \
+ }
+ 
+-#if PY_MAJOR_VERSION >= 3
+-  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
+-  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
+-#else
+-  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
+-  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
+-#endif
+-
+ #ifndef __PYX_EXTERN_C
+   #ifdef __cplusplus
+     #define __PYX_EXTERN_C extern "C"
+@@ -272,42 +577,23 @@ static CYTHON_INLINE float __PYX_NAN() {
+ 
+ #define __PYX_HAVE__pyresample__ewa___ll2cr
+ #define __PYX_HAVE_API__pyresample__ewa___ll2cr
+-#include "string.h"
+-#include "stdio.h"
++/* Early includes */
++#include 
++#include 
+ #include "pythread.h"
+-#include "stdlib.h"
+ #include "numpy/arrayobject.h"
+ #include "numpy/ufuncobject.h"
+ #include "numpy/npy_math.h"
++#include 
+ #include "pystate.h"
+ #ifdef _OPENMP
+ #include 
+ #endif /* _OPENMP */
+ 
+-#ifdef PYREX_WITHOUT_ASSERTIONS
++#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
+ #define CYTHON_WITHOUT_ASSERTIONS
+ #endif
+ 
+-#ifndef CYTHON_UNUSED
+-# if defined(__GNUC__)
+-#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
+-#     define CYTHON_UNUSED __attribute__ ((__unused__))
+-#   else
+-#     define CYTHON_UNUSED
+-#   endif
+-# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
+-#   define CYTHON_UNUSED __attribute__ ((__unused__))
+-# else
+-#   define CYTHON_UNUSED
+-# endif
+-#endif
+-#ifndef CYTHON_NCP_UNUSED
+-# if CYTHON_COMPILING_IN_CPYTHON
+-#  define CYTHON_NCP_UNUSED
+-# else
+-#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
+-# endif
+-#endif
+ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
+                 const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;
+ 
+@@ -335,8 +621,8 @@ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* enc
+     #define __Pyx_sst_abs(value) abs(value)
+ #elif SIZEOF_LONG >= SIZEOF_SIZE_T
+     #define __Pyx_sst_abs(value) labs(value)
+-#elif defined (_MSC_VER) && defined (_M_X64)
+-    #define __Pyx_sst_abs(value) _abs64(value)
++#elif defined (_MSC_VER)
++    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
+ #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+     #define __Pyx_sst_abs(value) llabs(value)
+ #elif defined (__GNUC__)
+@@ -344,8 +630,8 @@ typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* enc
+ #else
+     #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
+ #endif
+-static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
+-static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
++static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
++static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
+ #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
+ #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
+ #define __Pyx_PyBytes_FromString        PyBytes_FromString
+@@ -358,23 +644,27 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*);
+     #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
+     #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
+ #endif
+-#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
+-#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
++#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
++#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
+ #define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
+ #define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
+ #define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
+ #define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
+ #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
+-#if PY_MAJOR_VERSION < 3
+-static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
+-{
++static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
+     const Py_UNICODE *u_end = u;
+     while (*u_end++) ;
+     return (size_t)(u_end - u - 1);
+ }
+-#else
+-#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
+-#endif
+ #define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
+ #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
+ #define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
+@@ -383,9 +673,11 @@ static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
+ #define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
+ static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
+ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
++#define __Pyx_PySequence_Tuple(obj)\
++    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
+ static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
+ static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS
+ #define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
+ #else
+ #define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
+@@ -481,10 +773,12 @@ bad:
+   #define likely(x)   (x)
+   #define unlikely(x) (x)
+ #endif /* __GNUC__ */
++static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }
+ 
+-static PyObject *__pyx_m;
++static PyObject *__pyx_m = NULL;
+ static PyObject *__pyx_d;
+ static PyObject *__pyx_b;
++static PyObject *__pyx_cython_runtime;
+ static PyObject *__pyx_empty_tuple;
+ static PyObject *__pyx_empty_bytes;
+ static PyObject *__pyx_empty_unicode;
+@@ -493,7 +787,7 @@ static int __pyx_clineno = 0;
+ static const char * __pyx_cfilenm= __FILE__;
+ static const char *__pyx_filename;
+ 
+-/* None.proto */
++/* Header.proto */
+ #if !defined(CYTHON_CCOMPLEX)
+   #if defined(__cplusplus)
+     #define CYTHON_CCOMPLEX 1
+@@ -569,6 +863,7 @@ typedef struct {
+   Py_ssize_t strides[8];
+   Py_ssize_t suboffsets[8];
+ } __Pyx_memviewslice;
++#define __Pyx_MemoryView_Len(m)  (m.shape[0])
+ 
+ /* Atomics.proto */
+ #include 
+@@ -619,8 +914,20 @@ typedef volatile __pyx_atomic_int_type __pyx_atomic_int;
+             __pyx_sub_acquisition_count_locked(__pyx_get_slice_count_pointer(memview), memview->lock)
+ #endif
+ 
++/* ForceInitThreads.proto */
++#ifndef __PYX_FORCE_INIT_THREADS
++  #define __PYX_FORCE_INIT_THREADS 0
++#endif
++
++/* NoFastGil.proto */
++#define __Pyx_PyGILState_Ensure PyGILState_Ensure
++#define __Pyx_PyGILState_Release PyGILState_Release
++#define __Pyx_FastGIL_Remember()
++#define __Pyx_FastGIL_Forget()
++#define __Pyx_FastGilFuncInit()
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":725
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":730
+  * # in Cython to enable them only on the right systems.
+  * 
+  * ctypedef npy_int8       int8_t             # <<<<<<<<<<<<<<
+@@ -629,7 +936,7 @@ typedef volatile __pyx_atomic_int_type __pyx_atomic_int;
+  */
+ typedef npy_int8 __pyx_t_5numpy_int8_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":726
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":731
+  * 
+  * ctypedef npy_int8       int8_t
+  * ctypedef npy_int16      int16_t             # <<<<<<<<<<<<<<
+@@ -638,7 +945,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
+  */
+ typedef npy_int16 __pyx_t_5numpy_int16_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":727
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":732
+  * ctypedef npy_int8       int8_t
+  * ctypedef npy_int16      int16_t
+  * ctypedef npy_int32      int32_t             # <<<<<<<<<<<<<<
+@@ -647,7 +954,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
+  */
+ typedef npy_int32 __pyx_t_5numpy_int32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":728
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":733
+  * ctypedef npy_int16      int16_t
+  * ctypedef npy_int32      int32_t
+  * ctypedef npy_int64      int64_t             # <<<<<<<<<<<<<<
+@@ -656,7 +963,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
+  */
+ typedef npy_int64 __pyx_t_5numpy_int64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":732
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":737
+  * #ctypedef npy_int128     int128_t
+  * 
+  * ctypedef npy_uint8      uint8_t             # <<<<<<<<<<<<<<
+@@ -665,7 +972,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
+  */
+ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":733
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":738
+  * 
+  * ctypedef npy_uint8      uint8_t
+  * ctypedef npy_uint16     uint16_t             # <<<<<<<<<<<<<<
+@@ -674,7 +981,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
+  */
+ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":734
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":739
+  * ctypedef npy_uint8      uint8_t
+  * ctypedef npy_uint16     uint16_t
+  * ctypedef npy_uint32     uint32_t             # <<<<<<<<<<<<<<
+@@ -683,7 +990,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
+  */
+ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":735
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":740
+  * ctypedef npy_uint16     uint16_t
+  * ctypedef npy_uint32     uint32_t
+  * ctypedef npy_uint64     uint64_t             # <<<<<<<<<<<<<<
+@@ -692,7 +999,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
+  */
+ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":739
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":744
+  * #ctypedef npy_uint128    uint128_t
+  * 
+  * ctypedef npy_float32    float32_t             # <<<<<<<<<<<<<<
+@@ -701,7 +1008,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
+  */
+ typedef npy_float32 __pyx_t_5numpy_float32_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":740
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":745
+  * 
+  * ctypedef npy_float32    float32_t
+  * ctypedef npy_float64    float64_t             # <<<<<<<<<<<<<<
+@@ -710,7 +1017,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
+  */
+ typedef npy_float64 __pyx_t_5numpy_float64_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":749
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":754
+  * # The int types are mapped a bit surprising --
+  * # numpy.int corresponds to 'l' and numpy.long to 'q'
+  * ctypedef npy_long       int_t             # <<<<<<<<<<<<<<
+@@ -719,7 +1026,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
+  */
+ typedef npy_long __pyx_t_5numpy_int_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":750
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":755
+  * # numpy.int corresponds to 'l' and numpy.long to 'q'
+  * ctypedef npy_long       int_t
+  * ctypedef npy_longlong   long_t             # <<<<<<<<<<<<<<
+@@ -728,7 +1035,7 @@ typedef npy_long __pyx_t_5numpy_int_t;
+  */
+ typedef npy_longlong __pyx_t_5numpy_long_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":751
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":756
+  * ctypedef npy_long       int_t
+  * ctypedef npy_longlong   long_t
+  * ctypedef npy_longlong   longlong_t             # <<<<<<<<<<<<<<
+@@ -737,7 +1044,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t;
+  */
+ typedef npy_longlong __pyx_t_5numpy_longlong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":753
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":758
+  * ctypedef npy_longlong   longlong_t
+  * 
+  * ctypedef npy_ulong      uint_t             # <<<<<<<<<<<<<<
+@@ -746,7 +1053,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
+  */
+ typedef npy_ulong __pyx_t_5numpy_uint_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":754
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":759
+  * 
+  * ctypedef npy_ulong      uint_t
+  * ctypedef npy_ulonglong  ulong_t             # <<<<<<<<<<<<<<
+@@ -755,7 +1062,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t;
+  */
+ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":755
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":760
+  * ctypedef npy_ulong      uint_t
+  * ctypedef npy_ulonglong  ulong_t
+  * ctypedef npy_ulonglong  ulonglong_t             # <<<<<<<<<<<<<<
+@@ -764,7 +1071,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
+  */
+ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":757
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":762
+  * ctypedef npy_ulonglong  ulonglong_t
+  * 
+  * ctypedef npy_intp       intp_t             # <<<<<<<<<<<<<<
+@@ -773,7 +1080,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
+  */
+ typedef npy_intp __pyx_t_5numpy_intp_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":758
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":763
+  * 
+  * ctypedef npy_intp       intp_t
+  * ctypedef npy_uintp      uintp_t             # <<<<<<<<<<<<<<
+@@ -782,7 +1089,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
+  */
+ typedef npy_uintp __pyx_t_5numpy_uintp_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":760
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":765
+  * ctypedef npy_uintp      uintp_t
+  * 
+  * ctypedef npy_double     float_t             # <<<<<<<<<<<<<<
+@@ -791,7 +1098,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
+  */
+ typedef npy_double __pyx_t_5numpy_float_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":761
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":766
+  * 
+  * ctypedef npy_double     float_t
+  * ctypedef npy_double     double_t             # <<<<<<<<<<<<<<
+@@ -800,7 +1107,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
+  */
+ typedef npy_double __pyx_t_5numpy_double_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":762
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":767
+  * ctypedef npy_double     float_t
+  * ctypedef npy_double     double_t
+  * ctypedef npy_longdouble longdouble_t             # <<<<<<<<<<<<<<
+@@ -808,7 +1115,7 @@ typedef npy_double __pyx_t_5numpy_double_t;
+  * ctypedef npy_cfloat      cfloat_t
+  */
+ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+-/* None.proto */
++/* Declarations.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     typedef ::std::complex< float > __pyx_t_float_complex;
+@@ -818,8 +1125,9 @@ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+ #else
+     typedef struct { float real, imag; } __pyx_t_float_complex;
+ #endif
++static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float);
+ 
+-/* None.proto */
++/* Declarations.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     typedef ::std::complex< double > __pyx_t_double_complex;
+@@ -829,6 +1137,7 @@ typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
+ #else
+     typedef struct { double real, imag; } __pyx_t_double_complex;
+ #endif
++static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double);
+ 
+ 
+ /*--- Type declarations ---*/
+@@ -837,7 +1146,7 @@ struct __pyx_MemviewEnum_obj;
+ struct __pyx_memoryview_obj;
+ struct __pyx_memoryviewslice_obj;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":764
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":769
+  * ctypedef npy_longdouble longdouble_t
+  * 
+  * ctypedef npy_cfloat      cfloat_t             # <<<<<<<<<<<<<<
+@@ -846,7 +1155,7 @@ struct __pyx_memoryviewslice_obj;
+  */
+ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":765
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":770
+  * 
+  * ctypedef npy_cfloat      cfloat_t
+  * ctypedef npy_cdouble     cdouble_t             # <<<<<<<<<<<<<<
+@@ -855,7 +1164,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
+  */
+ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":766
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":771
+  * ctypedef npy_cfloat      cfloat_t
+  * ctypedef npy_cdouble     cdouble_t
+  * ctypedef npy_clongdouble clongdouble_t             # <<<<<<<<<<<<<<
+@@ -864,7 +1173,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
+  */
+ typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":768
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":773
+  * ctypedef npy_clongdouble clongdouble_t
+  * 
+  * ctypedef npy_cdouble     complex_t             # <<<<<<<<<<<<<<
+@@ -889,7 +1198,7 @@ struct __pyx_defaults1 {
+   PyObject *__pyx_arg_origin_y;
+ };
+ 
+-/* "View.MemoryView":103
++/* "View.MemoryView":104
+  * 
+  * @cname("__pyx_array")
+  * cdef class array:             # <<<<<<<<<<<<<<
+@@ -914,7 +1223,7 @@ struct __pyx_array_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":275
++/* "View.MemoryView":278
+  * 
+  * @cname('__pyx_MemviewEnum')
+  * cdef class Enum(object):             # <<<<<<<<<<<<<<
+@@ -927,7 +1236,7 @@ struct __pyx_MemviewEnum_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":326
++/* "View.MemoryView":329
+  * 
+  * @cname('__pyx_memoryview')
+  * cdef class memoryview(object):             # <<<<<<<<<<<<<<
+@@ -950,7 +1259,7 @@ struct __pyx_memoryview_obj {
+ };
+ 
+ 
+-/* "View.MemoryView":951
++/* "View.MemoryView":960
+  * 
+  * @cname('__pyx_memoryviewslice')
+  * cdef class _memoryviewslice(memoryview):             # <<<<<<<<<<<<<<
+@@ -967,7 +1276,7 @@ struct __pyx_memoryviewslice_obj {
+ 
+ 
+ 
+-/* "View.MemoryView":103
++/* "View.MemoryView":104
+  * 
+  * @cname("__pyx_array")
+  * cdef class array:             # <<<<<<<<<<<<<<
+@@ -981,7 +1290,7 @@ struct __pyx_vtabstruct_array {
+ static struct __pyx_vtabstruct_array *__pyx_vtabptr_array;
+ 
+ 
+-/* "View.MemoryView":326
++/* "View.MemoryView":329
+  * 
+  * @cname('__pyx_memoryview')
+  * cdef class memoryview(object):             # <<<<<<<<<<<<<<
+@@ -1001,7 +1310,7 @@ struct __pyx_vtabstruct_memoryview {
+ static struct __pyx_vtabstruct_memoryview *__pyx_vtabptr_memoryview;
+ 
+ 
+-/* "View.MemoryView":951
++/* "View.MemoryView":960
+  * 
+  * @cname('__pyx_memoryviewslice')
+  * cdef class _memoryviewslice(memoryview):             # <<<<<<<<<<<<<<
+@@ -1079,17 +1388,8 @@ static struct __pyx_vtabstruct__memoryviewslice *__pyx_vtabptr__memoryviewslice;
+ #define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
+ 
+ /* PyObjectGetAttrStr.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
+-    PyTypeObject* tp = Py_TYPE(obj);
+-    if (likely(tp->tp_getattro))
+-        return tp->tp_getattro(obj, attr_name);
+-#if PY_MAJOR_VERSION < 3
+-    if (likely(tp->tp_getattr))
+-        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
+-#endif
+-    return PyObject_GetAttr(obj, attr_name);
+-}
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
+ #else
+ #define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
+ #endif
+@@ -1109,6 +1409,24 @@ static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\
+     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\
+     const char* function_name);
+ 
++/* PyCFunctionFastCall.proto */
++#if CYTHON_FAST_PYCCALL
++static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
++#else
++#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
++#endif
++
++/* PyFunctionFastCall.proto */
++#if CYTHON_FAST_PYCALL
++#define __Pyx_PyFunction_FastCall(func, args, nargs)\
++    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
++#if 1 || PY_VERSION_HEX < 0x030600B1
++static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs);
++#else
++#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
++#endif
++#endif
++
+ /* PyObjectCall.proto */
+ #if CYTHON_COMPILING_IN_CPYTHON
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
+@@ -1134,6 +1452,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
+ /* dict_getitem_default.proto */
+ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value);
+ 
++/* UnpackUnboundCMethod.proto */
++typedef struct {
++    PyObject *type;
++    PyObject **method_name;
++    PyCFunction func;
++    PyObject *method;
++    int flag;
++} __Pyx_CachedCFunction;
++
++/* CallUnboundCMethod1.proto */
++static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
++#if CYTHON_COMPILING_IN_CPYTHON
++static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
++#else
++#define __Pyx_CallUnboundCMethod1(cfunc, self, arg)  __Pyx__CallUnboundCMethod1(cfunc, self, arg)
++#endif
++
++/* CallUnboundCMethod2.proto */
++static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2);
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030600B1
++static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2);
++#else
++#define __Pyx_CallUnboundCMethod2(cfunc, self, arg1, arg2)  __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2)
++#endif
++
+ /* GetModuleGlobalName.proto */
+ static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name);
+ 
+@@ -1150,90 +1493,73 @@ static CYTHON_INLINE int __Pyx_IterFinish(void);
+ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected);
+ 
+ /* PyFloatBinop.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyFloat_AddObjC(PyObject *op1, PyObject *op2, double floatval, int inplace);
+ #else
+ #define __Pyx_PyFloat_AddObjC(op1, op2, floatval, inplace)\
+     (inplace ? PyNumber_InPlaceAdd(op1, op2) : PyNumber_Add(op1, op2))
+ #endif
+ 
+-/* Import.proto */
+-static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);
++/* py_abs.proto */
++#if CYTHON_USE_PYLONG_INTERNALS
++static PyObject *__Pyx_PyLong_AbsNeg(PyObject *num);
++#define __Pyx_PyNumber_Absolute(x)\
++    ((likely(PyLong_CheckExact(x))) ?\
++         (likely(Py_SIZE(x) >= 0) ? (Py_INCREF(x), (x)) : __Pyx_PyLong_AbsNeg(x)) :\
++         PyNumber_Absolute(x))
++#else
++#define __Pyx_PyNumber_Absolute(x)  PyNumber_Absolute(x)
++#endif
++
++/* PyDictContains.proto */
++static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) {
++    int result = PyDict_Contains(dict, item);
++    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
++}
++
++/* DictGetItem.proto */
++#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
++static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key);
++#define __Pyx_PyObject_Dict_GetItem(obj, name)\
++    (likely(PyDict_CheckExact(obj)) ?\
++     __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name))
++#else
++#define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
++#define __Pyx_PyObject_Dict_GetItem(obj, name)  PyObject_GetItem(obj, name)
++#endif
+ 
+ /* PyThreadStateGet.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
+ #define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
+-#define __Pyx_PyThreadState_assign  __pyx_tstate = PyThreadState_GET();
++#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
++#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
+ #else
+ #define __Pyx_PyThreadState_declare
+ #define __Pyx_PyThreadState_assign
++#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
+ #endif
+ 
+-/* SaveResetException.proto */
++/* PyErrFetchRestore.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
++#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
++#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
++#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
++#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
++static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
++static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+ #if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_ExceptionSave(type, value, tb)  __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
+-static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+-#define __Pyx_ExceptionReset(type, value, tb)  __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
+-static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
+-#else
+-#define __Pyx_ExceptionSave(type, value, tb)   PyErr_GetExcInfo(type, value, tb)
+-#define __Pyx_ExceptionReset(type, value, tb)  PyErr_SetExcInfo(type, value, tb)
+-#endif
+-
+-/* PyErrExceptionMatches.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
+-static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
+-#else
+-#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
+-#endif
+-
+-/* GetException.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_GetException(type, value, tb)  __Pyx__GetException(__pyx_tstate, type, value, tb)
+-static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+-#else
+-static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
+-#endif
+-
+-/* PyDictContains.proto */
+-static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) {
+-    int result = PyDict_Contains(dict, item);
+-    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
+-}
+-
+-/* DictGetItem.proto */
+-#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
+-static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
+-    PyObject *value;
+-    value = PyDict_GetItemWithError(d, key);
+-    if (unlikely(!value)) {
+-        if (!PyErr_Occurred()) {
+-            PyObject* args = PyTuple_Pack(1, key);
+-            if (likely(args))
+-                PyErr_SetObject(PyExc_KeyError, args);
+-            Py_XDECREF(args);
+-        }
+-        return NULL;
+-    }
+-    Py_INCREF(value);
+-    return value;
+-}
++#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
+ #else
+-    #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
++#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
+ #endif
+-
+-/* PyErrFetchRestore.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
+-#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
+-#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
+-#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
+-#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
+-static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
+-static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+ #else
++#define __Pyx_PyErr_Clear() PyErr_Clear()
++#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
+ #define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
+ #define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
++#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
++#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
+ #define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
+ #define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
+ #endif
+@@ -1259,7 +1585,7 @@ static long __Pyx__PyObject_Ord(PyObject* c);
+     __Pyx_SetItemInt_Fast(o, (Py_ssize_t)i, v, is_list, wraparound, boundscheck) :\
+     (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) :\
+                __Pyx_SetItemInt_Generic(o, to_py_func(i), v)))
+-static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
++static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v);
+ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v,
+                                                int is_list, int wraparound, int boundscheck);
+ 
+@@ -1273,8 +1599,16 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);
+ static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index);
+ 
+ /* UnpackTuple2.proto */
+-static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** value1, PyObject** value2,
+-                                             int is_tuple, int has_known_size, int decref_tuple);
++#define __Pyx_unpack_tuple2(tuple, value1, value2, is_tuple, has_known_size, decref_tuple)\
++    (likely(is_tuple || PyTuple_Check(tuple)) ?\
++        (likely(has_known_size || PyTuple_GET_SIZE(tuple) == 2) ?\
++            __Pyx_unpack_tuple2_exact(tuple, value1, value2, decref_tuple) :\
++            (__Pyx_UnpackTupleError(tuple, 2), -1)) :\
++        __Pyx_unpack_tuple2_generic(tuple, value1, value2, has_known_size, decref_tuple))
++static CYTHON_INLINE int __Pyx_unpack_tuple2_exact(
++    PyObject* tuple, PyObject** value1, PyObject** value2, int decref_tuple);
++static int __Pyx_unpack_tuple2_generic(
++    PyObject* tuple, PyObject** value1, PyObject** value2, int has_known_size, int decref_tuple);
+ 
+ /* dict_iter.proto */
+ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name,
+@@ -1282,8 +1616,30 @@ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict,
+ static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos,
+                                               PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict);
+ 
++/* GetItemInt.proto */
++#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
++    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
++               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
++#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
++    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
++                                                              int wraparound, int boundscheck);
++#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
++    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
++    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
++    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
++                                                              int wraparound, int boundscheck);
++static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
++                                                     int is_list, int wraparound, int boundscheck);
++
+ /* ListAppend.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
+ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
+     PyListObject* L = (PyListObject*) list;
+     Py_ssize_t len = Py_SIZE(list);
+@@ -1300,17 +1656,31 @@ static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
+ #endif
+ 
+ /* ArgTypeTest.proto */
+-static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+-    const char *name, int exact);
++#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\
++    ((likely((Py_TYPE(obj) == type) | (none_allowed && (obj == Py_None)))) ? 1 :\
++        __Pyx__ArgTypeTest(obj, type, name, exact))
++static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact);
++
++/* IsLittleEndian.proto */
++static CYTHON_INLINE int __Pyx_Is_Little_Endian(void);
+ 
+ /* BufferFormatCheck.proto */
+-static CYTHON_INLINE int  __Pyx_GetBufferAndValidate(Py_buffer* buf, PyObject* obj,
+-    __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
+-static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
+ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts);
+ static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
+                               __Pyx_BufFmt_StackElem* stack,
+-                              __Pyx_TypeInfo* type); // PROTO
++                              __Pyx_TypeInfo* type);
++
++/* BufferGetAndValidate.proto */
++#define __Pyx_GetBufferAndValidate(buf, obj, dtype, flags, nd, cast, stack)\
++    ((obj == Py_None || obj == NULL) ?\
++    (__Pyx_ZeroBuffer(buf), 0) :\
++    __Pyx__GetBufferAndValidate(buf, obj, dtype, flags, nd, cast, stack))
++static int  __Pyx__GetBufferAndValidate(Py_buffer* buf, PyObject* obj,
++    __Pyx_TypeInfo* dtype, int flags, int nd, int cast, __Pyx_BufFmt_StackElem* stack);
++static void __Pyx_ZeroBuffer(Py_buffer* buf);
++static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info);
++static Py_ssize_t __Pyx_minusones[] = { -1, -1, -1, -1, -1, -1, -1, -1 };
++static Py_ssize_t __Pyx_zeros[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
+ 
+ /* MemviewSliceInit.proto */
+ #define __Pyx_BUF_MAX_NDIMS %(BUF_MAX_NDIMS)d
+@@ -1341,6 +1711,33 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *, int, int);
+ /* ExtTypeTest.proto */
+ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type);
+ 
++/* SaveResetException.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_ExceptionSave(type, value, tb)  __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
++static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++#define __Pyx_ExceptionReset(type, value, tb)  __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
++static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
++#else
++#define __Pyx_ExceptionSave(type, value, tb)   PyErr_GetExcInfo(type, value, tb)
++#define __Pyx_ExceptionReset(type, value, tb)  PyErr_SetExcInfo(type, value, tb)
++#endif
++
++/* PyErrExceptionMatches.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
++static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
++#else
++#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
++#endif
++
++/* GetException.proto */
++#if CYTHON_FAST_THREAD_STATE
++#define __Pyx_GetException(type, value, tb)  __Pyx__GetException(__pyx_tstate, type, value, tb)
++static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
++#else
++static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
++#endif
++
+ /* IncludeStringH.proto */
+ #include 
+ 
+@@ -1369,45 +1766,63 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *); /*proto*/
+ /* GetAttr.proto */
+ static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);
+ 
++/* ObjectGetItem.proto */
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key);
++#else
++#define __Pyx_PyObject_GetItem(obj, key)  PyObject_GetItem(obj, key)
++#endif
++
++/* decode_c_string_utf16.proto */
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = 0;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16LE(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = -1;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++static CYTHON_INLINE PyObject *__Pyx_PyUnicode_DecodeUTF16BE(const char *s, Py_ssize_t size, const char *errors) {
++    int byteorder = 1;
++    return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
++}
++
+ /* decode_c_string.proto */
+ static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
+          const char* cstring, Py_ssize_t start, Py_ssize_t stop,
+          const char* encoding, const char* errors,
+          PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors));
+ 
++/* GetAttr3.proto */
++static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *);
++
+ /* SwapException.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_FAST_THREAD_STATE
+ #define __Pyx_ExceptionSwap(type, value, tb)  __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb)
+ static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
+ #else
+ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb);
+ #endif
+ 
+-/* GetItemInt.proto */
+-#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
+-    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
+-               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
+-#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
+-    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
+-                                                              int wraparound, int boundscheck);
+-#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
+-    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
+-    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
+-    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
+-                                                              int wraparound, int boundscheck);
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
+-                                                     int is_list, int wraparound, int boundscheck);
++/* Import.proto */
++static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level);
++
++/* FastTypeChecks.proto */
++#if CYTHON_COMPILING_IN_CPYTHON
++#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
++static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
++#else
++#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
++#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
++#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
++#endif
++#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
+ 
+ static CYTHON_UNUSED int __pyx_memoryview_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/
+ /* ListCompAppend.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
+ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
+     PyListObject* L = (PyListObject*) list;
+     Py_ssize_t len = Py_SIZE(list);
+@@ -1424,7 +1839,7 @@ static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
+ #endif
+ 
+ /* PyIntBinop.proto */
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace);
+ #else
+ #define __Pyx_PyInt_AddObjC(op1, op2, intval, inplace)\
+@@ -1447,11 +1862,6 @@ static CYTHON_INLINE int __Pyx_PyList_Extend(PyObject* L, PyObject* v) {
+ /* None.proto */
+ static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname);
+ 
+-/* ForceInitThreads.proto */
+-#ifndef __PYX_FORCE_INIT_THREADS
+-  #define __PYX_FORCE_INIT_THREADS 0
+-#endif
+-
+ /* None.proto */
+ static CYTHON_INLINE long __Pyx_div_long(long, long);
+ 
+@@ -1460,11 +1870,31 @@ static void __Pyx_WriteUnraisable(const char *name, int clineno,
+                                   int lineno, const char *filename,
+                                   int full_traceback, int nogil);
+ 
++/* ImportFrom.proto */
++static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
++
++/* HasAttr.proto */
++static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
++
++/* PyObject_GenericGetAttrNoDict.proto */
++#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
++#else
++#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr
++#endif
++
++/* PyObject_GenericGetAttr.proto */
++#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name);
++#else
++#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
++#endif
++
+ /* SetVTable.proto */
+ static int __Pyx_SetVtable(PyObject *dict, void *vtable);
+ 
+-/* ImportFrom.proto */
+-static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
++/* SetupReduce.proto */
++static int __Pyx_setup_reduce(PyObject* type_obj);
+ 
+ /* CalculateMetaclass.proto */
+ static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases);
+@@ -1474,7 +1904,6 @@ static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);
+ 
+ /* CythonFunction.proto */
+ #define __Pyx_CyFunction_USED 1
+-#include 
+ #define __Pyx_CYFUNCTION_STATICMETHOD  0x01
+ #define __Pyx_CYFUNCTION_CLASSMETHOD   0x02
+ #define __Pyx_CYFUNCTION_CCLASS        0x04
+@@ -1526,6 +1955,17 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m,
+                                                               PyObject *dict);
+ static int __pyx_CyFunction_init(void);
+ 
++/* SetNameInClass.proto */
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
++#define __Pyx_SetNameInClass(ns, name, value)\
++    (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value))
++#elif CYTHON_COMPILING_IN_CPYTHON
++#define __Pyx_SetNameInClass(ns, name, value)\
++    (likely(PyDict_CheckExact(ns)) ? PyDict_SetItem(ns, name, value) : PyObject_SetItem(ns, name, value))
++#else
++#define __Pyx_SetNameInClass(ns, name, value)  PyObject_SetItem(ns, name, value)
++#endif
++
+ /* Py3ClassCreate.proto */
+ static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name, PyObject *qualname,
+                                            PyObject *mkw, PyObject *modname, PyObject *doc);
+@@ -1551,6 +1991,13 @@ static PyTypeObject *__pyx_FusedFunctionType = NULL;
+ static int __pyx_FusedFunction_init(void);
+ #define __Pyx_FusedFunction_USED
+ 
++/* CLineInTraceback.proto */
++#ifdef CYTHON_CLINE_IN_TRACEBACK
++#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
++#else
++static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
++#endif
++
+ /* CodeObjectCache.proto */
+ typedef struct {
+     PyCodeObject* code_object;
+@@ -1593,13 +2040,8 @@ typedef struct {
+   __Pyx_Buf_DimInfo diminfo[8];
+ } __Pyx_LocalBuf_ND;
+ 
+-/* None.proto */
+-static Py_ssize_t __Pyx_zeros[] = {0, 0, 0, 0, 0, 0, 0, 0};
+-static Py_ssize_t __Pyx_minusones[] = {-1, -1, -1, -1, -1, -1, -1, -1};
+-
+ /* MemviewSliceIsContig.proto */
+-static int __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+-                                        char order, int ndim);
++static int __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim);
+ 
+ /* OverlappingSlices.proto */
+ static int __pyx_slices_overlap(__Pyx_memviewslice *slice1,
+@@ -1624,18 +2066,15 @@ static int __Pyx_ValidateAndInit_memviewslice(
+                 PyObject *original_obj);
+ 
+ /* ObjectToMemviewSlice.proto */
+-static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *);
++static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *, int writable_flag);
+ 
+ /* CIntToPy.proto */
+ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);
+ 
+-/* BytesContains.proto */
+-static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
+-
+ /* CIntToPy.proto */
+ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value);
+ 
+-/* None.proto */
++/* RealImag.proto */
+ #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     #define __Pyx_CREAL(z) ((z).real())
+@@ -1648,7 +2087,8 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value)
+     #define __Pyx_CREAL(z) ((z).real)
+     #define __Pyx_CIMAG(z) ((z).imag)
+ #endif
+-#if defined(__cplusplus) && CYTHON_CCOMPLEX         && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
++#if defined(__cplusplus) && CYTHON_CCOMPLEX\
++        && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
+     #define __Pyx_SET_CREAL(z,x) ((z).real(x))
+     #define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
+ #else
+@@ -1656,85 +2096,79 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value)
+     #define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y)
+ #endif
+ 
+-/* None.proto */
+-static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float);
+-
+-/* None.proto */
++/* Arithmetic.proto */
+ #if CYTHON_CCOMPLEX
+-    #define __Pyx_c_eqf(a, b)   ((a)==(b))
+-    #define __Pyx_c_sumf(a, b)  ((a)+(b))
+-    #define __Pyx_c_difff(a, b) ((a)-(b))
+-    #define __Pyx_c_prodf(a, b) ((a)*(b))
+-    #define __Pyx_c_quotf(a, b) ((a)/(b))
+-    #define __Pyx_c_negf(a)     (-(a))
++    #define __Pyx_c_eq_float(a, b)   ((a)==(b))
++    #define __Pyx_c_sum_float(a, b)  ((a)+(b))
++    #define __Pyx_c_diff_float(a, b) ((a)-(b))
++    #define __Pyx_c_prod_float(a, b) ((a)*(b))
++    #define __Pyx_c_quot_float(a, b) ((a)/(b))
++    #define __Pyx_c_neg_float(a)     (-(a))
+   #ifdef __cplusplus
+-    #define __Pyx_c_is_zerof(z) ((z)==(float)0)
+-    #define __Pyx_c_conjf(z)    (::std::conj(z))
++    #define __Pyx_c_is_zero_float(z) ((z)==(float)0)
++    #define __Pyx_c_conj_float(z)    (::std::conj(z))
+     #if 1
+-        #define __Pyx_c_absf(z)     (::std::abs(z))
+-        #define __Pyx_c_powf(a, b)  (::std::pow(a, b))
++        #define __Pyx_c_abs_float(z)     (::std::abs(z))
++        #define __Pyx_c_pow_float(a, b)  (::std::pow(a, b))
+     #endif
+   #else
+-    #define __Pyx_c_is_zerof(z) ((z)==0)
+-    #define __Pyx_c_conjf(z)    (conjf(z))
++    #define __Pyx_c_is_zero_float(z) ((z)==0)
++    #define __Pyx_c_conj_float(z)    (conjf(z))
+     #if 1
+-        #define __Pyx_c_absf(z)     (cabsf(z))
+-        #define __Pyx_c_powf(a, b)  (cpowf(a, b))
++        #define __Pyx_c_abs_float(z)     (cabsf(z))
++        #define __Pyx_c_pow_float(a, b)  (cpowf(a, b))
+     #endif
+  #endif
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex, __pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex);
+-    static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex);
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex);
++    static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex, __pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex);
++    static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex);
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex);
+     #if 1
+-        static CYTHON_INLINE float __Pyx_c_absf(__pyx_t_float_complex);
+-        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex, __pyx_t_float_complex);
++        static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex);
++        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex, __pyx_t_float_complex);
+     #endif
+ #endif
+ 
+-/* None.proto */
+-static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double);
+-
+-/* None.proto */
++/* Arithmetic.proto */
+ #if CYTHON_CCOMPLEX
+-    #define __Pyx_c_eq(a, b)   ((a)==(b))
+-    #define __Pyx_c_sum(a, b)  ((a)+(b))
+-    #define __Pyx_c_diff(a, b) ((a)-(b))
+-    #define __Pyx_c_prod(a, b) ((a)*(b))
+-    #define __Pyx_c_quot(a, b) ((a)/(b))
+-    #define __Pyx_c_neg(a)     (-(a))
++    #define __Pyx_c_eq_double(a, b)   ((a)==(b))
++    #define __Pyx_c_sum_double(a, b)  ((a)+(b))
++    #define __Pyx_c_diff_double(a, b) ((a)-(b))
++    #define __Pyx_c_prod_double(a, b) ((a)*(b))
++    #define __Pyx_c_quot_double(a, b) ((a)/(b))
++    #define __Pyx_c_neg_double(a)     (-(a))
+   #ifdef __cplusplus
+-    #define __Pyx_c_is_zero(z) ((z)==(double)0)
+-    #define __Pyx_c_conj(z)    (::std::conj(z))
++    #define __Pyx_c_is_zero_double(z) ((z)==(double)0)
++    #define __Pyx_c_conj_double(z)    (::std::conj(z))
+     #if 1
+-        #define __Pyx_c_abs(z)     (::std::abs(z))
+-        #define __Pyx_c_pow(a, b)  (::std::pow(a, b))
++        #define __Pyx_c_abs_double(z)     (::std::abs(z))
++        #define __Pyx_c_pow_double(a, b)  (::std::pow(a, b))
+     #endif
+   #else
+-    #define __Pyx_c_is_zero(z) ((z)==0)
+-    #define __Pyx_c_conj(z)    (conj(z))
++    #define __Pyx_c_is_zero_double(z) ((z)==0)
++    #define __Pyx_c_conj_double(z)    (conj(z))
+     #if 1
+-        #define __Pyx_c_abs(z)     (cabs(z))
+-        #define __Pyx_c_pow(a, b)  (cpow(a, b))
++        #define __Pyx_c_abs_double(z)     (cabs(z))
++        #define __Pyx_c_pow_double(a, b)  (cpow(a, b))
+     #endif
+  #endif
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex, __pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex);
+-    static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex);
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex);
++    static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex, __pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex);
++    static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex);
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex);
+     #if 1
+-        static CYTHON_INLINE double __Pyx_c_abs(__pyx_t_double_complex);
+-        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex, __pyx_t_double_complex);
++        static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex);
++        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex, __pyx_t_double_complex);
+     #endif
+ #endif
+ 
+@@ -1754,17 +2188,24 @@ __pyx_memoryview_copy_new_contig(const __Pyx_memviewslice *from_mvs,
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *);
+ 
++/* BytesContains.proto */
++static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character);
++
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);
+ 
+-/* CIntFromPy.proto */
+-static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *);
++/* ImportNumPyArray.proto */
++static PyObject *__pyx_numpy_ndarray = NULL;
++static PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void);
+ 
+ /* CIntFromPy.proto */
+ static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);
+ 
++/* CIntFromPy.proto */
++static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *);
++
+ /* ObjectToMemviewSlice.proto */
+-static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyObject *);
++static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyObject *, int writable_flag);
+ 
+ /* CheckBinaryVersion.proto */
+ static int __Pyx_check_binary_version(void);
+@@ -1885,8 +2326,6 @@ static PyTypeObject *__pyx_ptype_7cpython_7complex_complex = 0;
+ 
+ /* Module declarations from 'cpython' */
+ 
+-/* Module declarations from 'libc.stdlib' */
+-
+ /* Module declarations from 'numpy' */
+ 
+ /* Module declarations from 'numpy' */
+@@ -1941,19 +2380,19 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *, Py_ssize
+ static void __pyx_memoryview_refcount_objects_in_slice(char *, Py_ssize_t *, Py_ssize_t *, int, int); /*proto*/
+ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *, int, size_t, void *, int); /*proto*/
+ static void __pyx_memoryview__slice_assign_scalar(char *, Py_ssize_t *, Py_ssize_t *, int, size_t, void *); /*proto*/
++static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *, PyObject *); /*proto*/
+ static __Pyx_TypeInfo __Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t = { "float64_t", NULL, sizeof(__pyx_t_5numpy_float64_t), { 0 }, 0, 'R', 0, 0 };
+ #define __Pyx_MODULE_NAME "pyresample.ewa._ll2cr"
++extern int __pyx_module_is_main_pyresample__ewa___ll2cr;
+ int __pyx_module_is_main_pyresample__ewa___ll2cr = 0;
+ 
+ /* Implementation of 'pyresample.ewa._ll2cr' */
+ static PyObject *__pyx_builtin_super;
+-static PyObject *__pyx_builtin_ImportError;
+-static PyObject *__pyx_builtin_AttributeError;
+ static PyObject *__pyx_builtin_TypeError;
+-static PyObject *__pyx_builtin_zip;
+ static PyObject *__pyx_builtin_range;
+ static PyObject *__pyx_builtin_ValueError;
+ static PyObject *__pyx_builtin_RuntimeError;
++static PyObject *__pyx_builtin_ImportError;
+ static PyObject *__pyx_builtin_MemoryError;
+ static PyObject *__pyx_builtin_enumerate;
+ static PyObject *__pyx_builtin_Ellipsis;
+@@ -1963,6 +2402,7 @@ static const char __pyx_k_O[] = "O";
+ static const char __pyx_k_c[] = "c";
+ static const char __pyx_k_h[] = "h";
+ static const char __pyx_k_p[] = "p";
++static const char __pyx_k_s[] = "s";
+ static const char __pyx_k_w[] = "w";
+ static const char __pyx_k__2[] = "()";
+ static const char __pyx_k__4[] = "|";
+@@ -1980,13 +2420,14 @@ static const char __pyx_k_doc[] = "__doc__";
+ static const char __pyx_k_fwd[] = "_fwd";
+ static const char __pyx_k_get[] = "get";
+ static const char __pyx_k_inv[] = "_inv";
++static const char __pyx_k_new[] = "__new__";
+ static const char __pyx_k_obj[] = "obj";
+ static const char __pyx_k_row[] = "row";
+-static const char __pyx_k_zip[] = "zip";
+ static const char __pyx_k_Proj[] = "Proj";
+ static const char __pyx_k_args[] = "args";
+ static const char __pyx_k_base[] = "base";
+ static const char __pyx_k_call[] = "__call__";
++static const char __pyx_k_dict[] = "__dict__";
+ static const char __pyx_k_kind[] = "kind";
+ static const char __pyx_k_lat0[] = "lat0";
+ static const char __pyx_k_lat1[] = "lat1";
+@@ -2032,55 +2473,71 @@ static const char __pyx_k_import[] = "__import__";
+ static const char __pyx_k_kwargs[] = "kwargs";
+ static const char __pyx_k_module[] = "__module__";
+ static const char __pyx_k_name_2[] = "__name__";
++static const char __pyx_k_pickle[] = "pickle";
+ static const char __pyx_k_pyproj[] = "pyproj";
++static const char __pyx_k_reduce[] = "__reduce__";
+ static const char __pyx_k_struct[] = "struct";
+ static const char __pyx_k_unpack[] = "unpack";
++static const char __pyx_k_update[] = "update";
+ static const char __pyx_k_fill_in[] = "fill_in";
+ static const char __pyx_k_fortran[] = "fortran";
+ static const char __pyx_k_inverse[] = "inverse";
+ static const char __pyx_k_lat_arr[] = "lat_arr";
+ static const char __pyx_k_lon_arr[] = "lon_arr";
+ static const char __pyx_k_memview[] = "memview";
+-static const char __pyx_k_ndarray[] = "ndarray";
+ static const char __pyx_k_prepare[] = "__prepare__";
+ static const char __pyx_k_radians[] = "radians";
+ static const char __pyx_k_Ellipsis[] = "Ellipsis";
+ static const char __pyx_k_cols_out[] = "cols_out";
+ static const char __pyx_k_defaults[] = "defaults";
+ static const char __pyx_k_errcheck[] = "errcheck";
++static const char __pyx_k_getstate[] = "__getstate__";
+ static const char __pyx_k_itemsize[] = "itemsize";
+ static const char __pyx_k_num_cols[] = "num_cols";
+ static const char __pyx_k_num_rows[] = "num_rows";
+ static const char __pyx_k_origin_x[] = "origin_x";
+ static const char __pyx_k_origin_y[] = "origin_y";
++static const char __pyx_k_pyx_type[] = "__pyx_type";
+ static const char __pyx_k_qualname[] = "__qualname__";
+ static const char __pyx_k_rows_out[] = "rows_out";
++static const char __pyx_k_setstate[] = "__setstate__";
+ static const char __pyx_k_TypeError[] = "TypeError";
+ static const char __pyx_k_docformat[] = "__docformat__";
+ static const char __pyx_k_enumerate[] = "enumerate";
+ static const char __pyx_k_float64_t[] = "float64_t";
+ static const char __pyx_k_metaclass[] = "__metaclass__";
++static const char __pyx_k_pyx_state[] = "__pyx_state";
++static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
+ static const char __pyx_k_IndexError[] = "IndexError";
+ static const char __pyx_k_ValueError[] = "ValueError";
+ static const char __pyx_k_cell_width[] = "cell_width";
+ static const char __pyx_k_is_latlong[] = "is_latlong";
++static const char __pyx_k_pyx_result[] = "__pyx_result";
+ static const char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
+ static const char __pyx_k_signatures[] = "signatures";
+ static const char __pyx_k_ImportError[] = "ImportError";
+ static const char __pyx_k_MemoryError[] = "MemoryError";
++static const char __pyx_k_PickleError[] = "PickleError";
+ static const char __pyx_k_cell_height[] = "cell_height";
+ static const char __pyx_k_proj_circum[] = "proj_circum";
+ static const char __pyx_k_RuntimeError[] = "RuntimeError";
+ static const char __pyx_k_ll2cr_static[] = "ll2cr_static";
++static const char __pyx_k_pyx_checksum[] = "__pyx_checksum";
++static const char __pyx_k_stringsource[] = "stringsource";
+ static const char __pyx_k_MyProj___call[] = "MyProj.__call__";
+ static const char __pyx_k_ll2cr_dynamic[] = "ll2cr_dynamic";
+ static const char __pyx_k_pyx_getbuffer[] = "__pyx_getbuffer";
+-static const char __pyx_k_AttributeError[] = "AttributeError";
++static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
+ static const char __pyx_k_points_in_grid[] = "points_in_grid";
++static const char __pyx_k_View_MemoryView[] = "View.MemoryView";
+ static const char __pyx_k_allocate_buffer[] = "allocate_buffer";
+ static const char __pyx_k_dtype_is_object[] = "dtype_is_object";
+ static const char __pyx_k_projected_tuple[] = "projected_tuple";
++static const char __pyx_k_pyx_PickleError[] = "__pyx_PickleError";
++static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
+ static const char __pyx_k_proj4_definition[] = "proj4_definition";
++static const char __pyx_k_pyx_unpickle_Enum[] = "__pyx_unpickle_Enum";
++static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
+ static const char __pyx_k_strided_and_direct[] = "";
+ static const char __pyx_k_restructuredtext_en[] = "restructuredtext en";
+ static const char __pyx_k_strided_and_indirect[] = "";
+@@ -2092,20 +2549,24 @@ static const char __pyx_k_contiguous_and_indirect[] = "
+ static const char __pyx_k_Cannot_index_with_type_s[] = "Cannot index with type '%s'";
+ static const char __pyx_k_projection_circumference[] = "projection_circumference";
+ static const char __pyx_k_Invalid_shape_in_axis_d_d[] = "Invalid shape in axis %d: %d.";
++static const char __pyx_k_pyresample_ewa__ll2cr_pyx[] = "pyresample/ewa/_ll2cr.pyx";
+ static const char __pyx_k_No_matching_signature_found[] = "No matching signature found";
+ static const char __pyx_k_itemsize_0_for_cython_array[] = "itemsize <= 0 for cython.array";
+ static const char __pyx_k_ndarray_is_not_C_contiguous[] = "ndarray is not C contiguous";
+-static const char __pyx_k_Expected_at_least_d_arguments[] = "Expected at least %d arguments";
+ static const char __pyx_k_unable_to_allocate_array_data[] = "unable to allocate array data.";
+ static const char __pyx_k_strided_and_direct_or_indirect[] = "";
+-static const char __pyx_k_Users_davidh_repos_git_pyresamp[] = "/Users/davidh/repos/git/pyresample/pyresample/ewa/_ll2cr.pyx";
++static const char __pyx_k_numpy_core_multiarray_failed_to[] = "numpy.core.multiarray failed to import";
+ static const char __pyx_k_unknown_dtype_code_in_numpy_pxd[] = "unknown dtype code in numpy.pxd (%d)";
+ static const char __pyx_k_Buffer_view_does_not_expose_stri[] = "Buffer view does not expose strides";
+ static const char __pyx_k_Can_only_create_a_buffer_that_is[] = "Can only create a buffer that is contiguous in memory.";
++static const char __pyx_k_Cannot_assign_to_read_only_memor[] = "Cannot assign to read-only memoryview";
++static const char __pyx_k_Cannot_create_writable_memory_vi[] = "Cannot create writable memory view from read-only memoryview";
+ static const char __pyx_k_Custom_class_to_make_ll2cr_proje[] = "Custom class to make ll2cr projection work faster without compiling against the PROJ.4 library itself.\n\n    THIS SHOULD NOT BE USED OUTSIDE OF LL2CR! It makes assumptions and has requirements that may not make sense outside\n    of the ll2cr modules.\n    ";
+ static const char __pyx_k_Empty_shape_tuple_for_cython_arr[] = "Empty shape tuple for cython.array";
++static const char __pyx_k_Expected_at_least_d_argument_s_g[] = "Expected at least %d argument%s, got %d";
+ static const char __pyx_k_Format_string_allocated_too_shor[] = "Format string allocated too short, see comment in numpy.pxd";
+ static const char __pyx_k_Function_call_with_ambiguous_arg[] = "Function call with ambiguous argument types";
++static const char __pyx_k_Incompatible_checksums_s_vs_0xb0[] = "Incompatible checksums (%s vs 0xb068931 = (name))";
+ static const char __pyx_k_Indirect_dimensions_not_supporte[] = "Indirect dimensions not supported";
+ static const char __pyx_k_Invalid_mode_expected_c_or_fortr[] = "Invalid mode, expected 'c' or 'fortran', got %s";
+ static const char __pyx_k_Map_longitude_latitude_points_to[] = "Map longitude/latitude points to column/rows of a grid.\n";
+@@ -2114,21 +2575,25 @@ static const char __pyx_k_Out_of_bounds_on_buffer_access_a[] = "Out of bounds on
+ static const char __pyx_k_Unable_to_convert_item_to_object[] = "Unable to convert item to object";
+ static const char __pyx_k_got_differing_extents_in_dimensi[] = "got differing extents in dimension %d (got %d and %d)";
+ static const char __pyx_k_ndarray_is_not_Fortran_contiguou[] = "ndarray is not Fortran contiguous";
++static const char __pyx_k_no_default___reduce___due_to_non[] = "no default __reduce__ due to non-trivial __cinit__";
++static const char __pyx_k_numpy_core_umath_failed_to_impor[] = "numpy.core.umath failed to import";
+ static const char __pyx_k_unable_to_allocate_shape_and_str[] = "unable to allocate shape and strides.";
+ static const char __pyx_k_Format_string_allocated_too_shor_2[] = "Format string allocated too short.";
+ static PyObject *__pyx_n_s_ASCII;
+-static PyObject *__pyx_n_s_AttributeError;
+ static PyObject *__pyx_kp_s_Buffer_view_does_not_expose_stri;
+ static PyObject *__pyx_kp_s_Can_only_create_a_buffer_that_is;
++static PyObject *__pyx_kp_s_Cannot_assign_to_read_only_memor;
++static PyObject *__pyx_kp_s_Cannot_create_writable_memory_vi;
+ static PyObject *__pyx_kp_s_Cannot_index_with_type_s;
+ static PyObject *__pyx_kp_s_Custom_class_to_make_ll2cr_proje;
+ static PyObject *__pyx_n_s_Ellipsis;
+ static PyObject *__pyx_kp_s_Empty_shape_tuple_for_cython_arr;
+-static PyObject *__pyx_kp_s_Expected_at_least_d_arguments;
++static PyObject *__pyx_kp_s_Expected_at_least_d_argument_s_g;
+ static PyObject *__pyx_kp_u_Format_string_allocated_too_shor;
+ static PyObject *__pyx_kp_u_Format_string_allocated_too_shor_2;
+ static PyObject *__pyx_kp_s_Function_call_with_ambiguous_arg;
+ static PyObject *__pyx_n_s_ImportError;
++static PyObject *__pyx_kp_s_Incompatible_checksums_s_vs_0xb0;
+ static PyObject *__pyx_n_s_IndexError;
+ static PyObject *__pyx_kp_s_Indirect_dimensions_not_supporte;
+ static PyObject *__pyx_kp_s_Invalid_mode_expected_c_or_fortr;
+@@ -2142,12 +2607,13 @@ static PyObject *__pyx_kp_s_No_matching_signature_found;
+ static PyObject *__pyx_kp_u_Non_native_byte_order_not_suppor;
+ static PyObject *__pyx_n_b_O;
+ static PyObject *__pyx_kp_s_Out_of_bounds_on_buffer_access_a;
++static PyObject *__pyx_n_s_PickleError;
+ static PyObject *__pyx_n_s_Proj;
+ static PyObject *__pyx_n_s_RuntimeError;
+ static PyObject *__pyx_n_s_TypeError;
+ static PyObject *__pyx_kp_s_Unable_to_convert_item_to_object;
+-static PyObject *__pyx_kp_s_Users_davidh_repos_git_pyresamp;
+ static PyObject *__pyx_n_s_ValueError;
++static PyObject *__pyx_n_s_View_MemoryView;
+ static PyObject *__pyx_kp_s__2;
+ static PyObject *__pyx_kp_s__4;
+ static PyObject *__pyx_n_s_allocate_buffer;
+@@ -2159,11 +2625,13 @@ static PyObject *__pyx_n_s_call;
+ static PyObject *__pyx_n_s_cell_height;
+ static PyObject *__pyx_n_s_cell_width;
+ static PyObject *__pyx_n_s_class;
++static PyObject *__pyx_n_s_cline_in_traceback;
+ static PyObject *__pyx_n_s_col;
+ static PyObject *__pyx_n_s_cols_out;
+ static PyObject *__pyx_kp_s_contiguous_and_direct;
+ static PyObject *__pyx_kp_s_contiguous_and_indirect;
+ static PyObject *__pyx_n_s_defaults;
++static PyObject *__pyx_n_s_dict;
+ static PyObject *__pyx_n_s_doc;
+ static PyObject *__pyx_n_s_docformat;
+ static PyObject *__pyx_n_s_dtype;
+@@ -2180,6 +2648,7 @@ static PyObject *__pyx_n_s_fortran;
+ static PyObject *__pyx_n_u_fortran;
+ static PyObject *__pyx_n_s_fwd;
+ static PyObject *__pyx_n_s_get;
++static PyObject *__pyx_n_s_getstate;
+ static PyObject *__pyx_kp_s_got_differing_extents_in_dimensi;
+ static PyObject *__pyx_n_s_h;
+ static PyObject *__pyx_n_s_height;
+@@ -2209,13 +2678,16 @@ static PyObject *__pyx_n_s_mode;
+ static PyObject *__pyx_n_s_module;
+ static PyObject *__pyx_n_s_name;
+ static PyObject *__pyx_n_s_name_2;
+-static PyObject *__pyx_n_s_ndarray;
+ static PyObject *__pyx_kp_u_ndarray_is_not_C_contiguous;
+ static PyObject *__pyx_kp_u_ndarray_is_not_Fortran_contiguou;
+ static PyObject *__pyx_n_s_ndim;
++static PyObject *__pyx_n_s_new;
++static PyObject *__pyx_kp_s_no_default___reduce___due_to_non;
+ static PyObject *__pyx_n_s_num_cols;
+ static PyObject *__pyx_n_s_num_rows;
+ static PyObject *__pyx_n_s_numpy;
++static PyObject *__pyx_kp_s_numpy_core_multiarray_failed_to;
++static PyObject *__pyx_kp_s_numpy_core_umath_failed_to_impor;
+ static PyObject *__pyx_n_s_obj;
+ static PyObject *__pyx_n_s_origin_x;
+ static PyObject *__pyx_n_s_origin_y;
+@@ -2223,6 +2695,7 @@ static PyObject *__pyx_n_s_ox;
+ static PyObject *__pyx_n_s_oy;
+ static PyObject *__pyx_n_s_p;
+ static PyObject *__pyx_n_s_pack;
++static PyObject *__pyx_n_s_pickle;
+ static PyObject *__pyx_n_s_points_in_grid;
+ static PyObject *__pyx_n_s_prepare;
+ static PyObject *__pyx_n_s_proj;
+@@ -2232,15 +2705,28 @@ static PyObject *__pyx_n_s_projected_tuple;
+ static PyObject *__pyx_n_s_projection_circumference;
+ static PyObject *__pyx_n_s_pyproj;
+ static PyObject *__pyx_n_s_pyresample_ewa__ll2cr;
++static PyObject *__pyx_kp_s_pyresample_ewa__ll2cr_pyx;
++static PyObject *__pyx_n_s_pyx_PickleError;
++static PyObject *__pyx_n_s_pyx_checksum;
+ static PyObject *__pyx_n_s_pyx_getbuffer;
++static PyObject *__pyx_n_s_pyx_result;
++static PyObject *__pyx_n_s_pyx_state;
++static PyObject *__pyx_n_s_pyx_type;
++static PyObject *__pyx_n_s_pyx_unpickle_Enum;
+ static PyObject *__pyx_n_s_pyx_vtable;
+ static PyObject *__pyx_n_s_qualname;
+ static PyObject *__pyx_n_s_radians;
+ static PyObject *__pyx_n_s_range;
++static PyObject *__pyx_n_s_reduce;
++static PyObject *__pyx_n_s_reduce_cython;
++static PyObject *__pyx_n_s_reduce_ex;
+ static PyObject *__pyx_kp_s_restructuredtext_en;
+ static PyObject *__pyx_n_s_row;
+ static PyObject *__pyx_n_s_rows_out;
++static PyObject *__pyx_n_s_s;
+ static PyObject *__pyx_n_s_self;
++static PyObject *__pyx_n_s_setstate;
++static PyObject *__pyx_n_s_setstate_cython;
+ static PyObject *__pyx_n_s_shape;
+ static PyObject *__pyx_n_s_signatures;
+ static PyObject *__pyx_n_s_size;
+@@ -2251,6 +2737,7 @@ static PyObject *__pyx_n_s_stop;
+ static PyObject *__pyx_kp_s_strided_and_direct;
+ static PyObject *__pyx_kp_s_strided_and_direct_or_indirect;
+ static PyObject *__pyx_kp_s_strided_and_indirect;
++static PyObject *__pyx_kp_s_stringsource;
+ static PyObject *__pyx_n_s_strip;
+ static PyObject *__pyx_n_s_struct;
+ static PyObject *__pyx_n_s_super;
+@@ -2259,6 +2746,7 @@ static PyObject *__pyx_kp_s_unable_to_allocate_array_data;
+ static PyObject *__pyx_kp_s_unable_to_allocate_shape_and_str;
+ static PyObject *__pyx_kp_u_unknown_dtype_code_in_numpy_pxd;
+ static PyObject *__pyx_n_s_unpack;
++static PyObject *__pyx_n_s_update;
+ static PyObject *__pyx_n_s_w;
+ static PyObject *__pyx_n_s_width;
+ static PyObject *__pyx_n_s_x0;
+@@ -2273,7 +2761,6 @@ static PyObject *__pyx_n_s_y2;
+ static PyObject *__pyx_n_s_y_tmp;
+ static PyObject *__pyx_n_s_ymax;
+ static PyObject *__pyx_n_s_ymin;
+-static PyObject *__pyx_n_s_zip;
+ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6MyProj___call__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_lons, PyObject *__pyx_v_lats, PyObject *__pyx_v_kwargs); /* proto */
+ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_p); /* proto */
+ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_signatures, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, CYTHON_UNUSED PyObject *__pyx_v_defaults); /* proto */
+@@ -2287,11 +2774,16 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(struct __pyx_array_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */
+ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self); /* proto */
+ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct __pyx_array_obj *__pyx_v_self); /* proto */
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr); /* proto */
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
+-static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /* proto */
++static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr); /* proto */
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
++static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /* proto */
++static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
+ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
+ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */
+ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_obj, int __pyx_v_flags, int __pyx_v_dtype_is_object); /* proto */
+ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */
+ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index); /* proto */
+@@ -2313,18 +2805,27 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */
+ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */
+ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
+ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto */
+ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__(struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto */
++static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
++static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */
+ static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
+ static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
+ static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
+ static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
++static __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get = {0, &__pyx_n_s_get, 0, 0, 0};
+ static PyObject *__pyx_float_0_0;
+ static PyObject *__pyx_float_5_0;
+ static PyObject *__pyx_float_180_0;
+ static PyObject *__pyx_int_0;
+ static PyObject *__pyx_int_1;
+ static PyObject *__pyx_int_2;
++static PyObject *__pyx_int_6;
++static PyObject *__pyx_int_10;
++static PyObject *__pyx_int_184977713;
+ static PyObject *__pyx_int_neg_1;
+ static PyObject *__pyx_tuple_;
+ static PyObject *__pyx_tuple__3;
+@@ -2333,9 +2834,9 @@ static PyObject *__pyx_tuple__6;
+ static PyObject *__pyx_tuple__7;
+ static PyObject *__pyx_tuple__8;
+ static PyObject *__pyx_tuple__9;
+-static PyObject *__pyx_slice__27;
+-static PyObject *__pyx_slice__28;
+-static PyObject *__pyx_slice__29;
++static PyObject *__pyx_slice__36;
++static PyObject *__pyx_slice__37;
++static PyObject *__pyx_slice__38;
+ static PyObject *__pyx_tuple__10;
+ static PyObject *__pyx_tuple__11;
+ static PyObject *__pyx_tuple__12;
+@@ -2353,20 +2854,34 @@ static PyObject *__pyx_tuple__23;
+ static PyObject *__pyx_tuple__24;
+ static PyObject *__pyx_tuple__25;
+ static PyObject *__pyx_tuple__26;
++static PyObject *__pyx_tuple__27;
++static PyObject *__pyx_tuple__28;
++static PyObject *__pyx_tuple__29;
+ static PyObject *__pyx_tuple__30;
+ static PyObject *__pyx_tuple__31;
++static PyObject *__pyx_tuple__32;
+ static PyObject *__pyx_tuple__33;
++static PyObject *__pyx_tuple__34;
+ static PyObject *__pyx_tuple__35;
+-static PyObject *__pyx_tuple__37;
+ static PyObject *__pyx_tuple__39;
+ static PyObject *__pyx_tuple__40;
+ static PyObject *__pyx_tuple__41;
+ static PyObject *__pyx_tuple__42;
+-static PyObject *__pyx_tuple__43;
+-static PyObject *__pyx_codeobj__32;
+-static PyObject *__pyx_codeobj__34;
+-static PyObject *__pyx_codeobj__36;
+-static PyObject *__pyx_codeobj__38;
++static PyObject *__pyx_tuple__44;
++static PyObject *__pyx_tuple__46;
++static PyObject *__pyx_tuple__48;
++static PyObject *__pyx_tuple__50;
++static PyObject *__pyx_tuple__51;
++static PyObject *__pyx_tuple__52;
++static PyObject *__pyx_tuple__53;
++static PyObject *__pyx_tuple__54;
++static PyObject *__pyx_tuple__55;
++static PyObject *__pyx_codeobj__43;
++static PyObject *__pyx_codeobj__45;
++static PyObject *__pyx_codeobj__47;
++static PyObject *__pyx_codeobj__49;
++static PyObject *__pyx_codeobj__56;
++/* Late includes */
+ 
+ /* "pyresample/ewa/_ll2cr.pyx":48
+  *     of the ll2cr modules.
+@@ -2397,23 +2912,28 @@ static PyObject *__pyx_pw_10pyresample_3ewa_6_ll2cr_6MyProj_1__call__(PyObject *
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lons)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lons)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__call__", 1, 3, 3, 1); __PYX_ERR(0, 48, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lats)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lats)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__call__", 1, 3, 3, 2); __PYX_ERR(0, 48, __pyx_L3_error)
+         }
+@@ -2473,7 +2993,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6MyProj___call__(CYTHON_UNUS
+   __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_is_latlong); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 49, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_3 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -2606,7 +3126,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6MyProj___call__(CYTHON_UNUS
+       __Pyx_INCREF(__pyx_v_lats);
+       __Pyx_GIVEREF(__pyx_v_lats);
+       PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_lats);
+-      __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 58, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 58, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_radians, __pyx_v_radians) < 0) __PYX_ERR(0, 58, __pyx_L1_error)
+       if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_errcheck, __pyx_v_errcheck) < 0) __PYX_ERR(0, 58, __pyx_L1_error)
+@@ -2654,7 +3174,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6MyProj___call__(CYTHON_UNUS
+       __Pyx_INCREF(__pyx_v_lats);
+       __Pyx_GIVEREF(__pyx_v_lats);
+       PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_lats);
+-      __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 60, __pyx_L1_error)
++      __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 60, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_2);
+       if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_radians, __pyx_v_radians) < 0) __PYX_ERR(0, 60, __pyx_L1_error)
+       if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_errcheck, __pyx_v_errcheck) < 0) __PYX_ERR(0, 60, __pyx_L1_error)
+@@ -2804,7 +3324,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   PyObject *__pyx_t_3 = NULL;
+   PyObject *__pyx_t_4 = NULL;
+   PyObject *(*__pyx_t_5)(PyObject *);
+-  Py_ssize_t __pyx_t_6;
++  int __pyx_t_6;
+   int __pyx_t_7;
+   int __pyx_t_8;
+   __Pyx_RefNannySetupContext("projection_circumference", 0);
+@@ -2816,7 +3336,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+  *     lon1 = lon0 + 180.0
+  *     lat1 = lat0 + 5.0
+  */
+-  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 73, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 73, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_inverse, Py_True) < 0) __PYX_ERR(0, 73, __pyx_L1_error)
+   __pyx_t_2 = __Pyx_PyObject_Call(__pyx_v_p, __pyx_tuple_, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 73, __pyx_L1_error)
+@@ -2824,17 +3344,13 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) {
+     PyObject* sequence = __pyx_t_2;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+       __PYX_ERR(0, 73, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     if (likely(PyTuple_CheckExact(sequence))) {
+       __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); 
+@@ -2911,7 +3427,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   __Pyx_INCREF(__pyx_v_p);
+   __pyx_t_3 = __pyx_v_p; __pyx_t_1 = NULL;
+   __pyx_t_6 = 0;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_3))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
+     __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3);
+     if (likely(__pyx_t_1)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
+@@ -2921,34 +3437,48 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+       __pyx_t_6 = 1;
+     }
+   }
+-  __pyx_t_4 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 76, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_4);
+-  if (__pyx_t_1) {
+-    __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1); __pyx_t_1 = NULL;
+-  }
+-  __Pyx_INCREF(__pyx_v_lon0);
+-  __Pyx_GIVEREF(__pyx_v_lon0);
+-  PyTuple_SET_ITEM(__pyx_t_4, 0+__pyx_t_6, __pyx_v_lon0);
+-  __Pyx_INCREF(__pyx_v_lat0);
+-  __Pyx_GIVEREF(__pyx_v_lat0);
+-  PyTuple_SET_ITEM(__pyx_t_4, 1+__pyx_t_6, __pyx_v_lat0);
+-  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 76, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
+-  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++  #if CYTHON_FAST_PYCALL
++  if (PyFunction_Check(__pyx_t_3)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_1, __pyx_v_lon0, __pyx_v_lat0};
++    __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 76, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  #if CYTHON_FAST_PYCCALL
++  if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_1, __pyx_v_lon0, __pyx_v_lat0};
++    __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 76, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  {
++    __pyx_t_4 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 76, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    if (__pyx_t_1) {
++      __Pyx_GIVEREF(__pyx_t_1); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1); __pyx_t_1 = NULL;
++    }
++    __Pyx_INCREF(__pyx_v_lon0);
++    __Pyx_GIVEREF(__pyx_v_lon0);
++    PyTuple_SET_ITEM(__pyx_t_4, 0+__pyx_t_6, __pyx_v_lon0);
++    __Pyx_INCREF(__pyx_v_lat0);
++    __Pyx_GIVEREF(__pyx_v_lat0);
++    PyTuple_SET_ITEM(__pyx_t_4, 1+__pyx_t_6, __pyx_v_lat0);
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 76, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++  }
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) {
+     PyObject* sequence = __pyx_t_2;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+       __PYX_ERR(0, 76, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     if (likely(PyTuple_CheckExact(sequence))) {
+       __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); 
+@@ -3001,7 +3531,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   __Pyx_INCREF(__pyx_v_p);
+   __pyx_t_4 = __pyx_v_p; __pyx_t_3 = NULL;
+   __pyx_t_6 = 0;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_4))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
+@@ -3011,34 +3541,48 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+       __pyx_t_6 = 1;
+     }
+   }
+-  __pyx_t_1 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 77, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_1);
+-  if (__pyx_t_3) {
+-    __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3); __pyx_t_3 = NULL;
+-  }
+-  __Pyx_INCREF(__pyx_v_lon1);
+-  __Pyx_GIVEREF(__pyx_v_lon1);
+-  PyTuple_SET_ITEM(__pyx_t_1, 0+__pyx_t_6, __pyx_v_lon1);
+-  __Pyx_INCREF(__pyx_v_lat0);
+-  __Pyx_GIVEREF(__pyx_v_lat0);
+-  PyTuple_SET_ITEM(__pyx_t_1, 1+__pyx_t_6, __pyx_v_lat0);
+-  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 77, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
+-  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  #if CYTHON_FAST_PYCALL
++  if (PyFunction_Check(__pyx_t_4)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_lon1, __pyx_v_lat0};
++    __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 77, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  #if CYTHON_FAST_PYCCALL
++  if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_lon1, __pyx_v_lat0};
++    __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 77, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  {
++    __pyx_t_1 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 77, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    if (__pyx_t_3) {
++      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3); __pyx_t_3 = NULL;
++    }
++    __Pyx_INCREF(__pyx_v_lon1);
++    __Pyx_GIVEREF(__pyx_v_lon1);
++    PyTuple_SET_ITEM(__pyx_t_1, 0+__pyx_t_6, __pyx_v_lon1);
++    __Pyx_INCREF(__pyx_v_lat0);
++    __Pyx_GIVEREF(__pyx_v_lat0);
++    PyTuple_SET_ITEM(__pyx_t_1, 1+__pyx_t_6, __pyx_v_lat0);
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 77, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  }
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) {
+     PyObject* sequence = __pyx_t_2;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+       __PYX_ERR(0, 77, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     if (likely(PyTuple_CheckExact(sequence))) {
+       __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_1 = PyTuple_GET_ITEM(sequence, 1); 
+@@ -3091,7 +3635,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   __Pyx_INCREF(__pyx_v_p);
+   __pyx_t_1 = __pyx_v_p; __pyx_t_4 = NULL;
+   __pyx_t_6 = 0;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_1))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_1))) {
+     __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_1);
+     if (likely(__pyx_t_4)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
+@@ -3101,34 +3645,48 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+       __pyx_t_6 = 1;
+     }
+   }
+-  __pyx_t_3 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 78, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  if (__pyx_t_4) {
+-    __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
+-  }
+-  __Pyx_INCREF(__pyx_v_lon1);
+-  __Pyx_GIVEREF(__pyx_v_lon1);
+-  PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_6, __pyx_v_lon1);
+-  __Pyx_INCREF(__pyx_v_lat1);
+-  __Pyx_GIVEREF(__pyx_v_lat1);
+-  PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_6, __pyx_v_lat1);
+-  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 78, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
+-  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++  #if CYTHON_FAST_PYCALL
++  if (PyFunction_Check(__pyx_t_1)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_v_lon1, __pyx_v_lat1};
++    __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 78, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  #if CYTHON_FAST_PYCCALL
++  if (__Pyx_PyFastCFunction_Check(__pyx_t_1)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_v_lon1, __pyx_v_lat1};
++    __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_1, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 78, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_2);
++  } else
++  #endif
++  {
++    __pyx_t_3 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 78, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    if (__pyx_t_4) {
++      __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
++    }
++    __Pyx_INCREF(__pyx_v_lon1);
++    __Pyx_GIVEREF(__pyx_v_lon1);
++    PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_6, __pyx_v_lon1);
++    __Pyx_INCREF(__pyx_v_lat1);
++    __Pyx_GIVEREF(__pyx_v_lat1);
++    PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_6, __pyx_v_lat1);
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 78, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++  }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) {
+     PyObject* sequence = __pyx_t_2;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+       __PYX_ERR(0, 78, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     if (likely(PyTuple_CheckExact(sequence))) {
+       __pyx_t_1 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); 
+@@ -3224,7 +3782,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_projection_circumference(CYT
+   __Pyx_XDECREF(__pyx_r);
+   __pyx_t_2 = PyNumber_Subtract(__pyx_v_x1, __pyx_v_x0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 81, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyNumber_Absolute(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 81, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyNumber_Absolute(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 81, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_t_2 = PyNumber_Multiply(__pyx_t_3, __pyx_int_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 81, __pyx_L1_error)
+@@ -3294,29 +3852,36 @@ static PyObject *__pyx_pw_10pyresample_3ewa_6_ll2cr_3ll2cr_dynamic(PyObject *__p
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 1); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 2); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 3); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
+@@ -3354,8 +3919,8 @@ static PyObject *__pyx_pw_10pyresample_3ewa_6_ll2cr_3ll2cr_dynamic(PyObject *__p
+ 
+ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_signatures, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, CYTHON_UNUSED PyObject *__pyx_v_defaults) {
+   PyObject *__pyx_v_dest_sig = NULL;
++  Py_ssize_t __pyx_v_i;
+   PyTypeObject *__pyx_v_ndarray = 0;
+-  PyObject *__pyx_v_numpy = NULL;
+   __Pyx_memviewslice __pyx_v_memslice;
+   Py_ssize_t __pyx_v_itemsize;
+   CYTHON_UNUSED int __pyx_v_dtype_signed;
+@@ -3366,30 +3931,26 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED
+   PyObject *__pyx_v_candidates = NULL;
+   PyObject *__pyx_v_sig = NULL;
+   int __pyx_v_match_found;
+-  PyObject *__pyx_v_src_type = NULL;
++  PyObject *__pyx_v_src_sig = NULL;
+   PyObject *__pyx_v_dst_type = NULL;
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   int __pyx_t_2;
+   int __pyx_t_3;
+-  PyObject *__pyx_t_4 = NULL;
+-  PyObject *__pyx_t_5 = NULL;
++  int __pyx_t_4;
++  Py_ssize_t __pyx_t_5;
+   PyObject *__pyx_t_6 = NULL;
+-  int __pyx_t_7;
+-  PyObject *__pyx_t_8 = NULL;
+-  PyObject *__pyx_t_9 = NULL;
+-  Py_ssize_t __pyx_t_10;
+-  long __pyx_t_11;
+-  Py_ssize_t __pyx_t_12;
+-  int __pyx_t_13;
++  long __pyx_t_7;
++  __Pyx_memviewslice __pyx_t_8;
++  Py_ssize_t __pyx_t_9;
++  int __pyx_t_10;
++  int __pyx_t_11;
++  PyObject *__pyx_t_12 = NULL;
++  Py_ssize_t __pyx_t_13;
+   Py_ssize_t __pyx_t_14;
+-  PyObject *(*__pyx_t_15)(PyObject *);
+-  PyObject *__pyx_t_16 = NULL;
+-  PyObject *__pyx_t_17 = NULL;
+-  PyObject *__pyx_t_18 = NULL;
+-  PyObject *(*__pyx_t_19)(PyObject *);
+-  int __pyx_t_20;
++  Py_ssize_t __pyx_t_15;
++  int __pyx_t_16;
+   __Pyx_RefNannySetupContext("ll2cr_dynamic", 0);
+   __Pyx_INCREF(__pyx_v_kwargs);
+   __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+@@ -3399,128 +3960,99 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED
+   PyList_SET_ITEM(__pyx_t_1, 0, Py_None);
+   __pyx_v_dest_sig = ((PyObject*)__pyx_t_1);
+   __pyx_t_1 = 0;
+-  __pyx_t_2 = (__pyx_v_kwargs == Py_None);
+-  __pyx_t_3 = (__pyx_t_2 != 0);
+-  if (__pyx_t_3) {
+-    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF_SET(__pyx_v_kwargs, __pyx_t_1);
+-    __pyx_t_1 = 0;
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L4_bool_binop_done;
+   }
+-  {
+-    __Pyx_PyThreadState_declare
+-    __Pyx_PyThreadState_assign
+-    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
+-    __Pyx_XGOTREF(__pyx_t_4);
+-    __Pyx_XGOTREF(__pyx_t_5);
+-    __Pyx_XGOTREF(__pyx_t_6);
+-    /*try:*/ {
+-      __pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __pyx_v_numpy = __pyx_t_1;
+-      __pyx_t_1 = 0;
+-      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_numpy, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      if (!(likely(PyType_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "type", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 87, __pyx_L4_error)
+-      __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
+-      __pyx_t_1 = 0;
+-    }
+-    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    goto __pyx_L11_try_end;
+-    __pyx_L4_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError);
+-    if (__pyx_t_7) {
+-      __Pyx_AddTraceback("pyresample.ewa._ll2cr.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_8, &__pyx_t_9) < 0) __PYX_ERR(0, 87, __pyx_L6_except_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_GOTREF(__pyx_t_8);
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __Pyx_INCREF(Py_None);
+-      __Pyx_XDECREF_SET(__pyx_v_ndarray, ((PyTypeObject*)Py_None));
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-      goto __pyx_L5_exception_handled;
+-    }
+-    goto __pyx_L6_except_error;
+-    __pyx_L6_except_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    goto __pyx_L1_error;
+-    __pyx_L5_exception_handled:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    __pyx_L11_try_end:;
++  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_kwargs); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_3 = ((!__pyx_t_4) != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L4_bool_binop_done:;
++  if (__pyx_t_2) {
++    __Pyx_INCREF(Py_None);
++    __Pyx_DECREF_SET(__pyx_v_kwargs, Py_None);
+   }
++  __pyx_t_1 = ((PyObject *)__Pyx_ImportNumPyArrayTypeIfAvailable()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
++  __pyx_t_1 = 0;
+   __pyx_v_itemsize = -1L;
+   if (unlikely(__pyx_v_args == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+-  __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_t_3 = ((0 < __pyx_t_10) != 0);
+-  if (__pyx_t_3) {
++  __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_2 = ((0 < __pyx_t_5) != 0);
++  if (__pyx_t_2) {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 87, __pyx_L1_error)
+     }
+-    __pyx_t_9 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
+-    __Pyx_INCREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
++    __Pyx_INCREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
++  }
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L7_bool_binop_done;
+   }
+   if (unlikely(__pyx_v_kwargs == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+-  __pyx_t_3 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_lon_arr, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_t_2 = (__pyx_t_3 != 0);
++  __pyx_t_4 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_lon_arr, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_3 = (__pyx_t_4 != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L7_bool_binop_done:;
+   if (__pyx_t_2) {
+     if (unlikely(__pyx_v_kwargs == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 87, __pyx_L1_error)
+     }
+-    __pyx_t_9 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_lon_arr); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_lon_arr); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
+   }
+   /*else*/ {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+       __PYX_ERR(0, 87, __pyx_L1_error)
+     }
+-    __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __pyx_t_9 = PyInt_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_8 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_arguments, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_8);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8);
+-    __pyx_t_8 = 0;
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_9, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++    __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
++    __pyx_t_1 = PyInt_FromSsize_t(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_INCREF(__pyx_int_6);
++    __Pyx_GIVEREF(__pyx_int_6);
++    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_int_6);
++    __Pyx_INCREF(__pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_n_s_s);
++    PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
++    __pyx_t_1 = 0;
++    __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_argument_s_g, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+-  __pyx_L14:;
++  __pyx_L6:;
+   while (1) {
+     __pyx_t_2 = (__pyx_v_ndarray != ((PyTypeObject*)Py_None));
+     __pyx_t_3 = (__pyx_t_2 != 0);
+@@ -3528,75 +4060,76 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED
+       __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg, __pyx_v_ndarray); 
+       __pyx_t_2 = (__pyx_t_3 != 0);
+       if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_dtype = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        goto __pyx_L18;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_dtype = __pyx_t_6;
++        __pyx_t_6 = 0;
++        goto __pyx_L12;
+       }
+-      __pyx_t_2 = (__pyx_memoryview_check(__pyx_v_arg) != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_arg_base = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
+-        __pyx_t_3 = (__pyx_t_2 != 0);
+-        if (__pyx_t_3) {
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_v_dtype = __pyx_t_8;
+-          __pyx_t_8 = 0;
+-          goto __pyx_L19;
++      __pyx_t_2 = __pyx_memoryview_check(__pyx_v_arg); 
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_arg_base = __pyx_t_6;
++        __pyx_t_6 = 0;
++        __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
++        __pyx_t_2 = (__pyx_t_3 != 0);
++        if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_v_dtype = __pyx_t_6;
++          __pyx_t_6 = 0;
++          goto __pyx_L13;
+         }
+         /*else*/ {
+           __Pyx_INCREF(Py_None);
+           __pyx_v_dtype = Py_None;
+         }
+-        __pyx_L19:;
+-        goto __pyx_L18;
++        __pyx_L13:;
++        goto __pyx_L12;
+       }
+       /*else*/ {
+         __Pyx_INCREF(Py_None);
+         __pyx_v_dtype = Py_None;
+       }
+-      __pyx_L18:;
++      __pyx_L12:;
+       __pyx_v_itemsize = -1L;
+-      __pyx_t_3 = (__pyx_v_dtype != Py_None);
+-      __pyx_t_2 = (__pyx_t_3 != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_itemsize = __pyx_t_10;
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_11 = __Pyx_PyObject_Ord(__pyx_t_8); if (unlikely(__pyx_t_11 == (long)(Py_UCS4)-1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_kind = __pyx_t_11;
++      __pyx_t_2 = (__pyx_v_dtype != Py_None);
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_itemsize = __pyx_t_5;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_7 = __Pyx_PyObject_Ord(__pyx_t_6); if (unlikely(__pyx_t_7 == ((long)(long)(Py_UCS4)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_kind = __pyx_t_7;
+         __pyx_v_dtype_signed = (__pyx_v_kind == 'i');
+         switch (__pyx_v_kind) {
+           case 'i':
+           case 'u':
+           break;
+           case 'f':
+-          __pyx_t_3 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
+-          if (__pyx_t_3) {
++          __pyx_t_2 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
++          if (__pyx_t_2) {
+           } else {
+-            __pyx_t_2 = __pyx_t_3;
+-            goto __pyx_L22_bool_binop_done;
++            __pyx_t_3 = __pyx_t_2;
++            goto __pyx_L16_bool_binop_done;
+           }
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error)
+-          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-          __pyx_t_3 = ((((Py_ssize_t)__pyx_t_10) == 2) != 0);
+-          __pyx_t_2 = __pyx_t_3;
+-          __pyx_L22_bool_binop_done:;
+-          if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error)
++          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++          __pyx_t_2 = ((((Py_ssize_t)__pyx_t_5) == 2) != 0);
++          __pyx_t_3 = __pyx_t_2;
++          __pyx_L16_bool_binop_done:;
++          if (__pyx_t_3) {
+             if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-            goto __pyx_L16_break;
++            goto __pyx_L10_break;
+           }
+           break;
+           case 'c':
+@@ -3607,210 +4140,118 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED
+         }
+       }
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == -1L) != 0);
+-    if (!__pyx_t_3) {
++    __pyx_t_2 = ((__pyx_v_itemsize == -1L) != 0);
++    if (!__pyx_t_2) {
+     } else {
+-      __pyx_t_2 = __pyx_t_3;
+-      goto __pyx_L25_bool_binop_done;
++      __pyx_t_3 = __pyx_t_2;
++      goto __pyx_L19_bool_binop_done;
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
+-    __pyx_t_2 = __pyx_t_3;
+-    __pyx_L25_bool_binop_done:;
+-    if (__pyx_t_2) {
+-      __pyx_v_memslice = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg);
+-      __pyx_t_2 = (__pyx_v_memslice.memview != 0);
+-      if (__pyx_t_2) {
+-        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1);
++    __pyx_t_2 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
++    __pyx_t_3 = __pyx_t_2;
++    __pyx_L19_bool_binop_done:;
++    if (__pyx_t_3) {
++      __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg, 0); 
++      __pyx_v_memslice = __pyx_t_8;
++      __pyx_t_3 = (__pyx_v_memslice.memview != 0);
++      if (__pyx_t_3) {
++        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1); 
+         if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        goto __pyx_L16_break;
++        goto __pyx_L10_break;
+       }
+       /*else*/ {
+-        PyErr_Clear();
++        PyErr_Clear(); 
+       }
+     }
+     if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, Py_None, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    goto __pyx_L16_break;
++    goto __pyx_L10_break;
+   }
+-  __pyx_L16_break:;
+-  __pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_8);
+-  __pyx_v_candidates = ((PyObject*)__pyx_t_8);
+-  __pyx_t_8 = 0;
+-  __pyx_t_10 = 0;
++  __pyx_L10_break:;
++  __pyx_t_6 = PyList_New(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_6);
++  __pyx_v_candidates = ((PyObject*)__pyx_t_6);
++  __pyx_t_6 = 0;
++  __pyx_t_5 = 0;
+   if (unlikely(__pyx_v_signatures == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+-  __pyx_t_9 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_12), (&__pyx_t_7)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __pyx_t_8 = __pyx_t_9;
+-  __pyx_t_9 = 0;
++  __pyx_t_1 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_9), (&__pyx_t_10)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_6);
++  __pyx_t_6 = __pyx_t_1;
++  __pyx_t_1 = 0;
+   while (1) {
+-    __pyx_t_13 = __Pyx_dict_iter_next(__pyx_t_8, __pyx_t_12, &__pyx_t_10, &__pyx_t_9, NULL, NULL, __pyx_t_7);
+-    if (unlikely(__pyx_t_13 == 0)) break;
+-    if (unlikely(__pyx_t_13 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_9);
+-    __pyx_t_9 = 0;
++    __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_9, &__pyx_t_5, &__pyx_t_1, NULL, NULL, __pyx_t_10);
++    if (unlikely(__pyx_t_11 == 0)) break;
++    if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_1);
++    __pyx_t_1 = 0;
+     __pyx_v_match_found = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_split); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_1);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_1);
+-    __Pyx_INCREF(__pyx_v_dest_sig);
+-    __Pyx_GIVEREF(__pyx_v_dest_sig);
+-    PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_v_dest_sig);
+-    __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_split); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
+-      __pyx_t_9 = __pyx_t_1; __Pyx_INCREF(__pyx_t_9); __pyx_t_14 = 0;
+-      __pyx_t_15 = NULL;
+-    } else {
+-      __pyx_t_14 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_15 = Py_TYPE(__pyx_t_9)->tp_iternext; if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    }
++    __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    for (;;) {
+-      if (likely(!__pyx_t_15)) {
+-        if (likely(PyList_CheckExact(__pyx_t_9))) {
+-          if (__pyx_t_14 >= PyList_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        } else {
+-          if (__pyx_t_14 >= PyTuple_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        }
+-      } else {
+-        __pyx_t_1 = __pyx_t_15(__pyx_t_9);
+-        if (unlikely(!__pyx_t_1)) {
+-          PyObject* exc_type = PyErr_Occurred();
+-          if (exc_type) {
+-            if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-            else __PYX_ERR(0, 87, __pyx_L1_error)
+-          }
+-          break;
+-        }
+-        __Pyx_GOTREF(__pyx_t_1);
+-      }
+-      if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) {
+-        PyObject* sequence = __pyx_t_1;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        Py_ssize_t size = Py_SIZE(sequence);
+-        #else
+-        Py_ssize_t size = PySequence_Size(sequence);
+-        #endif
+-        if (unlikely(size != 2)) {
+-          if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+-          else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-          __PYX_ERR(0, 87, __pyx_L1_error)
+-        }
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        if (likely(PyTuple_CheckExact(sequence))) {
+-          __pyx_t_16 = PyTuple_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyTuple_GET_ITEM(sequence, 1); 
+-        } else {
+-          __pyx_t_16 = PyList_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyList_GET_ITEM(sequence, 1); 
+-        }
+-        __Pyx_INCREF(__pyx_t_16);
+-        __Pyx_INCREF(__pyx_t_17);
+-        #else
+-        __pyx_t_16 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_16);
+-        __pyx_t_17 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_17);
+-        #endif
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      } else {
+-        Py_ssize_t index = -1;
+-        __pyx_t_18 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_18);
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        __pyx_t_19 = Py_TYPE(__pyx_t_18)->tp_iternext;
+-        index = 0; __pyx_t_16 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_16)) goto __pyx_L32_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_16);
+-        index = 1; __pyx_t_17 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_17)) goto __pyx_L32_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_17);
+-        if (__Pyx_IternextUnpackEndCheck(__pyx_t_19(__pyx_t_18), 2) < 0) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __pyx_t_19 = NULL;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        goto __pyx_L33_unpacking_done;
+-        __pyx_L32_unpacking_failed:;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        __pyx_t_19 = NULL;
+-        if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
+-        __PYX_ERR(0, 87, __pyx_L1_error)
+-        __pyx_L33_unpacking_done:;
+-      }
+-      __Pyx_XDECREF_SET(__pyx_v_src_type, __pyx_t_16);
+-      __pyx_t_16 = 0;
+-      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_17);
+-      __pyx_t_17 = 0;
+-      __pyx_t_2 = (__pyx_v_dst_type != Py_None);
+-      __pyx_t_3 = (__pyx_t_2 != 0);
+-      if (__pyx_t_3) {
+-        __pyx_t_1 = PyObject_RichCompare(__pyx_v_src_type, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-        __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_XDECREF_SET(__pyx_v_src_sig, __pyx_t_12);
++    __pyx_t_12 = 0;
++    __pyx_t_13 = PyList_GET_SIZE(__pyx_v_dest_sig); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
++    __pyx_t_14 = __pyx_t_13;
++    for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
++      __pyx_v_i = __pyx_t_15;
++      __pyx_t_12 = PyList_GET_ITEM(__pyx_v_dest_sig, __pyx_v_i);
++      __Pyx_INCREF(__pyx_t_12);
++      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_12);
++      __pyx_t_12 = 0;
++      __pyx_t_3 = (__pyx_v_dst_type != Py_None);
++      __pyx_t_2 = (__pyx_t_3 != 0);
++      if (__pyx_t_2) {
++        __pyx_t_12 = __Pyx_GetItemInt(__pyx_v_src_sig, __pyx_v_i, Py_ssize_t, 1, PyInt_FromSsize_t, 0, 0, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_12);
++        __pyx_t_1 = PyObject_RichCompare(__pyx_t_12, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 87, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++        __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 87, __pyx_L1_error)
+         __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        if (__pyx_t_3) {
++        if (__pyx_t_2) {
+           __pyx_v_match_found = 1;
+-          goto __pyx_L35;
++          goto __pyx_L27;
+         }
+         /*else*/ {
+           __pyx_v_match_found = 0;
+-          goto __pyx_L31_break;
++          goto __pyx_L25_break;
+         }
+-        __pyx_L35:;
++        __pyx_L27:;
+       }
+     }
+-    __pyx_L31_break:;
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_3 = (__pyx_v_match_found != 0);
+-    if (__pyx_t_3) {
+-      __pyx_t_20 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_20 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __pyx_L25_break:;
++    __pyx_t_2 = (__pyx_v_match_found != 0);
++    if (__pyx_t_2) {
++      __pyx_t_16 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_16 == ((int)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
+     }
+   }
+-  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-  __pyx_t_3 = (__pyx_v_candidates != Py_None) && (PyList_GET_SIZE(__pyx_v_candidates) != 0);
+-  __pyx_t_2 = ((!__pyx_t_3) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__6, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++  __pyx_t_2 = (PyList_GET_SIZE(__pyx_v_candidates) != 0);
++  __pyx_t_3 = ((!__pyx_t_2) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__6, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+-  __pyx_t_12 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_t_2 = ((__pyx_t_12 > 1) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __pyx_t_9 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_3 = ((__pyx_t_9 > 1) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 87, __pyx_L1_error)
+   }
+   /*else*/ {
+@@ -3819,33 +4260,29 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_2ll2cr_dynamic(CYTHON_UNUSED
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 87, __pyx_L1_error)
+     }
+-    __pyx_t_8 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 87, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __pyx_r = __pyx_t_8;
+-    __pyx_t_8 = 0;
++    __pyx_t_6 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_r = __pyx_t_6;
++    __pyx_t_6 = 0;
+     goto __pyx_L0;
+   }
+ 
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_1);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __Pyx_XDECREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_16);
+-  __Pyx_XDECREF(__pyx_t_17);
+-  __Pyx_XDECREF(__pyx_t_18);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_12);
+   __Pyx_AddTraceback("pyresample.ewa._ll2cr.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = NULL;
+   __pyx_L0:;
+   __Pyx_XDECREF(__pyx_v_dest_sig);
+   __Pyx_XDECREF(__pyx_v_ndarray);
+-  __Pyx_XDECREF(__pyx_v_numpy);
+   __Pyx_XDECREF(__pyx_v_arg);
+   __Pyx_XDECREF(__pyx_v_dtype);
+   __Pyx_XDECREF(__pyx_v_arg_base);
+   __Pyx_XDECREF(__pyx_v_candidates);
+   __Pyx_XDECREF(__pyx_v_sig);
+-  __Pyx_XDECREF(__pyx_v_src_type);
++  __Pyx_XDECREF(__pyx_v_src_sig);
+   __Pyx_XDECREF(__pyx_v_dst_type);
+   __Pyx_XDECREF(__pyx_v_kwargs);
+   __Pyx_XGIVEREF(__pyx_r);
+@@ -3928,66 +4365,85 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_6_ll2cr_7ll2cr_dynamic(P
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
++        CYTHON_FALLTHROUGH;
+         case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
++        CYTHON_FALLTHROUGH;
+         case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lon_arr)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lon_arr)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lat_arr)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lat_arr)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_dynamic", 0, 6, 10, 1); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_fill_in)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_fill_in)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_dynamic", 0, 6, 10, 2); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_proj4_definition)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_proj4_definition)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_dynamic", 0, 6, 10, 3); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  4:
+-        if (likely((values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cell_width)) != 0)) kw_args--;
++        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cell_width)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_dynamic", 0, 6, 10, 4); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  5:
+-        if (likely((values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cell_height)) != 0)) kw_args--;
++        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cell_height)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_dynamic", 0, 6, 10, 5); __PYX_ERR(0, 87, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  6:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_width);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width);
+           if (value) { values[6] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  7:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_height);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height);
+           if (value) { values[7] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  8:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_origin_x);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_origin_x);
+           if (value) { values[8] = value; kw_args--; }
+         }
++        CYTHON_FALLTHROUGH;
+         case  9:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_origin_y);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_origin_y);
+           if (value) { values[9] = value; kw_args--; }
+         }
+       }
+@@ -3997,9 +4453,13 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_6_ll2cr_7ll2cr_dynamic(P
+     } else {
+       switch (PyTuple_GET_SIZE(__pyx_args)) {
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
++        CYTHON_FALLTHROUGH;
+         case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
+         values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+         values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
+@@ -4012,7 +4472,7 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_6_ll2cr_7ll2cr_dynamic(P
+     }
+     __pyx_v_lon_arr = ((PyArrayObject *)values[0]);
+     __pyx_v_lat_arr = ((PyArrayObject *)values[1]);
+-    __pyx_v_fill_in = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_fill_in == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 88, __pyx_L3_error)
++    __pyx_v_fill_in = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_fill_in == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 88, __pyx_L3_error)
+     __pyx_v_proj4_definition = ((PyObject*)values[3]);
+     __pyx_v_cell_width = __pyx_PyFloat_AsDouble(values[4]); if (unlikely((__pyx_v_cell_width == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 89, __pyx_L3_error)
+     __pyx_v_cell_height = __pyx_PyFloat_AsDouble(values[5]); if (unlikely((__pyx_v_cell_height == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 89, __pyx_L3_error)
+@@ -4074,7 +4534,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   PyObject *__pyx_t_2 = NULL;
+   PyObject *__pyx_t_3 = NULL;
+   PyObject *__pyx_t_4 = NULL;
+-  Py_ssize_t __pyx_t_5;
++  int __pyx_t_5;
+   __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } };
+   double __pyx_t_7;
+   Py_ssize_t __pyx_t_8;
+@@ -4089,14 +4549,14 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   unsigned int __pyx_t_17;
+   unsigned int __pyx_t_18;
+   unsigned int __pyx_t_19;
+-  size_t __pyx_t_20;
+-  size_t __pyx_t_21;
++  unsigned int __pyx_t_20;
++  unsigned int __pyx_t_21;
+   size_t __pyx_t_22;
+   size_t __pyx_t_23;
+-  int __pyx_t_24;
+-  int __pyx_t_25;
+-  size_t __pyx_t_26;
+-  size_t __pyx_t_27;
++  size_t __pyx_t_24;
++  size_t __pyx_t_25;
++  int __pyx_t_26;
++  int __pyx_t_27;
+   size_t __pyx_t_28;
+   size_t __pyx_t_29;
+   size_t __pyx_t_30;
+@@ -4111,8 +4571,10 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   size_t __pyx_t_39;
+   size_t __pyx_t_40;
+   size_t __pyx_t_41;
+-  PyObject *__pyx_t_42 = NULL;
+-  PyObject *__pyx_t_43 = NULL;
++  size_t __pyx_t_42;
++  size_t __pyx_t_43;
++  PyObject *__pyx_t_44 = NULL;
++  PyObject *__pyx_t_45 = NULL;
+   __Pyx_RefNannySetupContext("__pyx_fuse_0ll2cr_dynamic", 0);
+   __pyx_pybuffer_lon_arr.pybuffer.buf = NULL;
+   __pyx_pybuffer_lon_arr.refcount = 0;
+@@ -4143,7 +4605,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_MyProj); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 125, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_3 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -4156,15 +4618,33 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+     __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_proj4_definition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 125, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 125, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
+-    __Pyx_INCREF(__pyx_v_proj4_definition);
+-    __Pyx_GIVEREF(__pyx_v_proj4_definition);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_proj4_definition);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 125, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_proj4_definition};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 125, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_proj4_definition};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 125, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 125, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
++      __Pyx_INCREF(__pyx_v_proj4_definition);
++      __Pyx_GIVEREF(__pyx_v_proj4_definition);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_proj4_definition);
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 125, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_v_p = __pyx_t_1;
+@@ -4180,7 +4660,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   __Pyx_INCREF(__pyx_v_p);
+   __pyx_t_2 = __pyx_v_p; __pyx_t_4 = NULL;
+   __pyx_t_5 = 0;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_4)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -4190,20 +4670,38 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+       __pyx_t_5 = 1;
+     }
+   }
+-  __pyx_t_3 = PyTuple_New(2+__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 128, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  if (__pyx_t_4) {
+-    __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
++  #if CYTHON_FAST_PYCALL
++  if (PyFunction_Check(__pyx_t_2)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, ((PyObject *)__pyx_v_lon_arr), ((PyObject *)__pyx_v_lat_arr)};
++    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_1);
++  } else
++  #endif
++  #if CYTHON_FAST_PYCCALL
++  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, ((PyObject *)__pyx_v_lon_arr), ((PyObject *)__pyx_v_lat_arr)};
++    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_1);
++  } else
++  #endif
++  {
++    __pyx_t_3 = PyTuple_New(2+__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 128, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    if (__pyx_t_4) {
++      __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
++    }
++    __Pyx_INCREF(((PyObject *)__pyx_v_lon_arr));
++    __Pyx_GIVEREF(((PyObject *)__pyx_v_lon_arr));
++    PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_5, ((PyObject *)__pyx_v_lon_arr));
++    __Pyx_INCREF(((PyObject *)__pyx_v_lat_arr));
++    __Pyx_GIVEREF(((PyObject *)__pyx_v_lat_arr));
++    PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_5, ((PyObject *)__pyx_v_lat_arr));
++    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   }
+-  __Pyx_INCREF(((PyObject *)__pyx_v_lon_arr));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_lon_arr));
+-  PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_5, ((PyObject *)__pyx_v_lon_arr));
+-  __Pyx_INCREF(((PyObject *)__pyx_v_lat_arr));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_lat_arr));
+-  PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_5, ((PyObject *)__pyx_v_lat_arr));
+-  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_1);
+-  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 128, __pyx_L1_error)
+   __pyx_v_projected_tuple = ((PyObject*)__pyx_t_1);
+@@ -4220,8 +4718,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+     __PYX_ERR(0, 129, __pyx_L1_error)
+   }
+-  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 1));
+-  if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 129, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 1), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 129, __pyx_L1_error)
+   __pyx_v_rows_out = __pyx_t_6;
+   __pyx_t_6.memview = NULL;
+   __pyx_t_6.data = NULL;
+@@ -4237,8 +4734,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+     __PYX_ERR(0, 130, __pyx_L1_error)
+   }
+-  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 0));
+-  if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 130, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 0), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 130, __pyx_L1_error)
+   __pyx_v_cols_out = __pyx_t_6;
+   __pyx_t_6.memview = NULL;
+   __pyx_t_6.data = NULL;
+@@ -4253,7 +4749,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_projection_circumference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 131, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_3 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -4266,15 +4762,33 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+     __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_p); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
+-    __Pyx_INCREF(__pyx_v_p);
+-    __Pyx_GIVEREF(__pyx_v_p);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_p);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_p};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_p};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
++      __Pyx_INCREF(__pyx_v_p);
++      __Pyx_GIVEREF(__pyx_v_p);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_p);
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 131, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_t_7 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_7 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 131, __pyx_L1_error)
+@@ -4360,8 +4874,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  */
+   __pyx_t_16 = __pyx_v_num_rows;
+-  for (__pyx_t_17 = 0; __pyx_t_17 < __pyx_t_16; __pyx_t_17+=1) {
+-    __pyx_v_row = __pyx_t_17;
++  __pyx_t_17 = __pyx_t_16;
++  for (__pyx_t_18 = 0; __pyx_t_18 < __pyx_t_17; __pyx_t_18+=1) {
++    __pyx_v_row = __pyx_t_18;
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":151
+  *     cdef unsigned int points_in_grid = 0
+@@ -4370,9 +4885,10 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  *             y_tmp = rows_out[row, col]
+  */
+-    __pyx_t_18 = __pyx_v_num_cols;
+-    for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) {
+-      __pyx_v_col = __pyx_t_19;
++    __pyx_t_19 = __pyx_v_num_cols;
++    __pyx_t_20 = __pyx_t_19;
++    for (__pyx_t_21 = 0; __pyx_t_21 < __pyx_t_20; __pyx_t_21+=1) {
++      __pyx_v_col = __pyx_t_21;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":152
+  *     for row in range(num_rows):
+@@ -4381,9 +4897,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             y_tmp = rows_out[row, col]
+  * 
+  */
+-      __pyx_t_20 = __pyx_v_row;
+-      __pyx_t_21 = __pyx_v_col;
+-      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_20 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_21)) )));
++      __pyx_t_22 = __pyx_v_row;
++      __pyx_t_23 = __pyx_v_col;
++      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_22 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_23)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":153
+  *         for col in range(num_cols):
+@@ -4392,9 +4908,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  * 
+  *             if x_tmp >= 1e30:
+  */
+-      __pyx_t_22 = __pyx_v_row;
+-      __pyx_t_23 = __pyx_v_col;
+-      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_22 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_23)) )));
++      __pyx_t_24 = __pyx_v_row;
++      __pyx_t_25 = __pyx_v_col;
++      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_24 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_25)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":155
+  *             y_tmp = rows_out[row, col]
+@@ -4403,8 +4919,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 # pyproj library should have set both x and y to the fill value
+  *                 # we technically don't ever check for the fill value, but if fill values are valid lon/lats then WTF
+  */
+-      __pyx_t_24 = ((__pyx_v_x_tmp >= 1e30) != 0);
+-      if (__pyx_t_24) {
++      __pyx_t_26 = ((__pyx_v_x_tmp >= 1e30) != 0);
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":158
+  *                 # pyproj library should have set both x and y to the fill value
+@@ -4431,16 +4947,16 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 xmin = x_tmp
+  *             elif x_tmp > xmax or npy_isnan(xmax) or xmax == 1e30:
+  */
+-      __pyx_t_25 = ((__pyx_v_x_tmp < __pyx_v_xmin) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_x_tmp < __pyx_v_xmin) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L8_bool_binop_done;
+       }
+-      __pyx_t_25 = (npy_isnan(__pyx_v_xmin) != 0);
+-      __pyx_t_24 = __pyx_t_25;
++      __pyx_t_27 = (npy_isnan(__pyx_v_xmin) != 0);
++      __pyx_t_26 = __pyx_t_27;
+       __pyx_L8_bool_binop_done:;
+-      if (__pyx_t_24) {
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":160
+  *                 continue
+@@ -4468,22 +4984,22 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 # Note: technically 2 valid points are required to get here if there are a lot of NaNs
+  *                 xmax = x_tmp
+  */
+-      __pyx_t_25 = ((__pyx_v_x_tmp > __pyx_v_xmax) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_x_tmp > __pyx_v_xmax) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L10_bool_binop_done;
+       }
+-      __pyx_t_25 = (npy_isnan(__pyx_v_xmax) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = (npy_isnan(__pyx_v_xmax) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L10_bool_binop_done;
+       }
+-      __pyx_t_25 = ((__pyx_v_xmax == 1e30) != 0);
+-      __pyx_t_24 = __pyx_t_25;
++      __pyx_t_27 = ((__pyx_v_xmax == 1e30) != 0);
++      __pyx_t_26 = __pyx_t_27;
+       __pyx_L10_bool_binop_done:;
+-      if (__pyx_t_24) {
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":163
+  *             elif x_tmp > xmax or npy_isnan(xmax) or xmax == 1e30:
+@@ -4511,16 +5027,16 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 ymin = y_tmp
+  *             elif y_tmp > ymax or npy_isnan(ymax) or ymax == 1e30:
+  */
+-      __pyx_t_25 = ((__pyx_v_y_tmp < __pyx_v_ymin) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_y_tmp < __pyx_v_ymin) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L14_bool_binop_done;
+       }
+-      __pyx_t_25 = (npy_isnan(__pyx_v_ymin) != 0);
+-      __pyx_t_24 = __pyx_t_25;
++      __pyx_t_27 = (npy_isnan(__pyx_v_ymin) != 0);
++      __pyx_t_26 = __pyx_t_27;
+       __pyx_L14_bool_binop_done:;
+-      if (__pyx_t_24) {
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":166
+  * 
+@@ -4548,22 +5064,22 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 # Note: technically 2 valid points are required to get here if there are a lot of NaNs
+  *                 ymax = y_tmp
+  */
+-      __pyx_t_25 = ((__pyx_v_y_tmp > __pyx_v_ymax) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_y_tmp > __pyx_v_ymax) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L16_bool_binop_done;
+       }
+-      __pyx_t_25 = (npy_isnan(__pyx_v_ymax) != 0);
+-      if (!__pyx_t_25) {
++      __pyx_t_27 = (npy_isnan(__pyx_v_ymax) != 0);
++      if (!__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L16_bool_binop_done;
+       }
+-      __pyx_t_25 = ((__pyx_v_ymax == 1e30) != 0);
+-      __pyx_t_24 = __pyx_t_25;
++      __pyx_t_27 = ((__pyx_v_ymax == 1e30) != 0);
++      __pyx_t_26 = __pyx_t_27;
+       __pyx_L16_bool_binop_done:;
+-      if (__pyx_t_24) {
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":169
+  *             elif y_tmp > ymax or npy_isnan(ymax) or ymax == 1e30:
+@@ -4594,16 +5110,16 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *         # xmax will increase, but we need to reset xmin so that it gets properly detected
+  *         if xmin < 0:
+  */
+-  __pyx_t_25 = ((__pyx_v_proj_circum != 0.0) != 0);
+-  if (__pyx_t_25) {
++  __pyx_t_27 = ((__pyx_v_proj_circum != 0.0) != 0);
++  if (__pyx_t_27) {
+   } else {
+-    __pyx_t_24 = __pyx_t_25;
++    __pyx_t_26 = __pyx_t_27;
+     goto __pyx_L20_bool_binop_done;
+   }
+-  __pyx_t_25 = (((__pyx_v_xmax - __pyx_v_xmin) >= (__pyx_v_proj_circum * .75)) != 0);
+-  __pyx_t_24 = __pyx_t_25;
++  __pyx_t_27 = (((__pyx_v_xmax - __pyx_v_xmin) >= (__pyx_v_proj_circum * .75)) != 0);
++  __pyx_t_26 = __pyx_t_27;
+   __pyx_L20_bool_binop_done:;
+-  if (__pyx_t_24) {
++  if (__pyx_t_26) {
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":174
+  *     if proj_circum != 0 and xmax - xmin >= proj_circum * .75:
+@@ -4612,8 +5128,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             xmin = xmax
+  *         for row in range(num_rows):
+  */
+-    __pyx_t_24 = ((__pyx_v_xmin < 0.0) != 0);
+-    if (__pyx_t_24) {
++    __pyx_t_26 = ((__pyx_v_xmin < 0.0) != 0);
++    if (__pyx_t_26) {
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":175
+  *         # xmax will increase, but we need to reset xmin so that it gets properly detected
+@@ -4641,8 +5157,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 x_tmp = cols_out[row, col]
+  */
+     __pyx_t_16 = __pyx_v_num_rows;
+-    for (__pyx_t_17 = 0; __pyx_t_17 < __pyx_t_16; __pyx_t_17+=1) {
+-      __pyx_v_row = __pyx_t_17;
++    __pyx_t_17 = __pyx_t_16;
++    for (__pyx_t_18 = 0; __pyx_t_18 < __pyx_t_17; __pyx_t_18+=1) {
++      __pyx_v_row = __pyx_t_18;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":177
+  *             xmin = xmax
+@@ -4651,9 +5168,10 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 x_tmp = cols_out[row, col]
+  *                 if x_tmp < 0:
+  */
+-      __pyx_t_18 = __pyx_v_num_cols;
+-      for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) {
+-        __pyx_v_col = __pyx_t_19;
++      __pyx_t_19 = __pyx_v_num_cols;
++      __pyx_t_20 = __pyx_t_19;
++      for (__pyx_t_21 = 0; __pyx_t_21 < __pyx_t_20; __pyx_t_21+=1) {
++        __pyx_v_col = __pyx_t_21;
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":178
+  *         for row in range(num_rows):
+@@ -4662,9 +5180,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 if x_tmp < 0:
+  *                     x_tmp += proj_circum
+  */
+-        __pyx_t_26 = __pyx_v_row;
+-        __pyx_t_27 = __pyx_v_col;
+-        __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_26 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_27)) )));
++        __pyx_t_28 = __pyx_v_row;
++        __pyx_t_29 = __pyx_v_col;
++        __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_28 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_29)) )));
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":179
+  *             for col in range(num_cols):
+@@ -4673,8 +5191,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                     x_tmp += proj_circum
+  *                     cols_out[row, col] = x_tmp
+  */
+-        __pyx_t_24 = ((__pyx_v_x_tmp < 0.0) != 0);
+-        if (__pyx_t_24) {
++        __pyx_t_26 = ((__pyx_v_x_tmp < 0.0) != 0);
++        if (__pyx_t_26) {
+ 
+           /* "pyresample/ewa/_ll2cr.pyx":180
+  *                 x_tmp = cols_out[row, col]
+@@ -4692,9 +5210,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                     # xmax won't increase unless we've added the circumference
+  *                     if x_tmp > xmax:
+  */
+-          __pyx_t_28 = __pyx_v_row;
+-          __pyx_t_29 = __pyx_v_col;
+-          *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_28 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_29)) )) = __pyx_v_x_tmp;
++          __pyx_t_30 = __pyx_v_row;
++          __pyx_t_31 = __pyx_v_col;
++          *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_30 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_31)) )) = __pyx_v_x_tmp;
+ 
+           /* "pyresample/ewa/_ll2cr.pyx":183
+  *                     cols_out[row, col] = x_tmp
+@@ -4703,8 +5221,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                         xmax = x_tmp
+  *                 elif x_tmp >= 1e30:
+  */
+-          __pyx_t_24 = ((__pyx_v_x_tmp > __pyx_v_xmax) != 0);
+-          if (__pyx_t_24) {
++          __pyx_t_26 = ((__pyx_v_x_tmp > __pyx_v_xmax) != 0);
++          if (__pyx_t_26) {
+ 
+             /* "pyresample/ewa/_ll2cr.pyx":184
+  *                     # xmax won't increase unless we've added the circumference
+@@ -4741,8 +5259,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                     continue
+  *                 elif x_tmp < xmin:
+  */
+-        __pyx_t_24 = ((__pyx_v_x_tmp >= 1e30) != 0);
+-        if (__pyx_t_24) {
++        __pyx_t_26 = ((__pyx_v_x_tmp >= 1e30) != 0);
++        if (__pyx_t_26) {
+ 
+           /* "pyresample/ewa/_ll2cr.pyx":186
+  *                         xmax = x_tmp
+@@ -4769,8 +5287,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                     # xmin could change with any of the remaining entries
+  *                     xmin = x_tmp
+  */
+-        __pyx_t_24 = ((__pyx_v_x_tmp < __pyx_v_xmin) != 0);
+-        if (__pyx_t_24) {
++        __pyx_t_26 = ((__pyx_v_x_tmp < __pyx_v_xmin) != 0);
++        if (__pyx_t_26) {
+ 
+           /* "pyresample/ewa/_ll2cr.pyx":189
+  *                 elif x_tmp < xmin:
+@@ -4810,9 +5328,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *         # upper-left corner
+  *         ox = xmin
+  */
+-  __pyx_t_24 = (__pyx_v_origin_x == Py_None);
+-  __pyx_t_25 = (__pyx_t_24 != 0);
+-  if (__pyx_t_25) {
++  __pyx_t_26 = (__pyx_v_origin_x == Py_None);
++  __pyx_t_27 = (__pyx_t_26 != 0);
++  if (__pyx_t_27) {
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":193
+  *     if origin_x is None:
+@@ -4872,9 +5390,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *         w = int(abs((xmax - ox) / cell_width))
+  *         h = int(abs((oy - ymin) / cell_height))
+  */
+-  __pyx_t_25 = (__pyx_v_width == Py_None);
+-  __pyx_t_24 = (__pyx_t_25 != 0);
+-  if (__pyx_t_24) {
++  __pyx_t_27 = (__pyx_v_width == Py_None);
++  __pyx_t_26 = (__pyx_t_27 != 0);
++  if (__pyx_t_26) {
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":200
+  * 
+@@ -4935,8 +5453,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  */
+   __pyx_t_16 = __pyx_v_num_rows;
+-  for (__pyx_t_17 = 0; __pyx_t_17 < __pyx_t_16; __pyx_t_17+=1) {
+-    __pyx_v_row = __pyx_t_17;
++  __pyx_t_17 = __pyx_t_16;
++  for (__pyx_t_18 = 0; __pyx_t_18 < __pyx_t_17; __pyx_t_18+=1) {
++    __pyx_v_row = __pyx_t_18;
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":207
+  * 
+@@ -4945,9 +5464,10 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  *             y_tmp = rows_out[row, col]
+  */
+-    __pyx_t_18 = __pyx_v_num_cols;
+-    for (__pyx_t_19 = 0; __pyx_t_19 < __pyx_t_18; __pyx_t_19+=1) {
+-      __pyx_v_col = __pyx_t_19;
++    __pyx_t_19 = __pyx_v_num_cols;
++    __pyx_t_20 = __pyx_t_19;
++    for (__pyx_t_21 = 0; __pyx_t_21 < __pyx_t_20; __pyx_t_21+=1) {
++      __pyx_v_col = __pyx_t_21;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":208
+  *     for row in range(num_rows):
+@@ -4956,9 +5476,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             y_tmp = rows_out[row, col]
+  *             if x_tmp >= 1e30:
+  */
+-      __pyx_t_30 = __pyx_v_row;
+-      __pyx_t_31 = __pyx_v_col;
+-      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_30 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_31)) )));
++      __pyx_t_32 = __pyx_v_row;
++      __pyx_t_33 = __pyx_v_col;
++      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_32 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_33)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":209
+  *         for col in range(num_cols):
+@@ -4967,9 +5487,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             if x_tmp >= 1e30:
+  *                 cols_out[row, col] = fill_in
+  */
+-      __pyx_t_32 = __pyx_v_row;
+-      __pyx_t_33 = __pyx_v_col;
+-      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_32 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_33)) )));
++      __pyx_t_34 = __pyx_v_row;
++      __pyx_t_35 = __pyx_v_col;
++      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_34 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_35)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":210
+  *             x_tmp = cols_out[row, col]
+@@ -4978,8 +5498,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 cols_out[row, col] = fill_in
+  *                 rows_out[row, col] = fill_in
+  */
+-      __pyx_t_24 = ((__pyx_v_x_tmp >= 1e30) != 0);
+-      if (__pyx_t_24) {
++      __pyx_t_26 = ((__pyx_v_x_tmp >= 1e30) != 0);
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":211
+  *             y_tmp = rows_out[row, col]
+@@ -4988,9 +5508,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 rows_out[row, col] = fill_in
+  *                 continue
+  */
+-        __pyx_t_34 = __pyx_v_row;
+-        __pyx_t_35 = __pyx_v_col;
+-        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_34 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_35)) )) = __pyx_v_fill_in;
++        __pyx_t_36 = __pyx_v_row;
++        __pyx_t_37 = __pyx_v_col;
++        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_36 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_37)) )) = __pyx_v_fill_in;
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":212
+  *             if x_tmp >= 1e30:
+@@ -4999,9 +5519,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 continue
+  * 
+  */
+-        __pyx_t_36 = __pyx_v_row;
+-        __pyx_t_37 = __pyx_v_col;
+-        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_36 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_37)) )) = __pyx_v_fill_in;
++        __pyx_t_38 = __pyx_v_row;
++        __pyx_t_39 = __pyx_v_col;
++        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_38 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_39)) )) = __pyx_v_fill_in;
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":213
+  *                 cols_out[row, col] = fill_in
+@@ -5046,28 +5566,28 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *                 points_in_grid += 1
+  *             cols_out[row, col] = x_tmp
+  */
+-      __pyx_t_25 = ((__pyx_v_x_tmp >= -1.0) != 0);
+-      if (__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_x_tmp >= -1.0) != 0);
++      if (__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L37_bool_binop_done;
+       }
+-      __pyx_t_25 = ((__pyx_v_x_tmp <= (__pyx_v_w + 1)) != 0);
+-      if (__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_x_tmp <= (__pyx_v_w + 1)) != 0);
++      if (__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L37_bool_binop_done;
+       }
+-      __pyx_t_25 = ((__pyx_v_y_tmp >= -1.0) != 0);
+-      if (__pyx_t_25) {
++      __pyx_t_27 = ((__pyx_v_y_tmp >= -1.0) != 0);
++      if (__pyx_t_27) {
+       } else {
+-        __pyx_t_24 = __pyx_t_25;
++        __pyx_t_26 = __pyx_t_27;
+         goto __pyx_L37_bool_binop_done;
+       }
+-      __pyx_t_25 = ((__pyx_v_y_tmp <= (__pyx_v_h + 1)) != 0);
+-      __pyx_t_24 = __pyx_t_25;
++      __pyx_t_27 = ((__pyx_v_y_tmp <= (__pyx_v_h + 1)) != 0);
++      __pyx_t_26 = __pyx_t_27;
+       __pyx_L37_bool_binop_done:;
+-      if (__pyx_t_24) {
++      if (__pyx_t_26) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":218
+  *             y_tmp = (y_tmp - oy) / cell_height
+@@ -5094,9 +5614,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  *             rows_out[row, col] = y_tmp
+  * 
+  */
+-      __pyx_t_38 = __pyx_v_row;
+-      __pyx_t_39 = __pyx_v_col;
+-      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_38 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_39)) )) = __pyx_v_x_tmp;
++      __pyx_t_40 = __pyx_v_row;
++      __pyx_t_41 = __pyx_v_col;
++      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_40 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_41)) )) = __pyx_v_x_tmp;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":220
+  *                 points_in_grid += 1
+@@ -5105,9 +5625,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+  * 
+  *     # return points_in_grid, x_arr, y_arr
+  */
+-      __pyx_t_40 = __pyx_v_row;
+-      __pyx_t_41 = __pyx_v_col;
+-      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_40 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_41)) )) = __pyx_v_y_tmp;
++      __pyx_t_42 = __pyx_v_row;
++      __pyx_t_43 = __pyx_v_col;
++      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_42 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_43)) )) = __pyx_v_y_tmp;
+       __pyx_L33_continue:;
+     }
+   }
+@@ -5128,33 +5648,33 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   __Pyx_GOTREF(__pyx_t_4);
+   __pyx_t_3 = __Pyx_PyInt_From_unsigned_int(__pyx_v_w); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 223, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+-  __pyx_t_42 = __Pyx_PyInt_From_unsigned_int(__pyx_v_h); if (unlikely(!__pyx_t_42)) __PYX_ERR(0, 223, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_42);
+-  __pyx_t_43 = PyTuple_New(7); if (unlikely(!__pyx_t_43)) __PYX_ERR(0, 223, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_43);
++  __pyx_t_44 = __Pyx_PyInt_From_unsigned_int(__pyx_v_h); if (unlikely(!__pyx_t_44)) __PYX_ERR(0, 223, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_44);
++  __pyx_t_45 = PyTuple_New(7); if (unlikely(!__pyx_t_45)) __PYX_ERR(0, 223, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_45);
+   __Pyx_GIVEREF(__pyx_t_1);
+-  PyTuple_SET_ITEM(__pyx_t_43, 0, __pyx_t_1);
++  PyTuple_SET_ITEM(__pyx_t_45, 0, __pyx_t_1);
+   __Pyx_INCREF(((PyObject *)__pyx_v_lon_arr));
+   __Pyx_GIVEREF(((PyObject *)__pyx_v_lon_arr));
+-  PyTuple_SET_ITEM(__pyx_t_43, 1, ((PyObject *)__pyx_v_lon_arr));
++  PyTuple_SET_ITEM(__pyx_t_45, 1, ((PyObject *)__pyx_v_lon_arr));
+   __Pyx_INCREF(((PyObject *)__pyx_v_lat_arr));
+   __Pyx_GIVEREF(((PyObject *)__pyx_v_lat_arr));
+-  PyTuple_SET_ITEM(__pyx_t_43, 2, ((PyObject *)__pyx_v_lat_arr));
++  PyTuple_SET_ITEM(__pyx_t_45, 2, ((PyObject *)__pyx_v_lat_arr));
+   __Pyx_GIVEREF(__pyx_t_2);
+-  PyTuple_SET_ITEM(__pyx_t_43, 3, __pyx_t_2);
++  PyTuple_SET_ITEM(__pyx_t_45, 3, __pyx_t_2);
+   __Pyx_GIVEREF(__pyx_t_4);
+-  PyTuple_SET_ITEM(__pyx_t_43, 4, __pyx_t_4);
++  PyTuple_SET_ITEM(__pyx_t_45, 4, __pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_43, 5, __pyx_t_3);
+-  __Pyx_GIVEREF(__pyx_t_42);
+-  PyTuple_SET_ITEM(__pyx_t_43, 6, __pyx_t_42);
++  PyTuple_SET_ITEM(__pyx_t_45, 5, __pyx_t_3);
++  __Pyx_GIVEREF(__pyx_t_44);
++  PyTuple_SET_ITEM(__pyx_t_45, 6, __pyx_t_44);
+   __pyx_t_1 = 0;
+   __pyx_t_2 = 0;
+   __pyx_t_4 = 0;
+   __pyx_t_3 = 0;
+-  __pyx_t_42 = 0;
+-  __pyx_r = __pyx_t_43;
+-  __pyx_t_43 = 0;
++  __pyx_t_44 = 0;
++  __pyx_r = __pyx_t_45;
++  __pyx_t_45 = 0;
+   goto __pyx_L0;
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":87
+@@ -5172,8 +5692,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_6ll2cr_dynamic(CYTHON_UNUSED
+   __Pyx_XDECREF(__pyx_t_3);
+   __Pyx_XDECREF(__pyx_t_4);
+   __PYX_XDEC_MEMVIEW(&__pyx_t_6, 1);
+-  __Pyx_XDECREF(__pyx_t_42);
+-  __Pyx_XDECREF(__pyx_t_43);
++  __Pyx_XDECREF(__pyx_t_44);
++  __Pyx_XDECREF(__pyx_t_45);
+   { PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
+     __Pyx_PyThreadState_declare
+     __Pyx_PyThreadState_assign
+@@ -5225,29 +5745,36 @@ static PyObject *__pyx_pw_10pyresample_3ewa_6_ll2cr_5ll2cr_static(PyObject *__py
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_signatures)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_args)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 1); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_kwargs)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 2); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_defaults)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("__pyx_fused_cpdef", 1, 4, 4, 3); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
+@@ -5285,8 +5812,8 @@ static PyObject *__pyx_pw_10pyresample_3ewa_6_ll2cr_5ll2cr_static(PyObject *__py
+ 
+ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_signatures, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs, CYTHON_UNUSED PyObject *__pyx_v_defaults) {
+   PyObject *__pyx_v_dest_sig = NULL;
++  Py_ssize_t __pyx_v_i;
+   PyTypeObject *__pyx_v_ndarray = 0;
+-  PyObject *__pyx_v_numpy = NULL;
+   __Pyx_memviewslice __pyx_v_memslice;
+   Py_ssize_t __pyx_v_itemsize;
+   CYTHON_UNUSED int __pyx_v_dtype_signed;
+@@ -5297,30 +5824,26 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED
+   PyObject *__pyx_v_candidates = NULL;
+   PyObject *__pyx_v_sig = NULL;
+   int __pyx_v_match_found;
+-  PyObject *__pyx_v_src_type = NULL;
++  PyObject *__pyx_v_src_sig = NULL;
+   PyObject *__pyx_v_dst_type = NULL;
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   int __pyx_t_2;
+   int __pyx_t_3;
+-  PyObject *__pyx_t_4 = NULL;
+-  PyObject *__pyx_t_5 = NULL;
++  int __pyx_t_4;
++  Py_ssize_t __pyx_t_5;
+   PyObject *__pyx_t_6 = NULL;
+-  int __pyx_t_7;
+-  PyObject *__pyx_t_8 = NULL;
+-  PyObject *__pyx_t_9 = NULL;
+-  Py_ssize_t __pyx_t_10;
+-  long __pyx_t_11;
+-  Py_ssize_t __pyx_t_12;
+-  int __pyx_t_13;
++  long __pyx_t_7;
++  __Pyx_memviewslice __pyx_t_8;
++  Py_ssize_t __pyx_t_9;
++  int __pyx_t_10;
++  int __pyx_t_11;
++  PyObject *__pyx_t_12 = NULL;
++  Py_ssize_t __pyx_t_13;
+   Py_ssize_t __pyx_t_14;
+-  PyObject *(*__pyx_t_15)(PyObject *);
+-  PyObject *__pyx_t_16 = NULL;
+-  PyObject *__pyx_t_17 = NULL;
+-  PyObject *__pyx_t_18 = NULL;
+-  PyObject *(*__pyx_t_19)(PyObject *);
+-  int __pyx_t_20;
++  Py_ssize_t __pyx_t_15;
++  int __pyx_t_16;
+   __Pyx_RefNannySetupContext("ll2cr_static", 0);
+   __Pyx_INCREF(__pyx_v_kwargs);
+   __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+@@ -5330,128 +5853,99 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED
+   PyList_SET_ITEM(__pyx_t_1, 0, Py_None);
+   __pyx_v_dest_sig = ((PyObject*)__pyx_t_1);
+   __pyx_t_1 = 0;
+-  __pyx_t_2 = (__pyx_v_kwargs == Py_None);
+-  __pyx_t_3 = (__pyx_t_2 != 0);
+-  if (__pyx_t_3) {
+-    __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF_SET(__pyx_v_kwargs, __pyx_t_1);
+-    __pyx_t_1 = 0;
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L4_bool_binop_done;
+   }
+-  {
+-    __Pyx_PyThreadState_declare
+-    __Pyx_PyThreadState_assign
+-    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
+-    __Pyx_XGOTREF(__pyx_t_4);
+-    __Pyx_XGOTREF(__pyx_t_5);
+-    __Pyx_XGOTREF(__pyx_t_6);
+-    /*try:*/ {
+-      __pyx_t_1 = __Pyx_Import(__pyx_n_s_numpy, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __pyx_v_numpy = __pyx_t_1;
+-      __pyx_t_1 = 0;
+-      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_numpy, __pyx_n_s_ndarray); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L4_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      if (!(likely(PyType_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "type", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 229, __pyx_L4_error)
+-      __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
+-      __pyx_t_1 = 0;
+-    }
+-    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    goto __pyx_L11_try_end;
+-    __pyx_L4_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError) || __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError);
+-    if (__pyx_t_7) {
+-      __Pyx_AddTraceback("pyresample.ewa._ll2cr.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_8, &__pyx_t_9) < 0) __PYX_ERR(0, 229, __pyx_L6_except_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_GOTREF(__pyx_t_8);
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __Pyx_INCREF(Py_None);
+-      __Pyx_XDECREF_SET(__pyx_v_ndarray, ((PyTypeObject*)Py_None));
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-      goto __pyx_L5_exception_handled;
+-    }
+-    goto __pyx_L6_except_error;
+-    __pyx_L6_except_error:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    goto __pyx_L1_error;
+-    __pyx_L5_exception_handled:;
+-    __Pyx_PyThreadState_assign
+-    __Pyx_XGIVEREF(__pyx_t_4);
+-    __Pyx_XGIVEREF(__pyx_t_5);
+-    __Pyx_XGIVEREF(__pyx_t_6);
+-    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
+-    __pyx_L11_try_end:;
++  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_kwargs); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_3 = ((!__pyx_t_4) != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L4_bool_binop_done:;
++  if (__pyx_t_2) {
++    __Pyx_INCREF(Py_None);
++    __Pyx_DECREF_SET(__pyx_v_kwargs, Py_None);
+   }
++  __pyx_t_1 = ((PyObject *)__Pyx_ImportNumPyArrayTypeIfAvailable()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_v_ndarray = ((PyTypeObject*)__pyx_t_1);
++  __pyx_t_1 = 0;
+   __pyx_v_itemsize = -1L;
+   if (unlikely(__pyx_v_args == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+-  __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __pyx_t_3 = ((0 < __pyx_t_10) != 0);
+-  if (__pyx_t_3) {
++  __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_2 = ((0 < __pyx_t_5) != 0);
++  if (__pyx_t_2) {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 229, __pyx_L1_error)
+     }
+-    __pyx_t_9 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
+-    __Pyx_INCREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = PyTuple_GET_ITEM(((PyObject*)__pyx_v_args), 0);
++    __Pyx_INCREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
++  }
++  __pyx_t_3 = (__pyx_v_kwargs != Py_None);
++  __pyx_t_4 = (__pyx_t_3 != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L7_bool_binop_done;
+   }
+   if (unlikely(__pyx_v_kwargs == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+-  __pyx_t_3 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_lon_arr, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __pyx_t_2 = (__pyx_t_3 != 0);
++  __pyx_t_4 = (__Pyx_PyDict_ContainsTF(__pyx_n_s_lon_arr, ((PyObject*)__pyx_v_kwargs), Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_3 = (__pyx_t_4 != 0);
++  __pyx_t_2 = __pyx_t_3;
++  __pyx_L7_bool_binop_done:;
+   if (__pyx_t_2) {
+     if (unlikely(__pyx_v_kwargs == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 229, __pyx_L1_error)
+     }
+-    __pyx_t_9 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_lon_arr); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_v_arg = __pyx_t_9;
+-    __pyx_t_9 = 0;
+-    goto __pyx_L14;
++    __pyx_t_1 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_kwargs), __pyx_n_s_lon_arr); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_v_arg = __pyx_t_1;
++    __pyx_t_1 = 0;
++    goto __pyx_L6;
+   }
+   /*else*/ {
+     if (unlikely(__pyx_v_args == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+       __PYX_ERR(0, 229, __pyx_L1_error)
+     }
+-    __pyx_t_10 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_10 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __pyx_t_9 = PyInt_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_8 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_arguments, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_8);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8);
+-    __pyx_t_8 = 0;
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_9, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++    __pyx_t_5 = PyTuple_GET_SIZE(((PyObject*)__pyx_v_args)); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
++    __pyx_t_1 = PyInt_FromSsize_t(__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_INCREF(__pyx_int_10);
++    __Pyx_GIVEREF(__pyx_int_10);
++    PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_int_10);
++    __Pyx_INCREF(__pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_n_s_s);
++    PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_n_s_s);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_1);
++    __pyx_t_1 = 0;
++    __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Expected_at_least_d_argument_s_g, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+-  __pyx_L14:;
++  __pyx_L6:;
+   while (1) {
+     __pyx_t_2 = (__pyx_v_ndarray != ((PyTypeObject*)Py_None));
+     __pyx_t_3 = (__pyx_t_2 != 0);
+@@ -5459,75 +5953,76 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED
+       __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg, __pyx_v_ndarray); 
+       __pyx_t_2 = (__pyx_t_3 != 0);
+       if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_dtype = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        goto __pyx_L18;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_dtype = __pyx_t_6;
++        __pyx_t_6 = 0;
++        goto __pyx_L12;
+       }
+-      __pyx_t_2 = (__pyx_memoryview_check(__pyx_v_arg) != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_v_arg_base = __pyx_t_8;
+-        __pyx_t_8 = 0;
+-        __pyx_t_2 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
+-        __pyx_t_3 = (__pyx_t_2 != 0);
+-        if (__pyx_t_3) {
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_v_dtype = __pyx_t_8;
+-          __pyx_t_8 = 0;
+-          goto __pyx_L19;
++      __pyx_t_2 = __pyx_memoryview_check(__pyx_v_arg); 
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_base); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_v_arg_base = __pyx_t_6;
++        __pyx_t_6 = 0;
++        __pyx_t_3 = __Pyx_TypeCheck(__pyx_v_arg_base, __pyx_v_ndarray); 
++        __pyx_t_2 = (__pyx_t_3 != 0);
++        if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg_base, __pyx_n_s_dtype); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_v_dtype = __pyx_t_6;
++          __pyx_t_6 = 0;
++          goto __pyx_L13;
+         }
+         /*else*/ {
+           __Pyx_INCREF(Py_None);
+           __pyx_v_dtype = Py_None;
+         }
+-        __pyx_L19:;
+-        goto __pyx_L18;
++        __pyx_L13:;
++        goto __pyx_L12;
+       }
+       /*else*/ {
+         __Pyx_INCREF(Py_None);
+         __pyx_v_dtype = Py_None;
+       }
+-      __pyx_L18:;
++      __pyx_L12:;
+       __pyx_v_itemsize = -1L;
+-      __pyx_t_3 = (__pyx_v_dtype != Py_None);
+-      __pyx_t_2 = (__pyx_t_3 != 0);
+-      if (__pyx_t_2) {
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_itemsize = __pyx_t_10;
+-        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_8);
+-        __pyx_t_11 = __Pyx_PyObject_Ord(__pyx_t_8); if (unlikely(__pyx_t_11 == (long)(Py_UCS4)-1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-        __pyx_v_kind = __pyx_t_11;
++      __pyx_t_2 = (__pyx_v_dtype != Py_None);
++      __pyx_t_3 = (__pyx_t_2 != 0);
++      if (__pyx_t_3) {
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_itemsize); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_itemsize = __pyx_t_5;
++        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_dtype, __pyx_n_s_kind); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __pyx_t_7 = __Pyx_PyObject_Ord(__pyx_t_6); if (unlikely(__pyx_t_7 == ((long)(long)(Py_UCS4)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++        __pyx_v_kind = __pyx_t_7;
+         __pyx_v_dtype_signed = (__pyx_v_kind == 'i');
+         switch (__pyx_v_kind) {
+           case 'i':
+           case 'u':
+           break;
+           case 'f':
+-          __pyx_t_3 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
+-          if (__pyx_t_3) {
++          __pyx_t_2 = (((sizeof(__pyx_t_5numpy_float64_t)) == __pyx_v_itemsize) != 0);
++          if (__pyx_t_2) {
+           } else {
+-            __pyx_t_2 = __pyx_t_3;
+-            goto __pyx_L22_bool_binop_done;
++            __pyx_t_3 = __pyx_t_2;
++            goto __pyx_L16_bool_binop_done;
+           }
+-          __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_8);
+-          __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 229, __pyx_L1_error)
+-          __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-          __pyx_t_3 = ((((Py_ssize_t)__pyx_t_10) == 2) != 0);
+-          __pyx_t_2 = __pyx_t_3;
+-          __pyx_L22_bool_binop_done:;
+-          if (__pyx_t_2) {
++          __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_arg, __pyx_n_s_ndim); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++          __Pyx_GOTREF(__pyx_t_6);
++          __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 229, __pyx_L1_error)
++          __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++          __pyx_t_2 = ((((Py_ssize_t)__pyx_t_5) == 2) != 0);
++          __pyx_t_3 = __pyx_t_2;
++          __pyx_L16_bool_binop_done:;
++          if (__pyx_t_3) {
+             if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-            goto __pyx_L16_break;
++            goto __pyx_L10_break;
+           }
+           break;
+           case 'c':
+@@ -5538,210 +6033,118 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED
+         }
+       }
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == -1L) != 0);
+-    if (!__pyx_t_3) {
++    __pyx_t_2 = ((__pyx_v_itemsize == -1L) != 0);
++    if (!__pyx_t_2) {
+     } else {
+-      __pyx_t_2 = __pyx_t_3;
+-      goto __pyx_L25_bool_binop_done;
++      __pyx_t_3 = __pyx_t_2;
++      goto __pyx_L19_bool_binop_done;
+     }
+-    __pyx_t_3 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
+-    __pyx_t_2 = __pyx_t_3;
+-    __pyx_L25_bool_binop_done:;
+-    if (__pyx_t_2) {
+-      __pyx_v_memslice = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg);
+-      __pyx_t_2 = (__pyx_v_memslice.memview != 0);
+-      if (__pyx_t_2) {
+-        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1);
++    __pyx_t_2 = ((__pyx_v_itemsize == (sizeof(__pyx_t_5numpy_float64_t))) != 0);
++    __pyx_t_3 = __pyx_t_2;
++    __pyx_L19_bool_binop_done:;
++    if (__pyx_t_3) {
++      __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(__pyx_v_arg, 0); 
++      __pyx_v_memslice = __pyx_t_8;
++      __pyx_t_3 = (__pyx_v_memslice.memview != 0);
++      if (__pyx_t_3) {
++        __PYX_XDEC_MEMVIEW((&__pyx_v_memslice), 1); 
+         if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, __pyx_n_s_float64_t, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        goto __pyx_L16_break;
++        goto __pyx_L10_break;
+       }
+       /*else*/ {
+-        PyErr_Clear();
++        PyErr_Clear(); 
+       }
+     }
+     if (unlikely(__Pyx_SetItemInt(__pyx_v_dest_sig, 0, Py_None, long, 1, __Pyx_PyInt_From_long, 1, 0, 0) < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    goto __pyx_L16_break;
++    goto __pyx_L10_break;
+   }
+-  __pyx_L16_break:;
+-  __pyx_t_8 = PyList_New(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_8);
+-  __pyx_v_candidates = ((PyObject*)__pyx_t_8);
+-  __pyx_t_8 = 0;
+-  __pyx_t_10 = 0;
++  __pyx_L10_break:;
++  __pyx_t_6 = PyList_New(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_6);
++  __pyx_v_candidates = ((PyObject*)__pyx_t_6);
++  __pyx_t_6 = 0;
++  __pyx_t_5 = 0;
+   if (unlikely(__pyx_v_signatures == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+-  __pyx_t_9 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_12), (&__pyx_t_7)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __pyx_t_8 = __pyx_t_9;
+-  __pyx_t_9 = 0;
++  __pyx_t_1 = __Pyx_dict_iterator(((PyObject*)__pyx_v_signatures), 1, ((PyObject *)NULL), (&__pyx_t_9), (&__pyx_t_10)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_6);
++  __pyx_t_6 = __pyx_t_1;
++  __pyx_t_1 = 0;
+   while (1) {
+-    __pyx_t_13 = __Pyx_dict_iter_next(__pyx_t_8, __pyx_t_12, &__pyx_t_10, &__pyx_t_9, NULL, NULL, __pyx_t_7);
+-    if (unlikely(__pyx_t_13 == 0)) break;
+-    if (unlikely(__pyx_t_13 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_9);
+-    __pyx_t_9 = 0;
++    __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_9, &__pyx_t_5, &__pyx_t_1, NULL, NULL, __pyx_t_10);
++    if (unlikely(__pyx_t_11 == 0)) break;
++    if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_XDECREF_SET(__pyx_v_sig, __pyx_t_1);
++    __pyx_t_1 = 0;
+     __pyx_v_match_found = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_sig, __pyx_n_s_strip); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_split); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__8, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_9 = PyTuple_New(2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_1);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_1);
+-    __Pyx_INCREF(__pyx_v_dest_sig);
+-    __Pyx_GIVEREF(__pyx_v_dest_sig);
+-    PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_v_dest_sig);
+-    __pyx_t_1 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_split); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
+-      __pyx_t_9 = __pyx_t_1; __Pyx_INCREF(__pyx_t_9); __pyx_t_14 = 0;
+-      __pyx_t_15 = NULL;
+-    } else {
+-      __pyx_t_14 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 229, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_15 = Py_TYPE(__pyx_t_9)->tp_iternext; if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    }
++    __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++    __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_12);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    for (;;) {
+-      if (likely(!__pyx_t_15)) {
+-        if (likely(PyList_CheckExact(__pyx_t_9))) {
+-          if (__pyx_t_14 >= PyList_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        } else {
+-          if (__pyx_t_14 >= PyTuple_GET_SIZE(__pyx_t_9)) break;
+-          #if CYTHON_COMPILING_IN_CPYTHON
+-          __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          #else
+-          __pyx_t_1 = PySequence_ITEM(__pyx_t_9, __pyx_t_14); __pyx_t_14++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-          __Pyx_GOTREF(__pyx_t_1);
+-          #endif
+-        }
+-      } else {
+-        __pyx_t_1 = __pyx_t_15(__pyx_t_9);
+-        if (unlikely(!__pyx_t_1)) {
+-          PyObject* exc_type = PyErr_Occurred();
+-          if (exc_type) {
+-            if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-            else __PYX_ERR(0, 229, __pyx_L1_error)
+-          }
+-          break;
+-        }
+-        __Pyx_GOTREF(__pyx_t_1);
+-      }
+-      if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) {
+-        PyObject* sequence = __pyx_t_1;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        Py_ssize_t size = Py_SIZE(sequence);
+-        #else
+-        Py_ssize_t size = PySequence_Size(sequence);
+-        #endif
+-        if (unlikely(size != 2)) {
+-          if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+-          else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-          __PYX_ERR(0, 229, __pyx_L1_error)
+-        }
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        if (likely(PyTuple_CheckExact(sequence))) {
+-          __pyx_t_16 = PyTuple_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyTuple_GET_ITEM(sequence, 1); 
+-        } else {
+-          __pyx_t_16 = PyList_GET_ITEM(sequence, 0); 
+-          __pyx_t_17 = PyList_GET_ITEM(sequence, 1); 
+-        }
+-        __Pyx_INCREF(__pyx_t_16);
+-        __Pyx_INCREF(__pyx_t_17);
+-        #else
+-        __pyx_t_16 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_16);
+-        __pyx_t_17 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_17);
+-        #endif
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      } else {
+-        Py_ssize_t index = -1;
+-        __pyx_t_18 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_18);
+-        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        __pyx_t_19 = Py_TYPE(__pyx_t_18)->tp_iternext;
+-        index = 0; __pyx_t_16 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_16)) goto __pyx_L32_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_16);
+-        index = 1; __pyx_t_17 = __pyx_t_19(__pyx_t_18); if (unlikely(!__pyx_t_17)) goto __pyx_L32_unpacking_failed;
+-        __Pyx_GOTREF(__pyx_t_17);
+-        if (__Pyx_IternextUnpackEndCheck(__pyx_t_19(__pyx_t_18), 2) < 0) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __pyx_t_19 = NULL;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        goto __pyx_L33_unpacking_done;
+-        __pyx_L32_unpacking_failed:;
+-        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
+-        __pyx_t_19 = NULL;
+-        if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
+-        __PYX_ERR(0, 229, __pyx_L1_error)
+-        __pyx_L33_unpacking_done:;
+-      }
+-      __Pyx_XDECREF_SET(__pyx_v_src_type, __pyx_t_16);
+-      __pyx_t_16 = 0;
+-      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_17);
+-      __pyx_t_17 = 0;
+-      __pyx_t_2 = (__pyx_v_dst_type != Py_None);
+-      __pyx_t_3 = (__pyx_t_2 != 0);
+-      if (__pyx_t_3) {
+-        __pyx_t_1 = PyObject_RichCompare(__pyx_v_src_type, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-        __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_XDECREF_SET(__pyx_v_src_sig, __pyx_t_12);
++    __pyx_t_12 = 0;
++    __pyx_t_13 = PyList_GET_SIZE(__pyx_v_dest_sig); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
++    __pyx_t_14 = __pyx_t_13;
++    for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) {
++      __pyx_v_i = __pyx_t_15;
++      __pyx_t_12 = PyList_GET_ITEM(__pyx_v_dest_sig, __pyx_v_i);
++      __Pyx_INCREF(__pyx_t_12);
++      __Pyx_XDECREF_SET(__pyx_v_dst_type, __pyx_t_12);
++      __pyx_t_12 = 0;
++      __pyx_t_3 = (__pyx_v_dst_type != Py_None);
++      __pyx_t_2 = (__pyx_t_3 != 0);
++      if (__pyx_t_2) {
++        __pyx_t_12 = __Pyx_GetItemInt(__pyx_v_src_sig, __pyx_v_i, Py_ssize_t, 1, PyInt_FromSsize_t, 0, 0, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_12);
++        __pyx_t_1 = PyObject_RichCompare(__pyx_t_12, __pyx_v_dst_type, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error)
++        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
++        __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 229, __pyx_L1_error)
+         __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-        if (__pyx_t_3) {
++        if (__pyx_t_2) {
+           __pyx_v_match_found = 1;
+-          goto __pyx_L35;
++          goto __pyx_L27;
+         }
+         /*else*/ {
+           __pyx_v_match_found = 0;
+-          goto __pyx_L31_break;
++          goto __pyx_L25_break;
+         }
+-        __pyx_L35:;
++        __pyx_L27:;
+       }
+     }
+-    __pyx_L31_break:;
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __pyx_t_3 = (__pyx_v_match_found != 0);
+-    if (__pyx_t_3) {
+-      __pyx_t_20 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_20 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __pyx_L25_break:;
++    __pyx_t_2 = (__pyx_v_match_found != 0);
++    if (__pyx_t_2) {
++      __pyx_t_16 = __Pyx_PyList_Append(__pyx_v_candidates, __pyx_v_sig); if (unlikely(__pyx_t_16 == ((int)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
+     }
+   }
+-  __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+-  __pyx_t_3 = (__pyx_v_candidates != Py_None) && (PyList_GET_SIZE(__pyx_v_candidates) != 0);
+-  __pyx_t_2 = ((!__pyx_t_3) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++  __pyx_t_2 = (PyList_GET_SIZE(__pyx_v_candidates) != 0);
++  __pyx_t_3 = ((!__pyx_t_2) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+-  __pyx_t_12 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_12 == -1)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __pyx_t_2 = ((__pyx_t_12 > 1) != 0);
+-  if (__pyx_t_2) {
+-    __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __Pyx_Raise(__pyx_t_8, 0, 0, 0);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++  __pyx_t_9 = PyList_GET_SIZE(__pyx_v_candidates); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_3 = ((__pyx_t_9 > 1) != 0);
++  if (__pyx_t_3) {
++    __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __Pyx_Raise(__pyx_t_6, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __PYX_ERR(0, 229, __pyx_L1_error)
+   }
+   /*else*/ {
+@@ -5750,33 +6153,29 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_4ll2cr_static(CYTHON_UNUSED
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+       __PYX_ERR(0, 229, __pyx_L1_error)
+     }
+-    __pyx_t_8 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    __pyx_r = __pyx_t_8;
+-    __pyx_t_8 = 0;
++    __pyx_t_6 = __Pyx_PyDict_GetItem(((PyObject*)__pyx_v_signatures), PyList_GET_ITEM(__pyx_v_candidates, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 229, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_r = __pyx_t_6;
++    __pyx_t_6 = 0;
+     goto __pyx_L0;
+   }
+ 
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_1);
+-  __Pyx_XDECREF(__pyx_t_8);
+-  __Pyx_XDECREF(__pyx_t_9);
+-  __Pyx_XDECREF(__pyx_t_16);
+-  __Pyx_XDECREF(__pyx_t_17);
+-  __Pyx_XDECREF(__pyx_t_18);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_12);
+   __Pyx_AddTraceback("pyresample.ewa._ll2cr.__pyx_fused_cpdef", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = NULL;
+   __pyx_L0:;
+   __Pyx_XDECREF(__pyx_v_dest_sig);
+   __Pyx_XDECREF(__pyx_v_ndarray);
+-  __Pyx_XDECREF(__pyx_v_numpy);
+   __Pyx_XDECREF(__pyx_v_arg);
+   __Pyx_XDECREF(__pyx_v_dtype);
+   __Pyx_XDECREF(__pyx_v_arg_base);
+   __Pyx_XDECREF(__pyx_v_candidates);
+   __Pyx_XDECREF(__pyx_v_sig);
+-  __Pyx_XDECREF(__pyx_v_src_type);
++  __Pyx_XDECREF(__pyx_v_src_sig);
+   __Pyx_XDECREF(__pyx_v_dst_type);
+   __Pyx_XDECREF(__pyx_v_kwargs);
+   __Pyx_XGIVEREF(__pyx_r);
+@@ -5809,65 +6208,84 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_6_ll2cr_11ll2cr_static(P
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
++        CYTHON_FALLTHROUGH;
+         case  9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
++        CYTHON_FALLTHROUGH;
+         case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
++        CYTHON_FALLTHROUGH;
+         case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
++        CYTHON_FALLTHROUGH;
+         case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
++        CYTHON_FALLTHROUGH;
+         case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
+         case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lon_arr)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lon_arr)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_lat_arr)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_lat_arr)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 1); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_fill_in)) != 0)) kw_args--;
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_fill_in)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 2); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  3:
+-        if (likely((values[3] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_proj4_definition)) != 0)) kw_args--;
++        if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_proj4_definition)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 3); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  4:
+-        if (likely((values[4] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cell_width)) != 0)) kw_args--;
++        if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cell_width)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 4); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  5:
+-        if (likely((values[5] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_cell_height)) != 0)) kw_args--;
++        if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_cell_height)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 5); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  6:
+-        if (likely((values[6] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
++        if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_width)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 6); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  7:
+-        if (likely((values[7] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
++        if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_height)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 7); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  8:
+-        if (likely((values[8] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_origin_x)) != 0)) kw_args--;
++        if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_origin_x)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 8); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  9:
+-        if (likely((values[9] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_origin_y)) != 0)) kw_args--;
++        if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_origin_y)) != 0)) kw_args--;
+         else {
+           __Pyx_RaiseArgtupleInvalid("ll2cr_static", 1, 10, 10, 9); __PYX_ERR(0, 229, __pyx_L3_error)
+         }
+@@ -5891,7 +6309,7 @@ static PyObject *__pyx_fuse_0__pyx_pw_10pyresample_3ewa_6_ll2cr_11ll2cr_static(P
+     }
+     __pyx_v_lon_arr = ((PyArrayObject *)values[0]);
+     __pyx_v_lat_arr = ((PyArrayObject *)values[1]);
+-    __pyx_v_fill_in = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_fill_in == (npy_float64)-1) && PyErr_Occurred())) __PYX_ERR(0, 230, __pyx_L3_error)
++    __pyx_v_fill_in = __pyx_PyFloat_AsDouble(values[2]); if (unlikely((__pyx_v_fill_in == ((npy_float64)-1)) && PyErr_Occurred())) __PYX_ERR(0, 230, __pyx_L3_error)
+     __pyx_v_proj4_definition = ((PyObject*)values[3]);
+     __pyx_v_cell_width = __pyx_PyFloat_AsDouble(values[4]); if (unlikely((__pyx_v_cell_width == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error)
+     __pyx_v_cell_height = __pyx_PyFloat_AsDouble(values[5]); if (unlikely((__pyx_v_cell_height == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error)
+@@ -5945,27 +6363,29 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+   PyObject *__pyx_t_2 = NULL;
+   PyObject *__pyx_t_3 = NULL;
+   PyObject *__pyx_t_4 = NULL;
+-  Py_ssize_t __pyx_t_5;
++  int __pyx_t_5;
+   __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } };
+   double __pyx_t_7;
+   unsigned int __pyx_t_8;
+   unsigned int __pyx_t_9;
+   unsigned int __pyx_t_10;
+   unsigned int __pyx_t_11;
+-  size_t __pyx_t_12;
+-  size_t __pyx_t_13;
++  unsigned int __pyx_t_12;
++  unsigned int __pyx_t_13;
+   size_t __pyx_t_14;
+   size_t __pyx_t_15;
+-  int __pyx_t_16;
++  size_t __pyx_t_16;
+   size_t __pyx_t_17;
+-  size_t __pyx_t_18;
++  int __pyx_t_18;
+   size_t __pyx_t_19;
+   size_t __pyx_t_20;
+-  int __pyx_t_21;
++  size_t __pyx_t_21;
+   size_t __pyx_t_22;
+-  size_t __pyx_t_23;
++  int __pyx_t_23;
+   size_t __pyx_t_24;
+   size_t __pyx_t_25;
++  size_t __pyx_t_26;
++  size_t __pyx_t_27;
+   __Pyx_RefNannySetupContext("__pyx_fuse_0ll2cr_static", 0);
+   __pyx_pybuffer_lon_arr.pybuffer.buf = NULL;
+   __pyx_pybuffer_lon_arr.refcount = 0;
+@@ -5996,7 +6416,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+   __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_MyProj); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 257, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_3 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -6009,15 +6429,33 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+     __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_proj4_definition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 257, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
+-    __Pyx_INCREF(__pyx_v_proj4_definition);
+-    __Pyx_GIVEREF(__pyx_v_proj4_definition);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_proj4_definition);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_proj4_definition};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_proj4_definition};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 257, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
++      __Pyx_INCREF(__pyx_v_proj4_definition);
++      __Pyx_GIVEREF(__pyx_v_proj4_definition);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_proj4_definition);
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_v_p = __pyx_t_1;
+@@ -6033,7 +6471,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+   __Pyx_INCREF(__pyx_v_p);
+   __pyx_t_2 = __pyx_v_p; __pyx_t_4 = NULL;
+   __pyx_t_5 = 0;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_4)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -6043,20 +6481,38 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+       __pyx_t_5 = 1;
+     }
+   }
+-  __pyx_t_3 = PyTuple_New(2+__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 260, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  if (__pyx_t_4) {
+-    __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
++  #if CYTHON_FAST_PYCALL
++  if (PyFunction_Check(__pyx_t_2)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, ((PyObject *)__pyx_v_lon_arr), ((PyObject *)__pyx_v_lat_arr)};
++    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 260, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_1);
++  } else
++  #endif
++  #if CYTHON_FAST_PYCCALL
++  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++    PyObject *__pyx_temp[3] = {__pyx_t_4, ((PyObject *)__pyx_v_lon_arr), ((PyObject *)__pyx_v_lat_arr)};
++    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 260, __pyx_L1_error)
++    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
++    __Pyx_GOTREF(__pyx_t_1);
++  } else
++  #endif
++  {
++    __pyx_t_3 = PyTuple_New(2+__pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 260, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    if (__pyx_t_4) {
++      __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4); __pyx_t_4 = NULL;
++    }
++    __Pyx_INCREF(((PyObject *)__pyx_v_lon_arr));
++    __Pyx_GIVEREF(((PyObject *)__pyx_v_lon_arr));
++    PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_5, ((PyObject *)__pyx_v_lon_arr));
++    __Pyx_INCREF(((PyObject *)__pyx_v_lat_arr));
++    __Pyx_GIVEREF(((PyObject *)__pyx_v_lat_arr));
++    PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_5, ((PyObject *)__pyx_v_lat_arr));
++    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 260, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   }
+-  __Pyx_INCREF(((PyObject *)__pyx_v_lon_arr));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_lon_arr));
+-  PyTuple_SET_ITEM(__pyx_t_3, 0+__pyx_t_5, ((PyObject *)__pyx_v_lon_arr));
+-  __Pyx_INCREF(((PyObject *)__pyx_v_lat_arr));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_lat_arr));
+-  PyTuple_SET_ITEM(__pyx_t_3, 1+__pyx_t_5, ((PyObject *)__pyx_v_lat_arr));
+-  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 260, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_1);
+-  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 260, __pyx_L1_error)
+   __pyx_v_projected_tuple = ((PyObject*)__pyx_t_1);
+@@ -6073,8 +6529,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+     __PYX_ERR(0, 261, __pyx_L1_error)
+   }
+-  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 1));
+-  if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 261, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 1), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 261, __pyx_L1_error)
+   __pyx_v_rows_out = __pyx_t_6;
+   __pyx_t_6.memview = NULL;
+   __pyx_t_6.data = NULL;
+@@ -6090,8 +6545,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+     __PYX_ERR(0, 262, __pyx_L1_error)
+   }
+-  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 0));
+-  if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 262, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyTuple_GET_ITEM(__pyx_v_projected_tuple, 0), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 262, __pyx_L1_error)
+   __pyx_v_cols_out = __pyx_t_6;
+   __pyx_t_6.memview = NULL;
+   __pyx_t_6.data = NULL;
+@@ -6106,7 +6560,7 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+   __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_projection_circumference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 263, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_3 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_2))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
+     __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
+     if (likely(__pyx_t_3)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
+@@ -6119,15 +6573,33 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+     __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_p); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 263, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
+-    __Pyx_INCREF(__pyx_v_p);
+-    __Pyx_GIVEREF(__pyx_v_p);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_p);
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_p};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_3, __pyx_v_p};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 263, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3); __pyx_t_3 = NULL;
++      __Pyx_INCREF(__pyx_v_p);
++      __Pyx_GIVEREF(__pyx_v_p);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v_p);
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_t_7 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_7 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 263, __pyx_L1_error)
+@@ -6169,8 +6641,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  */
+   __pyx_t_8 = __pyx_v_num_rows;
+-  for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
+-    __pyx_v_row = __pyx_t_9;
++  __pyx_t_9 = __pyx_t_8;
++  for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
++    __pyx_v_row = __pyx_t_10;
+ 
+     /* "pyresample/ewa/_ll2cr.pyx":276
+  * 
+@@ -6179,9 +6652,10 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *             x_tmp = cols_out[row, col]
+  *             y_tmp = rows_out[row, col]
+  */
+-    __pyx_t_10 = __pyx_v_num_cols;
+-    for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
+-      __pyx_v_col = __pyx_t_11;
++    __pyx_t_11 = __pyx_v_num_cols;
++    __pyx_t_12 = __pyx_t_11;
++    for (__pyx_t_13 = 0; __pyx_t_13 < __pyx_t_12; __pyx_t_13+=1) {
++      __pyx_v_col = __pyx_t_13;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":277
+  *     for row in range(num_rows):
+@@ -6190,9 +6664,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *             y_tmp = rows_out[row, col]
+  *             if x_tmp >= 1e30:
+  */
+-      __pyx_t_12 = __pyx_v_row;
+-      __pyx_t_13 = __pyx_v_col;
+-      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_12 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_13)) )));
++      __pyx_t_14 = __pyx_v_row;
++      __pyx_t_15 = __pyx_v_col;
++      __pyx_v_x_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_14 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_15)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":278
+  *         for col in range(num_cols):
+@@ -6201,9 +6675,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *             if x_tmp >= 1e30:
+  *                 cols_out[row, col] = fill_in
+  */
+-      __pyx_t_14 = __pyx_v_row;
+-      __pyx_t_15 = __pyx_v_col;
+-      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_14 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_15)) )));
++      __pyx_t_16 = __pyx_v_row;
++      __pyx_t_17 = __pyx_v_col;
++      __pyx_v_y_tmp = (*((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_16 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_17)) )));
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":279
+  *             x_tmp = cols_out[row, col]
+@@ -6212,8 +6686,8 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *                 cols_out[row, col] = fill_in
+  *                 rows_out[row, col] = fill_in
+  */
+-      __pyx_t_16 = ((__pyx_v_x_tmp >= 1e30) != 0);
+-      if (__pyx_t_16) {
++      __pyx_t_18 = ((__pyx_v_x_tmp >= 1e30) != 0);
++      if (__pyx_t_18) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":280
+  *             y_tmp = rows_out[row, col]
+@@ -6222,9 +6696,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *                 rows_out[row, col] = fill_in
+  *                 continue
+  */
+-        __pyx_t_17 = __pyx_v_row;
+-        __pyx_t_18 = __pyx_v_col;
+-        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_17 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_18)) )) = __pyx_v_fill_in;
++        __pyx_t_19 = __pyx_v_row;
++        __pyx_t_20 = __pyx_v_col;
++        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_19 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_20)) )) = __pyx_v_fill_in;
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":281
+  *             if x_tmp >= 1e30:
+@@ -6233,9 +6707,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *                 continue
+  *             elif proj_circum != 0 and abs(x_tmp - origin_x) >= (0.75 * proj_circum):
+  */
+-        __pyx_t_19 = __pyx_v_row;
+-        __pyx_t_20 = __pyx_v_col;
+-        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_19 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_20)) )) = __pyx_v_fill_in;
++        __pyx_t_21 = __pyx_v_row;
++        __pyx_t_22 = __pyx_v_col;
++        *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_21 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_22)) )) = __pyx_v_fill_in;
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":282
+  *                 cols_out[row, col] = fill_in
+@@ -6262,16 +6736,16 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *                 # if x is more than 75% around the projection space, it is probably crossing the anti-meridian
+  *                 x_tmp += proj_circum
+  */
+-      __pyx_t_21 = ((__pyx_v_proj_circum != 0.0) != 0);
+-      if (__pyx_t_21) {
++      __pyx_t_23 = ((__pyx_v_proj_circum != 0.0) != 0);
++      if (__pyx_t_23) {
+       } else {
+-        __pyx_t_16 = __pyx_t_21;
++        __pyx_t_18 = __pyx_t_23;
+         goto __pyx_L8_bool_binop_done;
+       }
+-      __pyx_t_21 = ((fabs((__pyx_v_x_tmp - __pyx_v_origin_x)) >= (0.75 * __pyx_v_proj_circum)) != 0);
+-      __pyx_t_16 = __pyx_t_21;
++      __pyx_t_23 = ((fabs((__pyx_v_x_tmp - __pyx_v_origin_x)) >= (0.75 * __pyx_v_proj_circum)) != 0);
++      __pyx_t_18 = __pyx_t_23;
+       __pyx_L8_bool_binop_done:;
+-      if (__pyx_t_16) {
++      if (__pyx_t_18) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":285
+  *             elif proj_circum != 0 and abs(x_tmp - origin_x) >= (0.75 * proj_circum):
+@@ -6316,28 +6790,28 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *                 points_in_grid += 1
+  *             cols_out[row, col] = x_tmp
+  */
+-      __pyx_t_21 = ((__pyx_v_x_tmp >= -1.0) != 0);
+-      if (__pyx_t_21) {
++      __pyx_t_23 = ((__pyx_v_x_tmp >= -1.0) != 0);
++      if (__pyx_t_23) {
+       } else {
+-        __pyx_t_16 = __pyx_t_21;
++        __pyx_t_18 = __pyx_t_23;
+         goto __pyx_L11_bool_binop_done;
+       }
+-      __pyx_t_21 = ((__pyx_v_x_tmp <= (__pyx_v_width + 1)) != 0);
+-      if (__pyx_t_21) {
++      __pyx_t_23 = ((__pyx_v_x_tmp <= (__pyx_v_width + 1)) != 0);
++      if (__pyx_t_23) {
+       } else {
+-        __pyx_t_16 = __pyx_t_21;
++        __pyx_t_18 = __pyx_t_23;
+         goto __pyx_L11_bool_binop_done;
+       }
+-      __pyx_t_21 = ((__pyx_v_y_tmp >= -1.0) != 0);
+-      if (__pyx_t_21) {
++      __pyx_t_23 = ((__pyx_v_y_tmp >= -1.0) != 0);
++      if (__pyx_t_23) {
+       } else {
+-        __pyx_t_16 = __pyx_t_21;
++        __pyx_t_18 = __pyx_t_23;
+         goto __pyx_L11_bool_binop_done;
+       }
+-      __pyx_t_21 = ((__pyx_v_y_tmp <= (__pyx_v_height + 1)) != 0);
+-      __pyx_t_16 = __pyx_t_21;
++      __pyx_t_23 = ((__pyx_v_y_tmp <= (__pyx_v_height + 1)) != 0);
++      __pyx_t_18 = __pyx_t_23;
+       __pyx_L11_bool_binop_done:;
+-      if (__pyx_t_16) {
++      if (__pyx_t_18) {
+ 
+         /* "pyresample/ewa/_ll2cr.pyx":290
+  *             y_tmp = (y_tmp - origin_y) / cell_height
+@@ -6364,9 +6838,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  *             rows_out[row, col] = y_tmp
+  * 
+  */
+-      __pyx_t_22 = __pyx_v_row;
+-      __pyx_t_23 = __pyx_v_col;
+-      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_22 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_23)) )) = __pyx_v_x_tmp;
++      __pyx_t_24 = __pyx_v_row;
++      __pyx_t_25 = __pyx_v_col;
++      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_cols_out.data + __pyx_t_24 * __pyx_v_cols_out.strides[0]) )) + __pyx_t_25)) )) = __pyx_v_x_tmp;
+ 
+       /* "pyresample/ewa/_ll2cr.pyx":292
+  *                 points_in_grid += 1
+@@ -6375,9 +6849,9 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+  * 
+  *     # return points_in_grid, x_arr, y_arr
+  */
+-      __pyx_t_24 = __pyx_v_row;
+-      __pyx_t_25 = __pyx_v_col;
+-      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_24 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_25)) )) = __pyx_v_y_tmp;
++      __pyx_t_26 = __pyx_v_row;
++      __pyx_t_27 = __pyx_v_col;
++      *((__pyx_t_5numpy_float64_t *) ( /* dim=1 */ ((char *) (((__pyx_t_5numpy_float64_t *) ( /* dim=0 */ (__pyx_v_rows_out.data + __pyx_t_26 * __pyx_v_rows_out.strides[0]) )) + __pyx_t_27)) )) = __pyx_v_y_tmp;
+       __pyx_L5_continue:;
+     }
+   }
+@@ -6432,12 +6906,12 @@ static PyObject *__pyx_pf_10pyresample_3ewa_6_ll2cr_10ll2cr_static(CYTHON_UNUSED
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":197
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":215
+  *         # experimental exception made for __getbuffer__ and __releasebuffer__
+  *         # -- the details of this may change.
+  *         def __getbuffer__(ndarray self, Py_buffer* info, int flags):             # <<<<<<<<<<<<<<
+  *             # This implementation of getbuffer is geared towards Cython
+- *             # requirements, and does not yet fullfill the PEP.
++ *             # requirements, and does not yet fulfill the PEP.
+  */
+ 
+ /* Python wrapper */
+@@ -6454,7 +6928,6 @@ static CYTHON_UNUSED int __pyx_pw_5numpy_7ndarray_1__getbuffer__(PyObject *__pyx
+ }
+ 
+ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
+-  int __pyx_v_copy_shape;
+   int __pyx_v_i;
+   int __pyx_v_ndim;
+   int __pyx_v_endian_detector;
+@@ -6463,7 +6936,6 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   char *__pyx_v_f;
+   PyArray_Descr *__pyx_v_descr = 0;
+   int __pyx_v_offset;
+-  int __pyx_v_hasfields;
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   int __pyx_t_1;
+@@ -6471,38 +6943,28 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   PyObject *__pyx_t_3 = NULL;
+   int __pyx_t_4;
+   int __pyx_t_5;
+-  PyObject *__pyx_t_6 = NULL;
+-  char *__pyx_t_7;
+-  __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":203
+- *             # of flags
+- * 
+- *             if info == NULL: return             # <<<<<<<<<<<<<<
+- * 
+- *             cdef int copy_shape, i, ndim
+- */
+-  __pyx_t_1 = ((__pyx_v_info == NULL) != 0);
+-  if (__pyx_t_1) {
+-    __pyx_r = 0;
+-    goto __pyx_L0;
++  int __pyx_t_6;
++  PyObject *__pyx_t_7 = NULL;
++  char *__pyx_t_8;
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
+   }
++  __Pyx_RefNannySetupContext("__getbuffer__", 0);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":206
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":222
+  * 
+- *             cdef int copy_shape, i, ndim
++ *             cdef int i, ndim
+  *             cdef int endian_detector = 1             # <<<<<<<<<<<<<<
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)
+  * 
+  */
+   __pyx_v_endian_detector = 1;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":207
+- *             cdef int copy_shape, i, ndim
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":223
++ *             cdef int i, ndim
+  *             cdef int endian_detector = 1
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)             # <<<<<<<<<<<<<<
+  * 
+@@ -6510,59 +6972,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":209
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":225
+  *             cdef bint little_endian = ((&endian_detector)[0] != 0)
+  * 
+  *             ndim = PyArray_NDIM(self)             # <<<<<<<<<<<<<<
+  * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
++ *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  */
+   __pyx_v_ndim = PyArray_NDIM(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":211
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
+  *             ndim = PyArray_NDIM(self)
+  * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 copy_shape = 1
+- *             else:
+- */
+-  __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+-  if (__pyx_t_1) {
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":212
+- * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 copy_shape = 1             # <<<<<<<<<<<<<<
+- *             else:
+- *                 copy_shape = 0
+- */
+-    __pyx_v_copy_shape = 1;
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":211
+- *             ndim = PyArray_NDIM(self)
+- * 
+- *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 copy_shape = 1
+- *             else:
+- */
+-    goto __pyx_L4;
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":214
+- *                 copy_shape = 1
+- *             else:
+- *                 copy_shape = 0             # <<<<<<<<<<<<<<
+- * 
+- *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+- */
+-  /*else*/ {
+-    __pyx_v_copy_shape = 0;
+-  }
+-  __pyx_L4:;
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
+- * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")
+@@ -6571,10 +6992,10 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   if (__pyx_t_2) {
+   } else {
+     __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L6_bool_binop_done;
++    goto __pyx_L4_bool_binop_done;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":217
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":228
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):             # <<<<<<<<<<<<<<
+@@ -6583,32 +7004,32 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_C_CONTIGUOUS) != 0)) != 0);
+   __pyx_t_1 = __pyx_t_2;
+-  __pyx_L6_bool_binop_done:;
++  __pyx_L4_bool_binop_done:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
++ *             ndim = PyArray_NDIM(self)
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  */
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":218
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":229
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__12, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 218, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__12, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 229, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(1, 218, __pyx_L1_error)
++    __PYX_ERR(1, 229, __pyx_L1_error)
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":216
+- *                 copy_shape = 0
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":227
++ *             ndim = PyArray_NDIM(self)
+  * 
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+@@ -6616,7 +7037,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+@@ -6627,10 +7048,10 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   if (__pyx_t_2) {
+   } else {
+     __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L9_bool_binop_done;
++    goto __pyx_L7_bool_binop_done;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":221
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":232
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):             # <<<<<<<<<<<<<<
+@@ -6639,31 +7060,31 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_t_2 = ((!(PyArray_CHKFLAGS(__pyx_v_self, NPY_F_CONTIGUOUS) != 0)) != 0);
+   __pyx_t_1 = __pyx_t_2;
+-  __pyx_L9_bool_binop_done:;
++  __pyx_L7_bool_binop_done:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")
+  */
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":222
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":233
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             info.buf = PyArray_DATA(self)
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 222, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 233, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(1, 222, __pyx_L1_error)
++    __PYX_ERR(1, 233, __pyx_L1_error)
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":220
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":231
+  *                 raise ValueError(u"ndarray is not C contiguous")
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)             # <<<<<<<<<<<<<<
+@@ -6672,64 +7093,65 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":224
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":235
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")
+  * 
+  *             info.buf = PyArray_DATA(self)             # <<<<<<<<<<<<<<
+  *             info.ndim = ndim
+- *             if copy_shape:
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   __pyx_v_info->buf = PyArray_DATA(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":225
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":236
+  * 
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim             # <<<<<<<<<<<<<<
+- *             if copy_shape:
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  *                 # Allocate new buffer for strides and shape info.
+  */
+   __pyx_v_info->ndim = __pyx_v_ndim;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":226
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":237
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim
+- *             if copy_shape:             # <<<<<<<<<<<<<<
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+  */
+-  __pyx_t_1 = (__pyx_v_copy_shape != 0);
++  __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":229
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":240
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)             # <<<<<<<<<<<<<<
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)             # <<<<<<<<<<<<<<
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):
+  */
+-    __pyx_v_info->strides = ((Py_ssize_t *)malloc((((sizeof(Py_ssize_t)) * ((size_t)__pyx_v_ndim)) * 2)));
++    __pyx_v_info->strides = ((Py_ssize_t *)PyObject_Malloc((((sizeof(Py_ssize_t)) * 2) * ((size_t)__pyx_v_ndim))));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":230
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":241
+  *                 # This is allocated as one block, strides first.
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)
+  *                 info.shape = info.strides + ndim             # <<<<<<<<<<<<<<
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  */
+     __pyx_v_info->shape = (__pyx_v_info->strides + __pyx_v_ndim);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":231
+- *                 info.strides = stdlib.malloc(sizeof(Py_ssize_t) * ndim * 2)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":242
++ *                 info.strides = PyObject_Malloc(sizeof(Py_ssize_t) * 2 * ndim)
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):             # <<<<<<<<<<<<<<
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  *                     info.shape[i] = PyArray_DIMS(self)[i]
+  */
+     __pyx_t_4 = __pyx_v_ndim;
+-    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-      __pyx_v_i = __pyx_t_5;
++    __pyx_t_5 = __pyx_t_4;
++    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++      __pyx_v_i = __pyx_t_6;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":232
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":243
+  *                 info.shape = info.strides + ndim
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]             # <<<<<<<<<<<<<<
+@@ -6738,7 +7160,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+       (__pyx_v_info->strides[__pyx_v_i]) = (PyArray_STRIDES(__pyx_v_self)[__pyx_v_i]);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":233
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":244
+  *                 for i in range(ndim):
+  *                     info.strides[i] = PyArray_STRIDES(self)[i]
+  *                     info.shape[i] = PyArray_DIMS(self)[i]             # <<<<<<<<<<<<<<
+@@ -6748,17 +7170,17 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       (__pyx_v_info->shape[__pyx_v_i]) = (PyArray_DIMS(__pyx_v_self)[__pyx_v_i]);
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":226
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":237
+  *             info.buf = PyArray_DATA(self)
+  *             info.ndim = ndim
+- *             if copy_shape:             # <<<<<<<<<<<<<<
++ *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+  *                 # Allocate new buffer for strides and shape info.
+  *                 # This is allocated as one block, strides first.
+  */
+-    goto __pyx_L11;
++    goto __pyx_L9;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":235
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":246
+  *                     info.shape[i] = PyArray_DIMS(self)[i]
+  *             else:
+  *                 info.strides = PyArray_STRIDES(self)             # <<<<<<<<<<<<<<
+@@ -6768,7 +7190,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   /*else*/ {
+     __pyx_v_info->strides = ((Py_ssize_t *)PyArray_STRIDES(__pyx_v_self));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":236
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":247
+  *             else:
+  *                 info.strides = PyArray_STRIDES(self)
+  *                 info.shape = PyArray_DIMS(self)             # <<<<<<<<<<<<<<
+@@ -6777,9 +7199,9 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_info->shape = ((Py_ssize_t *)PyArray_DIMS(__pyx_v_self));
+   }
+-  __pyx_L11:;
++  __pyx_L9:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":237
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":248
+  *                 info.strides = PyArray_STRIDES(self)
+  *                 info.shape = PyArray_DIMS(self)
+  *             info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -6788,7 +7210,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->suboffsets = NULL;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":238
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":249
+  *                 info.shape = PyArray_DIMS(self)
+  *             info.suboffsets = NULL
+  *             info.itemsize = PyArray_ITEMSIZE(self)             # <<<<<<<<<<<<<<
+@@ -6797,7 +7219,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->itemsize = PyArray_ITEMSIZE(__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":239
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":250
+  *             info.suboffsets = NULL
+  *             info.itemsize = PyArray_ITEMSIZE(self)
+  *             info.readonly = not PyArray_ISWRITEABLE(self)             # <<<<<<<<<<<<<<
+@@ -6806,7 +7228,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_info->readonly = (!(PyArray_ISWRITEABLE(__pyx_v_self) != 0));
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":242
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":253
+  * 
+  *             cdef int t
+  *             cdef char* f = NULL             # <<<<<<<<<<<<<<
+@@ -6815,7 +7237,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+   __pyx_v_f = NULL;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":243
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":254
+  *             cdef int t
+  *             cdef char* f = NULL
+  *             cdef dtype descr = self.descr             # <<<<<<<<<<<<<<
+@@ -6827,85 +7249,32 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   __pyx_v_descr = ((PyArray_Descr *)__pyx_t_3);
+   __pyx_t_3 = 0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":246
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":257
+  *             cdef int offset
+  * 
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)             # <<<<<<<<<<<<<<
+- * 
+- *             if not hasfields and not copy_shape:
+- */
+-  __pyx_v_hasfields = PyDataType_HASFIELDS(__pyx_v_descr);
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":248
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)
+- * 
+- *             if not hasfields and not copy_shape:             # <<<<<<<<<<<<<<
+- *                 # do not call releasebuffer
+- *                 info.obj = None
+- */
+-  __pyx_t_2 = ((!(__pyx_v_hasfields != 0)) != 0);
+-  if (__pyx_t_2) {
+-  } else {
+-    __pyx_t_1 = __pyx_t_2;
+-    goto __pyx_L15_bool_binop_done;
+-  }
+-  __pyx_t_2 = ((!(__pyx_v_copy_shape != 0)) != 0);
+-  __pyx_t_1 = __pyx_t_2;
+-  __pyx_L15_bool_binop_done:;
+-  if (__pyx_t_1) {
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":250
+- *             if not hasfields and not copy_shape:
+- *                 # do not call releasebuffer
+- *                 info.obj = None             # <<<<<<<<<<<<<<
+- *             else:
+- *                 # need to call releasebuffer
+- */
+-    __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(Py_None);
+-    __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj);
+-    __pyx_v_info->obj = Py_None;
+-
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":248
+- *             cdef bint hasfields = PyDataType_HASFIELDS(descr)
+- * 
+- *             if not hasfields and not copy_shape:             # <<<<<<<<<<<<<<
+- *                 # do not call releasebuffer
+- *                 info.obj = None
+- */
+-    goto __pyx_L14;
+-  }
+-
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":253
+- *             else:
+- *                 # need to call releasebuffer
+- *                 info.obj = self             # <<<<<<<<<<<<<<
++ *             info.obj = self             # <<<<<<<<<<<<<<
+  * 
+- *             if not hasfields:
++ *             if not PyDataType_HASFIELDS(descr):
+  */
+-  /*else*/ {
+-    __Pyx_INCREF(((PyObject *)__pyx_v_self));
+-    __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+-    __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj);
+-    __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+-  }
+-  __pyx_L14:;
++  __Pyx_INCREF(((PyObject *)__pyx_v_self));
++  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
++  __Pyx_GOTREF(__pyx_v_info->obj);
++  __Pyx_DECREF(__pyx_v_info->obj);
++  __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":255
+- *                 info.obj = self
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":259
++ *             info.obj = self
+  * 
+- *             if not hasfields:             # <<<<<<<<<<<<<<
++ *             if not PyDataType_HASFIELDS(descr):             # <<<<<<<<<<<<<<
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  */
+-  __pyx_t_1 = ((!(__pyx_v_hasfields != 0)) != 0);
++  __pyx_t_1 = ((!(PyDataType_HASFIELDS(__pyx_v_descr) != 0)) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":256
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":260
+  * 
+- *             if not hasfields:
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num             # <<<<<<<<<<<<<<
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -6913,8 +7282,8 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     __pyx_t_4 = __pyx_v_descr->type_num;
+     __pyx_v_t = __pyx_t_4;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -6922,18 +7291,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_t_2 = ((__pyx_v_descr->byteorder == '>') != 0);
+     if (!__pyx_t_2) {
+-      goto __pyx_L20_next_or;
++      goto __pyx_L15_next_or;
+     } else {
+     }
+     __pyx_t_2 = (__pyx_v_little_endian != 0);
+     if (!__pyx_t_2) {
+     } else {
+       __pyx_t_1 = __pyx_t_2;
+-      goto __pyx_L19_bool_binop_done;
++      goto __pyx_L14_bool_binop_done;
+     }
+-    __pyx_L20_next_or:;
++    __pyx_L15_next_or:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":258
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":262
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):             # <<<<<<<<<<<<<<
+@@ -6944,36 +7313,36 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     if (__pyx_t_2) {
+     } else {
+       __pyx_t_1 = __pyx_t_2;
+-      goto __pyx_L19_bool_binop_done;
++      goto __pyx_L14_bool_binop_done;
+     }
+     __pyx_t_2 = ((!(__pyx_v_little_endian != 0)) != 0);
+     __pyx_t_1 = __pyx_t_2;
+-    __pyx_L19_bool_binop_done:;
++    __pyx_L14_bool_binop_done:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")
+  */
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":259
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":263
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 259, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 263, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 259, __pyx_L1_error)
++      __PYX_ERR(1, 263, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":257
+- *             if not hasfields:
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":261
++ *             if not PyDataType_HASFIELDS(descr):
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *                     (descr.byteorder == c'<' and not little_endian)):
+@@ -6981,7 +7350,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":260
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":264
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")
+  *                 if   t == NPY_BYTE:        f = "b"             # <<<<<<<<<<<<<<
+@@ -6993,7 +7362,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"b");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":261
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":265
+  *                     raise ValueError(u"Non-native byte order not supported")
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"             # <<<<<<<<<<<<<<
+@@ -7004,7 +7373,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"B");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":262
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":266
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  *                 elif t == NPY_SHORT:       f = "h"             # <<<<<<<<<<<<<<
+@@ -7015,7 +7384,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"h");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":263
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":267
+  *                 elif t == NPY_UBYTE:       f = "B"
+  *                 elif t == NPY_SHORT:       f = "h"
+  *                 elif t == NPY_USHORT:      f = "H"             # <<<<<<<<<<<<<<
+@@ -7026,7 +7395,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"H");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":264
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":268
+  *                 elif t == NPY_SHORT:       f = "h"
+  *                 elif t == NPY_USHORT:      f = "H"
+  *                 elif t == NPY_INT:         f = "i"             # <<<<<<<<<<<<<<
+@@ -7037,7 +7406,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"i");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":265
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":269
+  *                 elif t == NPY_USHORT:      f = "H"
+  *                 elif t == NPY_INT:         f = "i"
+  *                 elif t == NPY_UINT:        f = "I"             # <<<<<<<<<<<<<<
+@@ -7048,7 +7417,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"I");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":266
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":270
+  *                 elif t == NPY_INT:         f = "i"
+  *                 elif t == NPY_UINT:        f = "I"
+  *                 elif t == NPY_LONG:        f = "l"             # <<<<<<<<<<<<<<
+@@ -7059,7 +7428,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"l");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":267
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":271
+  *                 elif t == NPY_UINT:        f = "I"
+  *                 elif t == NPY_LONG:        f = "l"
+  *                 elif t == NPY_ULONG:       f = "L"             # <<<<<<<<<<<<<<
+@@ -7070,7 +7439,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"L");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":268
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":272
+  *                 elif t == NPY_LONG:        f = "l"
+  *                 elif t == NPY_ULONG:       f = "L"
+  *                 elif t == NPY_LONGLONG:    f = "q"             # <<<<<<<<<<<<<<
+@@ -7081,7 +7450,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"q");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":269
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":273
+  *                 elif t == NPY_ULONG:       f = "L"
+  *                 elif t == NPY_LONGLONG:    f = "q"
+  *                 elif t == NPY_ULONGLONG:   f = "Q"             # <<<<<<<<<<<<<<
+@@ -7092,7 +7461,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Q");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":270
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":274
+  *                 elif t == NPY_LONGLONG:    f = "q"
+  *                 elif t == NPY_ULONGLONG:   f = "Q"
+  *                 elif t == NPY_FLOAT:       f = "f"             # <<<<<<<<<<<<<<
+@@ -7103,7 +7472,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"f");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":271
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":275
+  *                 elif t == NPY_ULONGLONG:   f = "Q"
+  *                 elif t == NPY_FLOAT:       f = "f"
+  *                 elif t == NPY_DOUBLE:      f = "d"             # <<<<<<<<<<<<<<
+@@ -7114,7 +7483,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"d");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":272
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":276
+  *                 elif t == NPY_FLOAT:       f = "f"
+  *                 elif t == NPY_DOUBLE:      f = "d"
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"             # <<<<<<<<<<<<<<
+@@ -7125,7 +7494,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"g");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":273
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":277
+  *                 elif t == NPY_DOUBLE:      f = "d"
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"
+  *                 elif t == NPY_CFLOAT:      f = "Zf"             # <<<<<<<<<<<<<<
+@@ -7136,7 +7505,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zf");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":274
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":278
+  *                 elif t == NPY_LONGDOUBLE:  f = "g"
+  *                 elif t == NPY_CFLOAT:      f = "Zf"
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"             # <<<<<<<<<<<<<<
+@@ -7147,7 +7516,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zd");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":275
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":279
+  *                 elif t == NPY_CFLOAT:      f = "Zf"
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"
+  *                 elif t == NPY_CLONGDOUBLE: f = "Zg"             # <<<<<<<<<<<<<<
+@@ -7158,7 +7527,7 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       __pyx_v_f = ((char *)"Zg");
+       break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":276
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":280
+  *                 elif t == NPY_CDOUBLE:     f = "Zd"
+  *                 elif t == NPY_CLONGDOUBLE: f = "Zg"
+  *                 elif t == NPY_OBJECT:      f = "O"             # <<<<<<<<<<<<<<
+@@ -7170,33 +7539,28 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+       break;
+       default:
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":278
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":282
+  *                 elif t == NPY_OBJECT:      f = "O"
+  *                 else:
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)             # <<<<<<<<<<<<<<
+  *                 info.format = f
+  *                 return
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 282, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_6 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
++      __pyx_t_7 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 282, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_7);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 278, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 282, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_GIVEREF(__pyx_t_6);
+-      PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_6);
+-      __pyx_t_6 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 278, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
++      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_Raise(__pyx_t_6, 0, 0, 0);
+-      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-      __PYX_ERR(1, 278, __pyx_L1_error)
++      __PYX_ERR(1, 282, __pyx_L1_error)
+       break;
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":279
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":283
+  *                 else:
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *                 info.format = f             # <<<<<<<<<<<<<<
+@@ -7205,46 +7569,46 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_info->format = __pyx_v_f;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":280
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":284
+  *                     raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *                 info.format = f
+  *                 return             # <<<<<<<<<<<<<<
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  */
+     __pyx_r = 0;
+     goto __pyx_L0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":255
+- *                 info.obj = self
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":259
++ *             info.obj = self
+  * 
+- *             if not hasfields:             # <<<<<<<<<<<<<<
++ *             if not PyDataType_HASFIELDS(descr):             # <<<<<<<<<<<<<<
+  *                 t = descr.type_num
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":282
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":286
+  *                 return
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)             # <<<<<<<<<<<<<<
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)             # <<<<<<<<<<<<<<
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0
+  */
+   /*else*/ {
+-    __pyx_v_info->format = ((char *)malloc(0xFF));
++    __pyx_v_info->format = ((char *)PyObject_Malloc(0xFF));
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":283
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":287
+  *             else:
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  *                 info.format[0] = c'^' # Native data types, manual alignment             # <<<<<<<<<<<<<<
+  *                 offset = 0
+  *                 f = _util_dtypestring(descr, info.format + 1,
+  */
+     (__pyx_v_info->format[0]) = '^';
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":284
+- *                 info.format = stdlib.malloc(_buffer_format_string_len)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":288
++ *                 info.format = PyObject_Malloc(_buffer_format_string_len)
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0             # <<<<<<<<<<<<<<
+  *                 f = _util_dtypestring(descr, info.format + 1,
+@@ -7252,17 +7616,17 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+  */
+     __pyx_v_offset = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":285
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":289
+  *                 info.format[0] = c'^' # Native data types, manual alignment
+  *                 offset = 0
+  *                 f = _util_dtypestring(descr, info.format + 1,             # <<<<<<<<<<<<<<
+  *                                       info.format + _buffer_format_string_len,
+  *                                       &offset)
+  */
+-    __pyx_t_7 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 0xFF), (&__pyx_v_offset)); if (unlikely(__pyx_t_7 == NULL)) __PYX_ERR(1, 285, __pyx_L1_error)
+-    __pyx_v_f = __pyx_t_7;
++    __pyx_t_8 = __pyx_f_5numpy__util_dtypestring(__pyx_v_descr, (__pyx_v_info->format + 1), (__pyx_v_info->format + 0xFF), (&__pyx_v_offset)); if (unlikely(__pyx_t_8 == ((char *)NULL))) __PYX_ERR(1, 289, __pyx_L1_error)
++    __pyx_v_f = __pyx_t_8;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":288
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":292
+  *                                       info.format + _buffer_format_string_len,
+  *                                       &offset)
+  *                 f[0] = c'\0' # Terminate format string             # <<<<<<<<<<<<<<
+@@ -7272,12 +7636,12 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+     (__pyx_v_f[0]) = '\x00';
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":197
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":215
+  *         # experimental exception made for __getbuffer__ and __releasebuffer__
+  *         # -- the details of this may change.
+  *         def __getbuffer__(ndarray self, Py_buffer* info, int flags):             # <<<<<<<<<<<<<<
+  *             # This implementation of getbuffer is geared towards Cython
+- *             # requirements, and does not yet fullfill the PEP.
++ *             # requirements, and does not yet fulfill the PEP.
+  */
+ 
+   /* function exit code */
+@@ -7285,18 +7649,18 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   goto __pyx_L0;
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_3);
+-  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
+   __Pyx_AddTraceback("numpy.ndarray.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
++  if (__pyx_v_info->obj != NULL) {
+     __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   goto __pyx_L2;
+   __pyx_L0:;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   __pyx_L2:;
+   __Pyx_XDECREF((PyObject *)__pyx_v_descr);
+@@ -7304,12 +7668,12 @@ static int __pyx_pf_5numpy_7ndarray___getbuffer__(PyArrayObject *__pyx_v_self, P
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":290
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":294
+  *                 f[0] = c'\0' # Terminate format string
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):             # <<<<<<<<<<<<<<
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  */
+ 
+ /* Python wrapper */
+@@ -7328,75 +7692,75 @@ static void __pyx_pf_5numpy_7ndarray_2__releasebuffer__(PyArrayObject *__pyx_v_s
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__releasebuffer__", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":291
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":295
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   __pyx_t_1 = (PyArray_HASFIELDS(__pyx_v_self) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":292
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":296
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)             # <<<<<<<<<<<<<<
++ *                 PyObject_Free(info.format)             # <<<<<<<<<<<<<<
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  */
+-    free(__pyx_v_info->format);
++    PyObject_Free(__pyx_v_info->format);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":291
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":295
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):
+  *             if PyArray_HASFIELDS(self):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":293
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":297
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  *                 # info.shape was stored after info.strides in the same block
+  */
+   __pyx_t_1 = (((sizeof(npy_intp)) != (sizeof(Py_ssize_t))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":294
+- *                 stdlib.free(info.format)
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":298
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):
+- *                 stdlib.free(info.strides)             # <<<<<<<<<<<<<<
++ *                 PyObject_Free(info.strides)             # <<<<<<<<<<<<<<
+  *                 # info.shape was stored after info.strides in the same block
+  * 
+  */
+-    free(__pyx_v_info->strides);
++    PyObject_Free(__pyx_v_info->strides);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":293
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":297
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  *             if sizeof(npy_intp) != sizeof(Py_ssize_t):             # <<<<<<<<<<<<<<
+- *                 stdlib.free(info.strides)
++ *                 PyObject_Free(info.strides)
+  *                 # info.shape was stored after info.strides in the same block
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":290
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":294
+  *                 f[0] = c'\0' # Terminate format string
+  * 
+  *         def __releasebuffer__(ndarray self, Py_buffer* info):             # <<<<<<<<<<<<<<
+  *             if PyArray_HASFIELDS(self):
+- *                 stdlib.free(info.format)
++ *                 PyObject_Free(info.format)
+  */
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":770
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":775
+  * ctypedef npy_cdouble     complex_t
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):             # <<<<<<<<<<<<<<
+@@ -7410,7 +7774,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":771
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":776
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):
+  *     return PyArray_MultiIterNew(1, a)             # <<<<<<<<<<<<<<
+@@ -7418,13 +7782,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+  * cdef inline object PyArray_MultiIterNew2(a, b):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 771, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 776, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":770
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":775
+  * ctypedef npy_cdouble     complex_t
+  * 
+  * cdef inline object PyArray_MultiIterNew1(a):             # <<<<<<<<<<<<<<
+@@ -7443,7 +7807,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":773
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":778
+  *     return PyArray_MultiIterNew(1, a)
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):             # <<<<<<<<<<<<<<
+@@ -7457,7 +7821,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":774
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":779
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):
+  *     return PyArray_MultiIterNew(2, a, b)             # <<<<<<<<<<<<<<
+@@ -7465,13 +7829,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 774, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 779, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":773
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":778
+  *     return PyArray_MultiIterNew(1, a)
+  * 
+  * cdef inline object PyArray_MultiIterNew2(a, b):             # <<<<<<<<<<<<<<
+@@ -7490,7 +7854,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":776
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":781
+  *     return PyArray_MultiIterNew(2, a, b)
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):             # <<<<<<<<<<<<<<
+@@ -7504,7 +7868,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":777
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":782
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):
+  *     return PyArray_MultiIterNew(3, a, b,  c)             # <<<<<<<<<<<<<<
+@@ -7512,13 +7876,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 777, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 782, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":776
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":781
+  *     return PyArray_MultiIterNew(2, a, b)
+  * 
+  * cdef inline object PyArray_MultiIterNew3(a, b, c):             # <<<<<<<<<<<<<<
+@@ -7537,7 +7901,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":779
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":784
+  *     return PyArray_MultiIterNew(3, a, b,  c)
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):             # <<<<<<<<<<<<<<
+@@ -7551,7 +7915,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":780
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":785
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)             # <<<<<<<<<<<<<<
+@@ -7559,13 +7923,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 780, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 785, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":779
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":784
+  *     return PyArray_MultiIterNew(3, a, b,  c)
+  * 
+  * cdef inline object PyArray_MultiIterNew4(a, b, c, d):             # <<<<<<<<<<<<<<
+@@ -7584,7 +7948,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":782
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":787
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):             # <<<<<<<<<<<<<<
+@@ -7598,21 +7962,21 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":783
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":788
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
+  *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)             # <<<<<<<<<<<<<<
+  * 
+- * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 783, __pyx_L1_error)
++  __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 788, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":782
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":787
+  *     return PyArray_MultiIterNew(4, a, b, c,  d)
+  * 
+  * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):             # <<<<<<<<<<<<<<
+@@ -7631,9 +7995,83 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":785
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":790
++ *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):             # <<<<<<<<<<<<<<
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape
++ */
++
++static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__pyx_v_d) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  int __pyx_t_1;
++  __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":791
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):             # <<<<<<<<<<<<<<
++ *         return d.subarray.shape
++ *     else:
++ */
++  __pyx_t_1 = (PyDataType_HASSUBARRAY(__pyx_v_d) != 0);
++  if (__pyx_t_1) {
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":792
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape             # <<<<<<<<<<<<<<
++ *     else:
++ *         return ()
++ */
++    __Pyx_XDECREF(__pyx_r);
++    __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
++    __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
++    goto __pyx_L0;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":791
++ * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):
++ *     if PyDataType_HASSUBARRAY(d):             # <<<<<<<<<<<<<<
++ *         return d.subarray.shape
++ *     else:
++ */
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":794
++ *         return d.subarray.shape
++ *     else:
++ *         return ()             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:
++ */
++  /*else*/ {
++    __Pyx_XDECREF(__pyx_r);
++    __Pyx_INCREF(__pyx_empty_tuple);
++    __pyx_r = __pyx_empty_tuple;
++    goto __pyx_L0;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":790
+  *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
+  * 
++ * cdef inline tuple PyDataType_SHAPE(dtype d):             # <<<<<<<<<<<<<<
++ *     if PyDataType_HASSUBARRAY(d):
++ *         return d.subarray.shape
++ */
++
++  /* function exit code */
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":796
++ *         return ()
++ * 
+  * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:             # <<<<<<<<<<<<<<
+  *     # Recursive utility function used in __getbuffer__ to get format
+  *     # string. The new location in the format string is returned.
+@@ -7660,7 +8098,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   char *__pyx_t_9;
+   __Pyx_RefNannySetupContext("_util_dtypestring", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":790
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":801
+  * 
+  *     cdef dtype child
+  *     cdef int endian_detector = 1             # <<<<<<<<<<<<<<
+@@ -7669,7 +8107,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   __pyx_v_endian_detector = 1;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":791
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":802
+  *     cdef dtype child
+  *     cdef int endian_detector = 1
+  *     cdef bint little_endian = ((&endian_detector)[0] != 0)             # <<<<<<<<<<<<<<
+@@ -7678,7 +8116,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   __pyx_v_little_endian = ((((char *)(&__pyx_v_endian_detector))[0]) != 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":794
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":805
+  *     cdef tuple fields
+  * 
+  *     for childname in descr.names:             # <<<<<<<<<<<<<<
+@@ -7687,21 +8125,21 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+   if (unlikely(__pyx_v_descr->names == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+-    __PYX_ERR(1, 794, __pyx_L1_error)
++    __PYX_ERR(1, 805, __pyx_L1_error)
+   }
+   __pyx_t_1 = __pyx_v_descr->names; __Pyx_INCREF(__pyx_t_1); __pyx_t_2 = 0;
+   for (;;) {
+     if (__pyx_t_2 >= PyTuple_GET_SIZE(__pyx_t_1)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(1, 794, __pyx_L1_error)
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) __PYX_ERR(1, 805, __pyx_L1_error)
+     #else
+-    __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 794, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(__pyx_t_1, __pyx_t_2); __pyx_t_2++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 805, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     #endif
+     __Pyx_XDECREF_SET(__pyx_v_childname, __pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":795
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":806
+  * 
+  *     for childname in descr.names:
+  *         fields = descr.fields[childname]             # <<<<<<<<<<<<<<
+@@ -7710,15 +8148,15 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     if (unlikely(__pyx_v_descr->fields == Py_None)) {
+       PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+-      __PYX_ERR(1, 795, __pyx_L1_error)
++      __PYX_ERR(1, 806, __pyx_L1_error)
+     }
+-    __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 795, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_descr->fields, __pyx_v_childname); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 806, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) __PYX_ERR(1, 795, __pyx_L1_error)
++    if (!(likely(PyTuple_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_t_3)->tp_name), 0))) __PYX_ERR(1, 806, __pyx_L1_error)
+     __Pyx_XDECREF_SET(__pyx_v_fields, ((PyObject*)__pyx_t_3));
+     __pyx_t_3 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":796
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":807
+  *     for childname in descr.names:
+  *         fields = descr.fields[childname]
+  *         child, new_offset = fields             # <<<<<<<<<<<<<<
+@@ -7727,67 +8165,63 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     if (likely(__pyx_v_fields != Py_None)) {
+       PyObject* sequence = __pyx_v_fields;
+-      #if CYTHON_COMPILING_IN_CPYTHON
+-      Py_ssize_t size = Py_SIZE(sequence);
+-      #else
+-      Py_ssize_t size = PySequence_Size(sequence);
+-      #endif
++      Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+       if (unlikely(size != 2)) {
+         if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+         else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-        __PYX_ERR(1, 796, __pyx_L1_error)
++        __PYX_ERR(1, 807, __pyx_L1_error)
+       }
+-      #if CYTHON_COMPILING_IN_CPYTHON
++      #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+       __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
+       __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); 
+       __Pyx_INCREF(__pyx_t_3);
+       __Pyx_INCREF(__pyx_t_4);
+       #else
+-      __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 796, __pyx_L1_error)
++      __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 807, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 796, __pyx_L1_error)
++      __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 807, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       #endif
+     } else {
+-      __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 796, __pyx_L1_error)
++      __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 807, __pyx_L1_error)
+     }
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) __PYX_ERR(1, 796, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_5numpy_dtype))))) __PYX_ERR(1, 807, __pyx_L1_error)
+     __Pyx_XDECREF_SET(__pyx_v_child, ((PyArray_Descr *)__pyx_t_3));
+     __pyx_t_3 = 0;
+     __Pyx_XDECREF_SET(__pyx_v_new_offset, __pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":798
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":809
+  *         child, new_offset = fields
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:             # <<<<<<<<<<<<<<
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  */
+-    __pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_Subtract(__pyx_v_new_offset, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 798, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 809, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_t_6 = ((((__pyx_v_end - __pyx_v_f) - ((int)__pyx_t_5)) < 15) != 0);
+-    if (__pyx_t_6) {
++    if (unlikely(__pyx_t_6)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":799
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":810
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")             # <<<<<<<<<<<<<<
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__15, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 799, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__15, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 810, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 799, __pyx_L1_error)
++      __PYX_ERR(1, 810, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":798
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":809
+  *         child, new_offset = fields
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:             # <<<<<<<<<<<<<<
+@@ -7796,7 +8230,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+@@ -7816,7 +8250,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     }
+     __pyx_L8_next_or:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":802
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":813
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):             # <<<<<<<<<<<<<<
+@@ -7833,29 +8267,29 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_6 = __pyx_t_7;
+     __pyx_L7_bool_binop_done:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")
+  */
+-    if (__pyx_t_6) {
++    if (unlikely(__pyx_t_6)) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":803
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":814
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *             # One could encode it in the format string and have Cython
+  *             # complain instead, BUT: < and > in format strings also imply
+  */
+-      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 803, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 814, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+       __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __PYX_ERR(1, 803, __pyx_L1_error)
++      __PYX_ERR(1, 814, __pyx_L1_error)
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":801
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":812
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or             # <<<<<<<<<<<<<<
+@@ -7864,7 +8298,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":813
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":824
+  * 
+  *         # Output padding bytes
+  *         while offset[0] < new_offset:             # <<<<<<<<<<<<<<
+@@ -7872,15 +8306,15 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  *             f += 1
+  */
+     while (1) {
+-      __pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int((__pyx_v_offset[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_v_new_offset, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 813, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 824, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (!__pyx_t_6) break;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":814
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":825
+  *         # Output padding bytes
+  *         while offset[0] < new_offset:
+  *             f[0] = 120 # "x"; pad byte             # <<<<<<<<<<<<<<
+@@ -7889,7 +8323,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       (__pyx_v_f[0]) = 0x78;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":815
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":826
+  *         while offset[0] < new_offset:
+  *             f[0] = 120 # "x"; pad byte
+  *             f += 1             # <<<<<<<<<<<<<<
+@@ -7898,7 +8332,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       __pyx_v_f = (__pyx_v_f + 1);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":816
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":827
+  *             f[0] = 120 # "x"; pad byte
+  *             f += 1
+  *             offset[0] += 1             # <<<<<<<<<<<<<<
+@@ -7909,7 +8343,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+       (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + 1);
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":818
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":829
+  *             offset[0] += 1
+  * 
+  *         offset[0] += child.itemsize             # <<<<<<<<<<<<<<
+@@ -7919,7 +8353,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_8 = 0;
+     (__pyx_v_offset[__pyx_t_8]) = ((__pyx_v_offset[__pyx_t_8]) + __pyx_v_child->elsize);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":820
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":831
+  *         offset[0] += child.itemsize
+  * 
+  *         if not PyDataType_HASFIELDS(child):             # <<<<<<<<<<<<<<
+@@ -7929,19 +8363,19 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+     __pyx_t_6 = ((!(PyDataType_HASFIELDS(__pyx_v_child) != 0)) != 0);
+     if (__pyx_t_6) {
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":821
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":832
+  * 
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num             # <<<<<<<<<<<<<<
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 821, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_child->type_num); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 832, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4);
+       __pyx_t_4 = 0;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":822
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":833
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num
+  *             if end - f < 5:             # <<<<<<<<<<<<<<
+@@ -7949,22 +8383,22 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  * 
+  */
+       __pyx_t_6 = (((__pyx_v_end - __pyx_v_f) < 5) != 0);
+-      if (__pyx_t_6) {
++      if (unlikely(__pyx_t_6)) {
+ 
+-        /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":823
++        /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":834
+  *             t = child.type_num
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")             # <<<<<<<<<<<<<<
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  */
+-        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 823, __pyx_L1_error)
++        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_RuntimeError, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 834, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_4);
+         __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-        __PYX_ERR(1, 823, __pyx_L1_error)
++        __PYX_ERR(1, 834, __pyx_L1_error)
+ 
+-        /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":822
++        /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":833
+  *         if not PyDataType_HASFIELDS(child):
+  *             t = child.type_num
+  *             if end - f < 5:             # <<<<<<<<<<<<<<
+@@ -7973,252 +8407,252 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":826
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":837
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_BYTE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 826, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 837, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 98;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":827
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":838
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UBYTE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UBYTE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 827, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 838, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 66;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":828
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":839
+  *             if   t == NPY_BYTE:        f[0] =  98 #"b"
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_SHORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_SHORT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 828, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 839, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x68;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":829
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":840
+  *             elif t == NPY_UBYTE:       f[0] =  66 #"B"
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_USHORT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_USHORT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 829, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 840, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 72;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":830
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":841
+  *             elif t == NPY_SHORT:       f[0] = 104 #"h"
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_INT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 830, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 841, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x69;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":831
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":842
+  *             elif t == NPY_USHORT:      f[0] =  72 #"H"
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UINT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_UINT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 831, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 842, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 73;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":832
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":843
+  *             elif t == NPY_INT:         f[0] = 105 #"i"
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 832, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 843, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x6C;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":833
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":844
+  *             elif t == NPY_UINT:        f[0] =  73 #"I"
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 833, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 844, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 76;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":834
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":845
+  *             elif t == NPY_LONG:        f[0] = 108 #"l"
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGLONG); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 834, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 845, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x71;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":835
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":846
+  *             elif t == NPY_ULONG:       f[0] = 76  #"L"
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_ULONGLONG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 835, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 846, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 81;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":836
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":847
+  *             elif t == NPY_LONGLONG:    f[0] = 113 #"q"
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_FLOAT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 836, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 847, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x66;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":837
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":848
+  *             elif t == NPY_ULONGLONG:   f[0] = 81  #"Q"
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_DOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 837, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 848, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x64;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":838
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":849
+  *             elif t == NPY_FLOAT:       f[0] = 102 #"f"
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_LONGDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 838, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 849, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 0x67;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":839
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":850
+  *             elif t == NPY_DOUBLE:      f[0] = 100 #"d"
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CFLOAT); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 839, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 850, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -8227,18 +8661,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":840
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":851
+  *             elif t == NPY_LONGDOUBLE:  f[0] = 103 #"g"
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd             # <<<<<<<<<<<<<<
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CDOUBLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 840, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 851, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -8247,18 +8681,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":841
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":852
+  *             elif t == NPY_CFLOAT:      f[0] = 90; f[1] = 102; f += 1 # Zf
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg             # <<<<<<<<<<<<<<
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  *             else:
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_CLONGDOUBLE); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_4 = PyObject_RichCompare(__pyx_v_t, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 841, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 852, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+       if (__pyx_t_6) {
+         (__pyx_v_f[0]) = 90;
+@@ -8267,25 +8701,25 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":842
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":853
+  *             elif t == NPY_CDOUBLE:     f[0] = 90; f[1] = 100; f += 1 # Zd
+  *             elif t == NPY_CLONGDOUBLE: f[0] = 90; f[1] = 103; f += 1 # Zg
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"             # <<<<<<<<<<<<<<
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  */
+-      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_OBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyInt_From_enum__NPY_TYPES(NPY_OBJECT); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+-      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_3 = PyObject_RichCompare(__pyx_v_t, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 842, __pyx_L1_error)
++      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(1, 853, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      if (__pyx_t_6) {
++      if (likely(__pyx_t_6)) {
+         (__pyx_v_f[0]) = 79;
+         goto __pyx_L15;
+       }
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":844
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":855
+  *             elif t == NPY_OBJECT:      f[0] = 79 #"O"
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)             # <<<<<<<<<<<<<<
+@@ -8293,23 +8727,18 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  *         else:
+  */
+       /*else*/ {
+-        __pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
++        __pyx_t_3 = PyUnicode_Format(__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_v_t); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 855, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_3);
+-        __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 844, __pyx_L1_error)
++        __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 855, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_4);
+-        __Pyx_GIVEREF(__pyx_t_3);
+-        PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-        __pyx_t_3 = 0;
+-        __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 844, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_3);
+-        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-        __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-        __PYX_ERR(1, 844, __pyx_L1_error)
++        __Pyx_Raise(__pyx_t_4, 0, 0, 0);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++        __PYX_ERR(1, 855, __pyx_L1_error)
+       }
+       __pyx_L15:;
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":845
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":856
+  *             else:
+  *                 raise ValueError(u"unknown dtype code in numpy.pxd (%d)" % t)
+  *             f += 1             # <<<<<<<<<<<<<<
+@@ -8318,7 +8747,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  */
+       __pyx_v_f = (__pyx_v_f + 1);
+ 
+-      /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":820
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":831
+  *         offset[0] += child.itemsize
+  * 
+  *         if not PyDataType_HASFIELDS(child):             # <<<<<<<<<<<<<<
+@@ -8328,7 +8757,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+       goto __pyx_L13;
+     }
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":849
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":860
+  *             # Cython ignores struct boundary information ("T{...}"),
+  *             # so don't output it
+  *             f = _util_dtypestring(child, f, end, offset)             # <<<<<<<<<<<<<<
+@@ -8336,12 +8765,12 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+  * 
+  */
+     /*else*/ {
+-      __pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset); if (unlikely(__pyx_t_9 == NULL)) __PYX_ERR(1, 849, __pyx_L1_error)
++      __pyx_t_9 = __pyx_f_5numpy__util_dtypestring(__pyx_v_child, __pyx_v_f, __pyx_v_end, __pyx_v_offset); if (unlikely(__pyx_t_9 == ((char *)NULL))) __PYX_ERR(1, 860, __pyx_L1_error)
+       __pyx_v_f = __pyx_t_9;
+     }
+     __pyx_L13:;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":794
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":805
+  *     cdef tuple fields
+  * 
+  *     for childname in descr.names:             # <<<<<<<<<<<<<<
+@@ -8351,7 +8780,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   }
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":850
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":861
+  *             # so don't output it
+  *             f = _util_dtypestring(child, f, end, offset)
+  *     return f             # <<<<<<<<<<<<<<
+@@ -8361,8 +8790,8 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   __pyx_r = __pyx_v_f;
+   goto __pyx_L0;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":785
+- *     return PyArray_MultiIterNew(5, a, b, c,  d,  e)
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":796
++ *         return ()
+  * 
+  * cdef inline char* _util_dtypestring(dtype descr, char* f, char* end, int* offset) except NULL:             # <<<<<<<<<<<<<<
+  *     # Recursive utility function used in __getbuffer__ to get format
+@@ -8386,7 +8815,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy__util_dtypestring(PyArray_Descr *__pyx
+   return __pyx_r;
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":966
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":977
+  * 
+  * 
+  * cdef inline void set_array_base(ndarray arr, object base):             # <<<<<<<<<<<<<<
+@@ -8401,7 +8830,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   int __pyx_t_2;
+   __Pyx_RefNannySetupContext("set_array_base", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":968
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":979
+  * cdef inline void set_array_base(ndarray arr, object base):
+  *      cdef PyObject* baseptr
+  *      if base is None:             # <<<<<<<<<<<<<<
+@@ -8412,7 +8841,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":969
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":980
+  *      cdef PyObject* baseptr
+  *      if base is None:
+  *          baseptr = NULL             # <<<<<<<<<<<<<<
+@@ -8421,7 +8850,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+     __pyx_v_baseptr = NULL;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":968
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":979
+  * cdef inline void set_array_base(ndarray arr, object base):
+  *      cdef PyObject* baseptr
+  *      if base is None:             # <<<<<<<<<<<<<<
+@@ -8431,7 +8860,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+     goto __pyx_L3;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":971
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":982
+  *          baseptr = NULL
+  *      else:
+  *          Py_INCREF(base) # important to do this before decref below!             # <<<<<<<<<<<<<<
+@@ -8441,7 +8870,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   /*else*/ {
+     Py_INCREF(__pyx_v_base);
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":972
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":983
+  *      else:
+  *          Py_INCREF(base) # important to do this before decref below!
+  *          baseptr = base             # <<<<<<<<<<<<<<
+@@ -8452,7 +8881,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   }
+   __pyx_L3:;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":973
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":984
+  *          Py_INCREF(base) # important to do this before decref below!
+  *          baseptr = base
+  *      Py_XDECREF(arr.base)             # <<<<<<<<<<<<<<
+@@ -8461,7 +8890,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+   Py_XDECREF(__pyx_v_arr->base);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":974
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":985
+  *          baseptr = base
+  *      Py_XDECREF(arr.base)
+  *      arr.base = baseptr             # <<<<<<<<<<<<<<
+@@ -8470,7 +8899,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+  */
+   __pyx_v_arr->base = __pyx_v_baseptr;
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":966
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":977
+  * 
+  * 
+  * cdef inline void set_array_base(ndarray arr, object base):             # <<<<<<<<<<<<<<
+@@ -8482,7 +8911,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":987
+  *      arr.base = baseptr
+  * 
+  * cdef inline object get_array_base(ndarray arr):             # <<<<<<<<<<<<<<
+@@ -8496,7 +8925,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("get_array_base", 0);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":977
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":988
+  * 
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:             # <<<<<<<<<<<<<<
+@@ -8506,7 +8935,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   __pyx_t_1 = ((__pyx_v_arr->base == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":978
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":989
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:
+  *         return None             # <<<<<<<<<<<<<<
+@@ -8514,11 +8943,10 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+  *         return arr.base
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __Pyx_INCREF(Py_None);
+-    __pyx_r = Py_None;
++    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+     goto __pyx_L0;
+ 
+-    /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":977
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":988
+  * 
+  * cdef inline object get_array_base(ndarray arr):
+  *     if arr.base is NULL:             # <<<<<<<<<<<<<<
+@@ -8527,10 +8955,12 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+  */
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":980
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":991
+  *         return None
+  *     else:
+  *         return arr.base             # <<<<<<<<<<<<<<
++ * 
++ * 
+  */
+   /*else*/ {
+     __Pyx_XDECREF(__pyx_r);
+@@ -8539,7 +8969,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+     goto __pyx_L0;
+   }
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":976
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":987
+  *      arr.base = baseptr
+  * 
+  * cdef inline object get_array_base(ndarray arr):             # <<<<<<<<<<<<<<
+@@ -8554,114 +8984,509 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":120
+- *         cdef bint dtype_is_object
+- * 
+- *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+- *                   mode="c", bint allocate_buffer=True):
+- * 
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":996
++ * # Versions of the import_* functions which are more suitable for
++ * # Cython code.
++ * cdef inline int import_array() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_array()
+  */
+ 
+-/* Python wrapper */
+-static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+-static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+-  PyObject *__pyx_v_shape = 0;
+-  Py_ssize_t __pyx_v_itemsize;
+-  PyObject *__pyx_v_format = 0;
+-  PyObject *__pyx_v_mode = 0;
+-  int __pyx_v_allocate_buffer;
++static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+-  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_array", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
+   {
+-    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shape,&__pyx_n_s_itemsize,&__pyx_n_s_format,&__pyx_n_s_mode,&__pyx_n_s_allocate_buffer,0};
+-    PyObject* values[5] = {0,0,0,0,0};
+-    values[3] = ((PyObject *)__pyx_n_s_c);
+-    if (unlikely(__pyx_kwds)) {
+-      Py_ssize_t kw_args;
+-      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+-      switch (pos_args) {
+-        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+-        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
+-        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
+-        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+-        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+-        case  0: break;
+-        default: goto __pyx_L5_argtuple_error;
+-      }
+-      kw_args = PyDict_Size(__pyx_kwds);
+-      switch (pos_args) {
+-        case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_shape)) != 0)) kw_args--;
+-        else goto __pyx_L5_argtuple_error;
+-        case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_itemsize)) != 0)) kw_args--;
+-        else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 1); __PYX_ERR(2, 120, __pyx_L3_error)
+-        }
+-        case  2:
+-        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
+-        else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 2); __PYX_ERR(2, 120, __pyx_L3_error)
+-        }
+-        case  3:
+-        if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_mode);
+-          if (value) { values[3] = value; kw_args--; }
+-        }
+-        case  4:
+-        if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_allocate_buffer);
+-          if (value) { values[4] = value; kw_args--; }
+-        }
+-      }
+-      if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 120, __pyx_L3_error)
+-      }
+-    } else {
+-      switch (PyTuple_GET_SIZE(__pyx_args)) {
+-        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
+-        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
+-        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
+-        values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+-        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+-        break;
+-        default: goto __pyx_L5_argtuple_error;
+-      }
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":998
++ * cdef inline int import_array() except -1:
++ *     try:
++ *         _import_array()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ */
++      __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 998, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
+     }
+-    __pyx_v_shape = ((PyObject*)values[0]);
+-    __pyx_v_itemsize = __Pyx_PyIndex_AsSsize_t(values[1]); if (unlikely((__pyx_v_itemsize == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 120, __pyx_L3_error)
+-    __pyx_v_format = values[2];
+-    __pyx_v_mode = values[3];
+-    if (values[4]) {
+-      __pyx_v_allocate_buffer = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_allocate_buffer == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 121, __pyx_L3_error)
+-    } else {
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
+ 
+-      /* "View.MemoryView":121
+- * 
+- *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,
+- *                   mode="c", bint allocate_buffer=True):             # <<<<<<<<<<<<<<
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":999
++ *     try:
++ *         _import_array()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.multiarray failed to import")
+  * 
+- *         cdef int idx
+  */
+-      __pyx_v_allocate_buffer = ((int)1);
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 999, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1000
++ *         _import_array()
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_umath() except -1:
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1000, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1000, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":997
++ * # Cython code.
++ * cdef inline int import_array() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_array()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":996
++ * # Versions of the import_* functions which are more suitable for
++ * # Cython code.
++ * cdef inline int import_array() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_array()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1002
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ * 
++ * cdef inline int import_umath() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_umath", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++  {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1004
++ * cdef inline int import_umath() except -1:
++ *     try:
++ *         _import_umath()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++      __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1004, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    }
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1005
++ *     try:
++ *         _import_umath()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ */
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1005, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1006
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_ufunc() except -1:
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1006, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1006, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1003
++ * 
++ * cdef inline int import_umath() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1002
++ *         raise ImportError("numpy.core.multiarray failed to import")
++ * 
++ * cdef inline int import_umath() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1008
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ * cdef inline int import_ufunc() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  int __pyx_t_4;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  __Pyx_RefNannySetupContext("import_ufunc", 0);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++  {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
++    __Pyx_XGOTREF(__pyx_t_1);
++    __Pyx_XGOTREF(__pyx_t_2);
++    __Pyx_XGOTREF(__pyx_t_3);
++    /*try:*/ {
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1010
++ * cdef inline int import_ufunc() except -1:
++ *     try:
++ *         _import_umath()             # <<<<<<<<<<<<<<
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++      __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1010, __pyx_L3_error)
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    }
++    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
++    goto __pyx_L8_try_end;
++    __pyx_L3_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1011
++ *     try:
++ *         _import_umath()
++ *     except Exception:             # <<<<<<<<<<<<<<
++ *         raise ImportError("numpy.core.umath failed to import")
++ */
++    __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
++    if (__pyx_t_4) {
++      __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1011, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_6);
++      __Pyx_GOTREF(__pyx_t_7);
++
++      /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1012
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ */
++      __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1012, __pyx_L5_except_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      __Pyx_Raise(__pyx_t_8, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
++      __PYX_ERR(1, 1012, __pyx_L5_except_error)
++    }
++    goto __pyx_L5_except_error;
++    __pyx_L5_except_error:;
++
++    /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1009
++ * 
++ * cdef inline int import_ufunc() except -1:
++ *     try:             # <<<<<<<<<<<<<<
++ *         _import_umath()
++ *     except Exception:
++ */
++    __Pyx_XGIVEREF(__pyx_t_1);
++    __Pyx_XGIVEREF(__pyx_t_2);
++    __Pyx_XGIVEREF(__pyx_t_3);
++    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
++    goto __pyx_L1_error;
++    __pyx_L8_try_end:;
++  }
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1008
++ *         raise ImportError("numpy.core.umath failed to import")
++ * 
++ * cdef inline int import_ufunc() except -1:             # <<<<<<<<<<<<<<
++ *     try:
++ *         _import_umath()
++ */
++
++  /* function exit code */
++  __pyx_r = 0;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  __pyx_L0:;
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":121
++ *         cdef bint dtype_is_object
++ * 
++ *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
++ *                   mode="c", bint allocate_buffer=True):
++ * 
++ */
++
++/* Python wrapper */
++static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
++static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
++  PyObject *__pyx_v_shape = 0;
++  Py_ssize_t __pyx_v_itemsize;
++  PyObject *__pyx_v_format = 0;
++  PyObject *__pyx_v_mode = 0;
++  int __pyx_v_allocate_buffer;
++  int __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
++  {
++    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shape,&__pyx_n_s_itemsize,&__pyx_n_s_format,&__pyx_n_s_mode,&__pyx_n_s_allocate_buffer,0};
++    PyObject* values[5] = {0,0,0,0,0};
++    values[3] = ((PyObject *)__pyx_n_s_c);
++    if (unlikely(__pyx_kwds)) {
++      Py_ssize_t kw_args;
++      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
++      switch (pos_args) {
++        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
++        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
++        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
++        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
++        case  0: break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++      kw_args = PyDict_Size(__pyx_kwds);
++      switch (pos_args) {
++        case  0:
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_shape)) != 0)) kw_args--;
++        else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
++        case  1:
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_itemsize)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 1); __PYX_ERR(2, 121, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  2:
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_format)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 2); __PYX_ERR(2, 121, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  3:
++        if (kw_args > 0) {
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_mode);
++          if (value) { values[3] = value; kw_args--; }
++        }
++        CYTHON_FALLTHROUGH;
++        case  4:
++        if (kw_args > 0) {
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_allocate_buffer);
++          if (value) { values[4] = value; kw_args--; }
++        }
++      }
++      if (unlikely(kw_args > 0)) {
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 121, __pyx_L3_error)
++      }
++    } else {
++      switch (PyTuple_GET_SIZE(__pyx_args)) {
++        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
++        CYTHON_FALLTHROUGH;
++        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
++        CYTHON_FALLTHROUGH;
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++    }
++    __pyx_v_shape = ((PyObject*)values[0]);
++    __pyx_v_itemsize = __Pyx_PyIndex_AsSsize_t(values[1]); if (unlikely((__pyx_v_itemsize == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 121, __pyx_L3_error)
++    __pyx_v_format = values[2];
++    __pyx_v_mode = values[3];
++    if (values[4]) {
++      __pyx_v_allocate_buffer = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_allocate_buffer == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 122, __pyx_L3_error)
++    } else {
++
++      /* "View.MemoryView":122
++ * 
++ *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,
++ *                   mode="c", bint allocate_buffer=True):             # <<<<<<<<<<<<<<
++ * 
++ *         cdef int idx
++ */
++      __pyx_v_allocate_buffer = ((int)1);
+     }
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 120, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 121, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.array.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+   return -1;
+   __pyx_L4_argument_unpacking_done:;
+-  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_shape), (&PyTuple_Type), 1, "shape", 1))) __PYX_ERR(2, 120, __pyx_L1_error)
++  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_shape), (&PyTuple_Type), 1, "shape", 1))) __PYX_ERR(2, 121, __pyx_L1_error)
+   if (unlikely(((PyObject *)__pyx_v_format) == Py_None)) {
+-    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "format"); __PYX_ERR(2, 120, __pyx_L1_error)
++    PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "format"); __PYX_ERR(2, 121, __pyx_L1_error)
+   }
+   __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(((struct __pyx_array_obj *)__pyx_v_self), __pyx_v_shape, __pyx_v_itemsize, __pyx_v_format, __pyx_v_mode, __pyx_v_allocate_buffer);
+ 
+-  /* "View.MemoryView":120
++  /* "View.MemoryView":121
+  *         cdef bint dtype_is_object
+  * 
+  *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+@@ -8696,10 +9521,11 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   Py_ssize_t __pyx_t_8;
+   PyObject *__pyx_t_9 = NULL;
+   PyObject *__pyx_t_10 = NULL;
++  Py_ssize_t __pyx_t_11;
+   __Pyx_RefNannySetupContext("__cinit__", 0);
+   __Pyx_INCREF(__pyx_v_format);
+ 
+-  /* "View.MemoryView":127
++  /* "View.MemoryView":128
+  *         cdef PyObject **p
+  * 
+  *         self.ndim =  len(shape)             # <<<<<<<<<<<<<<
+@@ -8708,12 +9534,12 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   if (unlikely(__pyx_v_shape == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+-    __PYX_ERR(2, 127, __pyx_L1_error)
++    __PYX_ERR(2, 128, __pyx_L1_error)
+   }
+-  __pyx_t_1 = PyTuple_GET_SIZE(__pyx_v_shape); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(2, 127, __pyx_L1_error)
++  __pyx_t_1 = PyTuple_GET_SIZE(__pyx_v_shape); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(2, 128, __pyx_L1_error)
+   __pyx_v_self->ndim = ((int)__pyx_t_1);
+ 
+-  /* "View.MemoryView":128
++  /* "View.MemoryView":129
+  * 
+  *         self.ndim =  len(shape)
+  *         self.itemsize = itemsize             # <<<<<<<<<<<<<<
+@@ -8722,7 +9548,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->itemsize = __pyx_v_itemsize;
+ 
+-  /* "View.MemoryView":130
++  /* "View.MemoryView":131
+  *         self.itemsize = itemsize
+  * 
+  *         if not self.ndim:             # <<<<<<<<<<<<<<
+@@ -8730,22 +9556,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_2 = ((!(__pyx_v_self->ndim != 0)) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":131
++    /* "View.MemoryView":132
+  * 
+  *         if not self.ndim:
+  *             raise ValueError("Empty shape tuple for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if itemsize <= 0:
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 131, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__21, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 132, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 131, __pyx_L1_error)
++    __PYX_ERR(2, 132, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":130
++    /* "View.MemoryView":131
+  *         self.itemsize = itemsize
+  * 
+  *         if not self.ndim:             # <<<<<<<<<<<<<<
+@@ -8754,7 +9580,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":133
++  /* "View.MemoryView":134
+  *             raise ValueError("Empty shape tuple for cython.array")
+  * 
+  *         if itemsize <= 0:             # <<<<<<<<<<<<<<
+@@ -8762,22 +9588,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_2 = ((__pyx_v_itemsize <= 0) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":134
++    /* "View.MemoryView":135
+  * 
+  *         if itemsize <= 0:
+  *             raise ValueError("itemsize <= 0 for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if not isinstance(format, bytes):
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 134, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__22, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 135, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 134, __pyx_L1_error)
++    __PYX_ERR(2, 135, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":133
++    /* "View.MemoryView":134
+  *             raise ValueError("Empty shape tuple for cython.array")
+  * 
+  *         if itemsize <= 0:             # <<<<<<<<<<<<<<
+@@ -8786,7 +9612,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":136
++  /* "View.MemoryView":137
+  *             raise ValueError("itemsize <= 0 for cython.array")
+  * 
+  *         if not isinstance(format, bytes):             # <<<<<<<<<<<<<<
+@@ -8797,22 +9623,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_4 = ((!(__pyx_t_2 != 0)) != 0);
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":137
++    /* "View.MemoryView":138
+  * 
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')             # <<<<<<<<<<<<<<
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format
+  */
+-    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_format, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 137, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_format, __pyx_n_s_encode); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 138, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 137, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__23, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 138, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __Pyx_DECREF_SET(__pyx_v_format, __pyx_t_5);
+     __pyx_t_5 = 0;
+ 
+-    /* "View.MemoryView":136
++    /* "View.MemoryView":137
+  *             raise ValueError("itemsize <= 0 for cython.array")
+  * 
+  *         if not isinstance(format, bytes):             # <<<<<<<<<<<<<<
+@@ -8821,14 +9647,14 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":138
++  /* "View.MemoryView":139
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')
+  *         self._format = format  # keep a reference to the byte string             # <<<<<<<<<<<<<<
+  *         self.format = self._format
+  * 
+  */
+-  if (!(likely(PyBytes_CheckExact(__pyx_v_format))||((__pyx_v_format) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_v_format)->tp_name), 0))) __PYX_ERR(2, 138, __pyx_L1_error)
++  if (!(likely(PyBytes_CheckExact(__pyx_v_format))||((__pyx_v_format) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_v_format)->tp_name), 0))) __PYX_ERR(2, 139, __pyx_L1_error)
+   __pyx_t_5 = __pyx_v_format;
+   __Pyx_INCREF(__pyx_t_5);
+   __Pyx_GIVEREF(__pyx_t_5);
+@@ -8837,17 +9663,21 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_v_self->_format = ((PyObject*)__pyx_t_5);
+   __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":139
++  /* "View.MemoryView":140
+  *             format = format.encode('ASCII')
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_AsString(__pyx_v_self->_format); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(2, 139, __pyx_L1_error)
++  if (unlikely(__pyx_v_self->_format == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "expected bytes, NoneType found");
++    __PYX_ERR(2, 140, __pyx_L1_error)
++  }
++  __pyx_t_6 = __Pyx_PyBytes_AsWritableString(__pyx_v_self->_format); if (unlikely((!__pyx_t_6) && PyErr_Occurred())) __PYX_ERR(2, 140, __pyx_L1_error)
+   __pyx_v_self->format = __pyx_t_6;
+ 
+-  /* "View.MemoryView":142
++  /* "View.MemoryView":143
+  * 
+  * 
+  *         self._shape =  PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2)             # <<<<<<<<<<<<<<
+@@ -8856,7 +9686,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->_shape = ((Py_ssize_t *)PyObject_Malloc((((sizeof(Py_ssize_t)) * __pyx_v_self->ndim) * 2)));
+ 
+-  /* "View.MemoryView":143
++  /* "View.MemoryView":144
+  * 
+  *         self._shape =  PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2)
+  *         self._strides = self._shape + self.ndim             # <<<<<<<<<<<<<<
+@@ -8865,7 +9695,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->_strides = (__pyx_v_self->_shape + __pyx_v_self->ndim);
+ 
+-  /* "View.MemoryView":145
++  /* "View.MemoryView":146
+  *         self._strides = self._shape + self.ndim
+  * 
+  *         if not self._shape:             # <<<<<<<<<<<<<<
+@@ -8873,22 +9703,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+   __pyx_t_4 = ((!(__pyx_v_self->_shape != 0)) != 0);
+-  if (__pyx_t_4) {
++  if (unlikely(__pyx_t_4)) {
+ 
+-    /* "View.MemoryView":146
++    /* "View.MemoryView":147
+  * 
+  *         if not self._shape:
+  *             raise MemoryError("unable to allocate shape and strides.")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__21, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 146, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__24, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 147, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __PYX_ERR(2, 146, __pyx_L1_error)
++    __PYX_ERR(2, 147, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":145
++    /* "View.MemoryView":146
+  *         self._strides = self._shape + self.ndim
+  * 
+  *         if not self._shape:             # <<<<<<<<<<<<<<
+@@ -8897,7 +9727,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":149
++  /* "View.MemoryView":150
+  * 
+  * 
+  *         for idx, dim in enumerate(shape):             # <<<<<<<<<<<<<<
+@@ -8908,19 +9738,19 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_5 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_5); __pyx_t_1 = 0;
+   for (;;) {
+     if (__pyx_t_1 >= PyTuple_GET_SIZE(__pyx_t_5)) break;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(2, 149, __pyx_L1_error)
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) __PYX_ERR(2, 150, __pyx_L1_error)
+     #else
+-    __pyx_t_3 = PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 149, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 150, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     #endif
+-    __pyx_t_8 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_8 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 149, __pyx_L1_error)
++    __pyx_t_8 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_8 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 150, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_dim = __pyx_t_8;
+     __pyx_v_idx = __pyx_t_7;
+     __pyx_t_7 = (__pyx_t_7 + 1);
+ 
+-    /* "View.MemoryView":150
++    /* "View.MemoryView":151
+  * 
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:             # <<<<<<<<<<<<<<
+@@ -8928,20 +9758,20 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  *             self._shape[idx] = dim
+  */
+     __pyx_t_4 = ((__pyx_v_dim <= 0) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":151
++      /* "View.MemoryView":152
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:
+  *                 raise ValueError("Invalid shape in axis %d: %d." % (idx, dim))             # <<<<<<<<<<<<<<
+  *             self._shape[idx] = dim
+  * 
+  */
+-      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_idx); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_idx); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_9 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_9 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_10 = PyTuple_New(2); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_10 = PyTuple_New(2); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_10);
+       __Pyx_GIVEREF(__pyx_t_3);
+       PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_3);
+@@ -8949,22 +9779,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+       PyTuple_SET_ITEM(__pyx_t_10, 1, __pyx_t_9);
+       __pyx_t_3 = 0;
+       __pyx_t_9 = 0;
+-      __pyx_t_9 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_shape_in_axis_d_d, __pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_shape_in_axis_d_d, __pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+-      __pyx_t_10 = PyTuple_New(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 151, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_9); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 152, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_10);
+-      __Pyx_GIVEREF(__pyx_t_9);
+-      PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_9);
+-      __pyx_t_9 = 0;
+-      __pyx_t_9 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_10, NULL); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 151, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+-      __Pyx_Raise(__pyx_t_9, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-      __PYX_ERR(2, 151, __pyx_L1_error)
++      __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++      __PYX_ERR(2, 152, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":150
++      /* "View.MemoryView":151
+  * 
+  *         for idx, dim in enumerate(shape):
+  *             if dim <= 0:             # <<<<<<<<<<<<<<
+@@ -8973,7 +9798,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":152
++    /* "View.MemoryView":153
+  *             if dim <= 0:
+  *                 raise ValueError("Invalid shape in axis %d: %d." % (idx, dim))
+  *             self._shape[idx] = dim             # <<<<<<<<<<<<<<
+@@ -8982,7 +9807,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     (__pyx_v_self->_shape[__pyx_v_idx]) = __pyx_v_dim;
+ 
+-    /* "View.MemoryView":149
++    /* "View.MemoryView":150
+  * 
+  * 
+  *         for idx, dim in enumerate(shape):             # <<<<<<<<<<<<<<
+@@ -8992,17 +9817,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   }
+   __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":155
++  /* "View.MemoryView":156
+  * 
+  *         cdef char order
+  *         if mode == 'fortran':             # <<<<<<<<<<<<<<
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  */
+-  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_fortran, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 155, __pyx_L1_error)
++  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_fortran, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 156, __pyx_L1_error)
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":156
++    /* "View.MemoryView":157
+  *         cdef char order
+  *         if mode == 'fortran':
+  *             order = b'F'             # <<<<<<<<<<<<<<
+@@ -9011,7 +9836,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_order = 'F';
+ 
+-    /* "View.MemoryView":157
++    /* "View.MemoryView":158
+  *         if mode == 'fortran':
+  *             order = b'F'
+  *             self.mode = u'fortran'             # <<<<<<<<<<<<<<
+@@ -9024,7 +9849,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __Pyx_DECREF(__pyx_v_self->mode);
+     __pyx_v_self->mode = __pyx_n_u_fortran;
+ 
+-    /* "View.MemoryView":155
++    /* "View.MemoryView":156
+  * 
+  *         cdef char order
+  *         if mode == 'fortran':             # <<<<<<<<<<<<<<
+@@ -9034,17 +9859,17 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":158
++  /* "View.MemoryView":159
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':             # <<<<<<<<<<<<<<
+  *             order = b'C'
+  *             self.mode = u'c'
+  */
+-  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_c, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 158, __pyx_L1_error)
+-  if (__pyx_t_4) {
++  __pyx_t_4 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_c, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 159, __pyx_L1_error)
++  if (likely(__pyx_t_4)) {
+ 
+-    /* "View.MemoryView":159
++    /* "View.MemoryView":160
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':
+  *             order = b'C'             # <<<<<<<<<<<<<<
+@@ -9053,7 +9878,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_order = 'C';
+ 
+-    /* "View.MemoryView":160
++    /* "View.MemoryView":161
+  *         elif mode == 'c':
+  *             order = b'C'
+  *             self.mode = u'c'             # <<<<<<<<<<<<<<
+@@ -9066,7 +9891,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __Pyx_DECREF(__pyx_v_self->mode);
+     __pyx_v_self->mode = __pyx_n_u_c;
+ 
+-    /* "View.MemoryView":158
++    /* "View.MemoryView":159
+  *             order = b'F'
+  *             self.mode = u'fortran'
+  *         elif mode == 'c':             # <<<<<<<<<<<<<<
+@@ -9076,7 +9901,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":162
++  /* "View.MemoryView":163
+  *             self.mode = u'c'
+  *         else:
+  *             raise ValueError("Invalid mode, expected 'c' or 'fortran', got %s" % mode)             # <<<<<<<<<<<<<<
+@@ -9084,23 +9909,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  *         self.len = fill_contig_strides_array(self._shape, self._strides,
+  */
+   /*else*/ {
+-    __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_mode_expected_c_or_fortr, __pyx_v_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 162, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_5);
+-    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 162, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_9);
+-    __Pyx_GIVEREF(__pyx_t_5);
+-    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_5);
+-    __pyx_t_5 = 0;
+-    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_9, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 162, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_Invalid_mode_expected_c_or_fortr, __pyx_v_mode); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 163, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+-    __Pyx_Raise(__pyx_t_5, 0, 0, 0);
++    __pyx_t_10 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_5); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 163, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_10);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-    __PYX_ERR(2, 162, __pyx_L1_error)
++    __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++    __PYX_ERR(2, 163, __pyx_L1_error)
+   }
+   __pyx_L10:;
+ 
+-  /* "View.MemoryView":164
++  /* "View.MemoryView":165
+  *             raise ValueError("Invalid mode, expected 'c' or 'fortran', got %s" % mode)
+  * 
+  *         self.len = fill_contig_strides_array(self._shape, self._strides,             # <<<<<<<<<<<<<<
+@@ -9109,7 +9929,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->len = __pyx_fill_contig_strides_array(__pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_itemsize, __pyx_v_self->ndim, __pyx_v_order);
+ 
+-  /* "View.MemoryView":167
++  /* "View.MemoryView":168
+  *                                              itemsize, self.ndim, order)
+  * 
+  *         self.free_data = allocate_buffer             # <<<<<<<<<<<<<<
+@@ -9118,19 +9938,19 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   __pyx_v_self->free_data = __pyx_v_allocate_buffer;
+ 
+-  /* "View.MemoryView":168
++  /* "View.MemoryView":169
+  * 
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'             # <<<<<<<<<<<<<<
+  *         if allocate_buffer:
+  * 
+  */
+-  __pyx_t_5 = PyObject_RichCompare(__pyx_v_format, __pyx_n_b_O, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 168, __pyx_L1_error)
+-  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 168, __pyx_L1_error)
+-  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++  __pyx_t_10 = PyObject_RichCompare(__pyx_v_format, __pyx_n_b_O, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 169, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 169, __pyx_L1_error)
++  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+   __pyx_v_self->dtype_is_object = __pyx_t_4;
+ 
+-  /* "View.MemoryView":169
++  /* "View.MemoryView":170
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'
+  *         if allocate_buffer:             # <<<<<<<<<<<<<<
+@@ -9140,7 +9960,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   __pyx_t_4 = (__pyx_v_allocate_buffer != 0);
+   if (__pyx_t_4) {
+ 
+-    /* "View.MemoryView":172
++    /* "View.MemoryView":173
+  * 
+  * 
+  *             self.data = malloc(self.len)             # <<<<<<<<<<<<<<
+@@ -9149,7 +9969,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     __pyx_v_self->data = ((char *)malloc(__pyx_v_self->len));
+ 
+-    /* "View.MemoryView":173
++    /* "View.MemoryView":174
+  * 
+  *             self.data = malloc(self.len)
+  *             if not self.data:             # <<<<<<<<<<<<<<
+@@ -9157,22 +9977,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  * 
+  */
+     __pyx_t_4 = ((!(__pyx_v_self->data != 0)) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":174
++      /* "View.MemoryView":175
+  *             self.data = malloc(self.len)
+  *             if not self.data:
+  *                 raise MemoryError("unable to allocate array data.")             # <<<<<<<<<<<<<<
+  * 
+  *             if self.dtype_is_object:
+  */
+-      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__22, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 174, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_5);
+-      __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+-      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      __PYX_ERR(2, 174, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyObject_Call(__pyx_builtin_MemoryError, __pyx_tuple__25, NULL); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 175, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_10);
++      __Pyx_Raise(__pyx_t_10, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
++      __PYX_ERR(2, 175, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":173
++      /* "View.MemoryView":174
+  * 
+  *             self.data = malloc(self.len)
+  *             if not self.data:             # <<<<<<<<<<<<<<
+@@ -9181,7 +10001,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":176
++    /* "View.MemoryView":177
+  *                 raise MemoryError("unable to allocate array data.")
+  * 
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -9191,7 +10011,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+     __pyx_t_4 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_4) {
+ 
+-      /* "View.MemoryView":177
++      /* "View.MemoryView":178
+  * 
+  *             if self.dtype_is_object:
+  *                 p =  self.data             # <<<<<<<<<<<<<<
+@@ -9200,7 +10020,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+       __pyx_v_p = ((PyObject **)__pyx_v_self->data);
+ 
+-      /* "View.MemoryView":178
++      /* "View.MemoryView":179
+  *             if self.dtype_is_object:
+  *                 p =  self.data
+  *                 for i in range(self.len / itemsize):             # <<<<<<<<<<<<<<
+@@ -9209,17 +10029,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+       if (unlikely(__pyx_v_itemsize == 0)) {
+         PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero");
+-        __PYX_ERR(2, 178, __pyx_L1_error)
++        __PYX_ERR(2, 179, __pyx_L1_error)
+       }
+       else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_itemsize == (Py_ssize_t)-1)  && unlikely(UNARY_NEG_WOULD_OVERFLOW(__pyx_v_self->len))) {
+         PyErr_SetString(PyExc_OverflowError, "value too large to perform division");
+-        __PYX_ERR(2, 178, __pyx_L1_error)
++        __PYX_ERR(2, 179, __pyx_L1_error)
+       }
+       __pyx_t_1 = __Pyx_div_Py_ssize_t(__pyx_v_self->len, __pyx_v_itemsize);
+-      for (__pyx_t_8 = 0; __pyx_t_8 < __pyx_t_1; __pyx_t_8+=1) {
+-        __pyx_v_i = __pyx_t_8;
++      __pyx_t_8 = __pyx_t_1;
++      for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_8; __pyx_t_11+=1) {
++        __pyx_v_i = __pyx_t_11;
+ 
+-        /* "View.MemoryView":179
++        /* "View.MemoryView":180
+  *                 p =  self.data
+  *                 for i in range(self.len / itemsize):
+  *                     p[i] = Py_None             # <<<<<<<<<<<<<<
+@@ -9228,7 +10049,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+         (__pyx_v_p[__pyx_v_i]) = Py_None;
+ 
+-        /* "View.MemoryView":180
++        /* "View.MemoryView":181
+  *                 for i in range(self.len / itemsize):
+  *                     p[i] = Py_None
+  *                     Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+@@ -9238,7 +10059,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+         Py_INCREF(Py_None);
+       }
+ 
+-      /* "View.MemoryView":176
++      /* "View.MemoryView":177
+  *                 raise MemoryError("unable to allocate array data.")
+  * 
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -9247,7 +10068,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+     }
+ 
+-    /* "View.MemoryView":169
++    /* "View.MemoryView":170
+  *         self.free_data = allocate_buffer
+  *         self.dtype_is_object = format == b'O'
+  *         if allocate_buffer:             # <<<<<<<<<<<<<<
+@@ -9256,7 +10077,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+  */
+   }
+ 
+-  /* "View.MemoryView":120
++  /* "View.MemoryView":121
+  *         cdef bint dtype_is_object
+  * 
+  *     def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None,             # <<<<<<<<<<<<<<
+@@ -9280,7 +10101,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":183
++/* "View.MemoryView":184
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+@@ -9312,13 +10133,15 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   Py_ssize_t __pyx_t_5;
+   int __pyx_t_6;
+   Py_ssize_t *__pyx_t_7;
+-  __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
+   }
++  __Pyx_RefNannySetupContext("__getbuffer__", 0);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
+ 
+-  /* "View.MemoryView":184
++  /* "View.MemoryView":185
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1             # <<<<<<<<<<<<<<
+@@ -9327,18 +10150,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_bufmode = -1;
+ 
+-  /* "View.MemoryView":185
++  /* "View.MemoryView":186
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":             # <<<<<<<<<<<<<<
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":
+  */
+-  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_c, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 185, __pyx_L1_error)
++  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_c, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 186, __pyx_L1_error)
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":186
++    /* "View.MemoryView":187
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -9347,7 +10170,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+     __pyx_v_bufmode = (PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS);
+ 
+-    /* "View.MemoryView":185
++    /* "View.MemoryView":186
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
+  *         cdef int bufmode = -1
+  *         if self.mode == u"c":             # <<<<<<<<<<<<<<
+@@ -9357,18 +10180,18 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":187
++  /* "View.MemoryView":188
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":             # <<<<<<<<<<<<<<
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  */
+-  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_fortran, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 187, __pyx_L1_error)
++  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_fortran, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 188, __pyx_L1_error)
+   __pyx_t_1 = (__pyx_t_2 != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":188
++    /* "View.MemoryView":189
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -9377,7 +10200,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+     __pyx_v_bufmode = (PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS);
+ 
+-    /* "View.MemoryView":187
++    /* "View.MemoryView":188
+  *         if self.mode == u"c":
+  *             bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         elif self.mode == u"fortran":             # <<<<<<<<<<<<<<
+@@ -9387,7 +10210,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":189
++  /* "View.MemoryView":190
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):             # <<<<<<<<<<<<<<
+@@ -9395,22 +10218,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  *         info.buf = self.data
+  */
+   __pyx_t_1 = ((!((__pyx_v_flags & __pyx_v_bufmode) != 0)) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":190
++    /* "View.MemoryView":191
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")             # <<<<<<<<<<<<<<
+  *         info.buf = self.data
+  *         info.len = self.len
+  */
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__23, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 190, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__26, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 191, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 190, __pyx_L1_error)
++    __PYX_ERR(2, 191, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":189
++    /* "View.MemoryView":190
+  *         elif self.mode == u"fortran":
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):             # <<<<<<<<<<<<<<
+@@ -9419,7 +10242,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   }
+ 
+-  /* "View.MemoryView":191
++  /* "View.MemoryView":192
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")
+  *         info.buf = self.data             # <<<<<<<<<<<<<<
+@@ -9429,7 +10252,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_4 = __pyx_v_self->data;
+   __pyx_v_info->buf = __pyx_t_4;
+ 
+-  /* "View.MemoryView":192
++  /* "View.MemoryView":193
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")
+  *         info.buf = self.data
+  *         info.len = self.len             # <<<<<<<<<<<<<<
+@@ -9439,7 +10262,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_5 = __pyx_v_self->len;
+   __pyx_v_info->len = __pyx_t_5;
+ 
+-  /* "View.MemoryView":193
++  /* "View.MemoryView":194
+  *         info.buf = self.data
+  *         info.len = self.len
+  *         info.ndim = self.ndim             # <<<<<<<<<<<<<<
+@@ -9449,7 +10272,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_6 = __pyx_v_self->ndim;
+   __pyx_v_info->ndim = __pyx_t_6;
+ 
+-  /* "View.MemoryView":194
++  /* "View.MemoryView":195
+  *         info.len = self.len
+  *         info.ndim = self.ndim
+  *         info.shape = self._shape             # <<<<<<<<<<<<<<
+@@ -9459,7 +10282,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_7 = __pyx_v_self->_shape;
+   __pyx_v_info->shape = __pyx_t_7;
+ 
+-  /* "View.MemoryView":195
++  /* "View.MemoryView":196
+  *         info.ndim = self.ndim
+  *         info.shape = self._shape
+  *         info.strides = self._strides             # <<<<<<<<<<<<<<
+@@ -9469,7 +10292,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_7 = __pyx_v_self->_strides;
+   __pyx_v_info->strides = __pyx_t_7;
+ 
+-  /* "View.MemoryView":196
++  /* "View.MemoryView":197
+  *         info.shape = self._shape
+  *         info.strides = self._strides
+  *         info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -9478,7 +10301,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_info->suboffsets = NULL;
+ 
+-  /* "View.MemoryView":197
++  /* "View.MemoryView":198
+  *         info.strides = self._strides
+  *         info.suboffsets = NULL
+  *         info.itemsize = self.itemsize             # <<<<<<<<<<<<<<
+@@ -9488,7 +10311,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_5 = __pyx_v_self->itemsize;
+   __pyx_v_info->itemsize = __pyx_t_5;
+ 
+-  /* "View.MemoryView":198
++  /* "View.MemoryView":199
+  *         info.suboffsets = NULL
+  *         info.itemsize = self.itemsize
+  *         info.readonly = 0             # <<<<<<<<<<<<<<
+@@ -9497,7 +10320,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+  */
+   __pyx_v_info->readonly = 0;
+ 
+-  /* "View.MemoryView":200
++  /* "View.MemoryView":201
+  *         info.readonly = 0
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -9507,7 +10330,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":201
++    /* "View.MemoryView":202
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             info.format = self.format             # <<<<<<<<<<<<<<
+@@ -9517,7 +10340,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     __pyx_t_4 = __pyx_v_self->format;
+     __pyx_v_info->format = __pyx_t_4;
+ 
+-    /* "View.MemoryView":200
++    /* "View.MemoryView":201
+  *         info.readonly = 0
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -9527,7 +10350,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+     goto __pyx_L5;
+   }
+ 
+-  /* "View.MemoryView":203
++  /* "View.MemoryView":204
+  *             info.format = self.format
+  *         else:
+  *             info.format = NULL             # <<<<<<<<<<<<<<
+@@ -9539,7 +10362,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   }
+   __pyx_L5:;
+ 
+-  /* "View.MemoryView":205
++  /* "View.MemoryView":206
+  *             info.format = NULL
+  * 
+  *         info.obj = self             # <<<<<<<<<<<<<<
+@@ -9552,7 +10375,7 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __Pyx_DECREF(__pyx_v_info->obj);
+   __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "View.MemoryView":183
++  /* "View.MemoryView":184
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+@@ -9567,22 +10390,22 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(stru
+   __Pyx_XDECREF(__pyx_t_3);
+   __Pyx_AddTraceback("View.MemoryView.array.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj != NULL) {
++  if (__pyx_v_info->obj != NULL) {
+     __Pyx_GOTREF(__pyx_v_info->obj);
+-    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = NULL;
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   goto __pyx_L2;
+   __pyx_L0:;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
+   __pyx_L2:;
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":209
++/* "View.MemoryView":210
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")
+  * 
+  *     def __dealloc__(array self):             # <<<<<<<<<<<<<<
+@@ -9606,7 +10429,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":210
++  /* "View.MemoryView":211
+  * 
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:             # <<<<<<<<<<<<<<
+@@ -9616,7 +10439,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __pyx_t_1 = ((__pyx_v_self->callback_free_data != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":211
++    /* "View.MemoryView":212
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)             # <<<<<<<<<<<<<<
+@@ -9625,7 +10448,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     __pyx_v_self->callback_free_data(__pyx_v_self->data);
+ 
+-    /* "View.MemoryView":210
++    /* "View.MemoryView":211
+  * 
+  *     def __dealloc__(array self):
+  *         if self.callback_free_data != NULL:             # <<<<<<<<<<<<<<
+@@ -9635,7 +10458,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":212
++  /* "View.MemoryView":213
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:             # <<<<<<<<<<<<<<
+@@ -9645,7 +10468,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __pyx_t_1 = (__pyx_v_self->free_data != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":213
++    /* "View.MemoryView":214
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -9655,7 +10478,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+     __pyx_t_1 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":214
++      /* "View.MemoryView":215
+  *         elif self.free_data:
+  *             if self.dtype_is_object:
+  *                 refcount_objects_in_slice(self.data, self._shape,             # <<<<<<<<<<<<<<
+@@ -9664,7 +10487,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+       __pyx_memoryview_refcount_objects_in_slice(__pyx_v_self->data, __pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_self->ndim, 0);
+ 
+-      /* "View.MemoryView":213
++      /* "View.MemoryView":214
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -9673,7 +10496,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     }
+ 
+-    /* "View.MemoryView":216
++    /* "View.MemoryView":217
+  *                 refcount_objects_in_slice(self.data, self._shape,
+  *                                           self._strides, self.ndim, False)
+  *             free(self.data)             # <<<<<<<<<<<<<<
+@@ -9682,7 +10505,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+     free(__pyx_v_self->data);
+ 
+-    /* "View.MemoryView":212
++    /* "View.MemoryView":213
+  *         if self.callback_free_data != NULL:
+  *             self.callback_free_data(self.data)
+  *         elif self.free_data:             # <<<<<<<<<<<<<<
+@@ -9692,7 +10515,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":217
++  /* "View.MemoryView":218
+  *                                           self._strides, self.ndim, False)
+  *             free(self.data)
+  *         PyObject_Free(self._shape)             # <<<<<<<<<<<<<<
+@@ -9701,7 +10524,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+  */
+   PyObject_Free(__pyx_v_self->_shape);
+ 
+-  /* "View.MemoryView":209
++  /* "View.MemoryView":210
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")
+  * 
+  *     def __dealloc__(array self):             # <<<<<<<<<<<<<<
+@@ -9713,7 +10536,7 @@ static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struc
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":220
++/* "View.MemoryView":221
+  * 
+  *     @property
+  *     def memview(self):             # <<<<<<<<<<<<<<
+@@ -9740,7 +10563,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":221
++  /* "View.MemoryView":222
+  *     @property
+  *     def memview(self):
+  *         return self.get_memview()             # <<<<<<<<<<<<<<
+@@ -9748,13 +10571,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+  *     @cname('get_memview')
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = ((struct __pyx_vtabstruct_array *)__pyx_v_self->__pyx_vtab)->get_memview(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 221, __pyx_L1_error)
++  __pyx_t_1 = ((struct __pyx_vtabstruct_array *)__pyx_v_self->__pyx_vtab)->get_memview(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 222, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":220
++  /* "View.MemoryView":221
+  * 
+  *     @property
+  *     def memview(self):             # <<<<<<<<<<<<<<
+@@ -9773,7 +10596,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":224
++/* "View.MemoryView":225
+  * 
+  *     @cname('get_memview')
+  *     cdef get_memview(self):             # <<<<<<<<<<<<<<
+@@ -9790,7 +10613,7 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("get_memview", 0);
+ 
+-  /* "View.MemoryView":225
++  /* "View.MemoryView":226
+  *     @cname('get_memview')
+  *     cdef get_memview(self):
+  *         flags =  PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE             # <<<<<<<<<<<<<<
+@@ -9799,19 +10622,19 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+  */
+   __pyx_v_flags = ((PyBUF_ANY_CONTIGUOUS | PyBUF_FORMAT) | PyBUF_WRITABLE);
+ 
+-  /* "View.MemoryView":226
++  /* "View.MemoryView":227
+  *     cdef get_memview(self):
+  *         flags =  PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE
+  *         return  memoryview(self, flags, self.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+- * 
++ *     def __len__(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(((PyObject *)__pyx_v_self));
+   __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+@@ -9822,14 +10645,14 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_1 = 0;
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 226, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 227, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":224
++  /* "View.MemoryView":225
+  * 
+  *     @cname('get_memview')
+  *     cdef get_memview(self):             # <<<<<<<<<<<<<<
+@@ -9845,13 +10668,63 @@ static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) {
+   __Pyx_AddTraceback("View.MemoryView.array.get_memview", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = 0;
+   __pyx_L0:;
+-  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":229
++ *         return  memoryview(self, flags, self.dtype_is_object)
++ * 
++ *     def __len__(self):             # <<<<<<<<<<<<<<
++ *         return self._shape[0]
++ * 
++ */
++
++/* Python wrapper */
++static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self); /*proto*/
++static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) {
++  Py_ssize_t __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__len__ (wrapper)", 0);
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(((struct __pyx_array_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) {
++  Py_ssize_t __pyx_r;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__len__", 0);
++
++  /* "View.MemoryView":230
++ * 
++ *     def __len__(self):
++ *         return self._shape[0]             # <<<<<<<<<<<<<<
++ * 
++ *     def __getattr__(self, attr):
++ */
++  __pyx_r = (__pyx_v_self->_shape[0]);
++  goto __pyx_L0;
++
++  /* "View.MemoryView":229
++ *         return  memoryview(self, flags, self.dtype_is_object)
++ * 
++ *     def __len__(self):             # <<<<<<<<<<<<<<
++ *         return self._shape[0]
++ * 
++ */
++
++  /* function exit code */
++  __pyx_L0:;
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":229
+- * 
++/* "View.MemoryView":232
++ *         return self._shape[0]
+  * 
+  *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
+  *         return getattr(self.memview, attr)
+@@ -9864,21 +10737,21 @@ static PyObject *__pyx_array___getattr__(PyObject *__pyx_v_self, PyObject *__pyx
+   PyObject *__pyx_r = 0;
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__getattr__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_attr));
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_attr));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr) {
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr) {
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("__getattr__", 0);
+ 
+-  /* "View.MemoryView":230
++  /* "View.MemoryView":233
+  * 
+  *     def __getattr__(self, attr):
+  *         return getattr(self.memview, attr)             # <<<<<<<<<<<<<<
+@@ -9886,17 +10759,17 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(
+  *     def __getitem__(self, item):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 230, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_GetAttr(__pyx_t_1, __pyx_v_attr); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 230, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_GetAttr(__pyx_t_1, __pyx_v_attr); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":229
+- * 
++  /* "View.MemoryView":232
++ *         return self._shape[0]
+  * 
+  *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
+  *         return getattr(self.memview, attr)
+@@ -9915,7 +10788,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__getattr__(
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":232
++/* "View.MemoryView":235
+  *         return getattr(self.memview, attr)
+  * 
+  *     def __getitem__(self, item):             # <<<<<<<<<<<<<<
+@@ -9929,21 +10802,21 @@ static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObject *__pyx
+   PyObject *__pyx_r = 0;
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item));
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item) {
++static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item) {
+   PyObject *__pyx_r = NULL;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("__getitem__", 0);
+ 
+-  /* "View.MemoryView":233
++  /* "View.MemoryView":236
+  * 
+  *     def __getitem__(self, item):
+  *         return self.memview[item]             # <<<<<<<<<<<<<<
+@@ -9951,16 +10824,16 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(
+  *     def __setitem__(self, item, value):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 233, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 236, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyObject_GetItem(__pyx_t_1, __pyx_v_item); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 233, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_item); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 236, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":232
++  /* "View.MemoryView":235
+  *         return getattr(self.memview, attr)
+  * 
+  *     def __getitem__(self, item):             # <<<<<<<<<<<<<<
+@@ -9980,7 +10853,7 @@ static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getitem__(
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":235
++/* "View.MemoryView":238
+  *         return self.memview[item]
+  * 
+  *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
+@@ -9994,32 +10867,32 @@ static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_ite
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
+-  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item), ((PyObject *)__pyx_v_value));
++  __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item), ((PyObject *)__pyx_v_value));
+ 
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
++static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) {
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__setitem__", 0);
+ 
+-  /* "View.MemoryView":236
++  /* "View.MemoryView":239
+  * 
+  *     def __setitem__(self, item, value):
+  *         self.memview[item] = value             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 236, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 239, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_v_item, __pyx_v_value) < 0)) __PYX_ERR(2, 236, __pyx_L1_error)
++  if (unlikely(PyObject_SetItem(__pyx_t_1, __pyx_v_item, __pyx_v_value) < 0)) __PYX_ERR(2, 239, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":235
++  /* "View.MemoryView":238
+  *         return self.memview[item]
+  * 
+  *     def __setitem__(self, item, value):             # <<<<<<<<<<<<<<
+@@ -10039,7 +10912,114 @@ static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__setitem__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":240
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__27, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_array_2__setstate_cython__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__28, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.array.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":243
+  * 
+  * @cname("__pyx_array_new")
+  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format,             # <<<<<<<<<<<<<<
+@@ -10058,7 +11038,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("array_cwrapper", 0);
+ 
+-  /* "View.MemoryView":244
++  /* "View.MemoryView":247
+  *     cdef array result
+  * 
+  *     if buf == NULL:             # <<<<<<<<<<<<<<
+@@ -10068,20 +11048,20 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   __pyx_t_1 = ((__pyx_v_buf == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":245
++    /* "View.MemoryView":248
+  * 
+  *     if buf == NULL:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))             # <<<<<<<<<<<<<<
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  */
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_4 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_5 = PyTuple_New(4); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_INCREF(__pyx_v_shape);
+     __Pyx_GIVEREF(__pyx_v_shape);
+@@ -10095,13 +11075,13 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     __pyx_t_2 = 0;
+     __pyx_t_3 = 0;
+     __pyx_t_4 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 245, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_5, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 248, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "View.MemoryView":244
++    /* "View.MemoryView":247
+  *     cdef array result
+  * 
+  *     if buf == NULL:             # <<<<<<<<<<<<<<
+@@ -10111,7 +11091,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":247
++  /* "View.MemoryView":250
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),             # <<<<<<<<<<<<<<
+@@ -10119,13 +11099,13 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+  *         result.data = buf
+  */
+   /*else*/ {
+-    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_mode, 0, strlen(__pyx_v_mode), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_INCREF(__pyx_v_shape);
+     __Pyx_GIVEREF(__pyx_v_shape);
+@@ -10140,32 +11120,32 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+     __pyx_t_5 = 0;
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":248
++    /* "View.MemoryView":251
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  *                        allocate_buffer=False)             # <<<<<<<<<<<<<<
+  *         result.data = buf
+  * 
+  */
+-    __pyx_t_3 = PyDict_New(); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 248, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 251, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_allocate_buffer, Py_False) < 0) __PYX_ERR(2, 248, __pyx_L1_error)
++    if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_allocate_buffer, Py_False) < 0) __PYX_ERR(2, 251, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":247
++    /* "View.MemoryView":250
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'))
+  *     else:
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),             # <<<<<<<<<<<<<<
+  *                        allocate_buffer=False)
+  *         result.data = buf
+  */
+-    __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 247, __pyx_L1_error)
++    __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)__pyx_array_type), __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 250, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_5);
+     __pyx_t_5 = 0;
+ 
+-    /* "View.MemoryView":249
++    /* "View.MemoryView":252
+  *         result = array(shape, itemsize, format, mode.decode('ASCII'),
+  *                        allocate_buffer=False)
+  *         result.data = buf             # <<<<<<<<<<<<<<
+@@ -10176,7 +11156,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":251
++  /* "View.MemoryView":254
+  *         result.data = buf
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -10188,7 +11168,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   __pyx_r = __pyx_v_result;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":240
++  /* "View.MemoryView":243
+  * 
+  * @cname("__pyx_array_new")
+  * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format,             # <<<<<<<<<<<<<<
+@@ -10211,7 +11191,7 @@ static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":277
++/* "View.MemoryView":280
+  * cdef class Enum(object):
+  *     cdef object name
+  *     def __init__(self, name):             # <<<<<<<<<<<<<<
+@@ -10234,17 +11214,18 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
+       }
+       if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(2, 277, __pyx_L3_error)
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(2, 280, __pyx_L3_error)
+       }
+     } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
+       goto __pyx_L5_argtuple_error;
+@@ -10255,7 +11236,7 @@ static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 277, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 280, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.Enum.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+@@ -10273,7 +11254,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__init__", 0);
+ 
+-  /* "View.MemoryView":278
++  /* "View.MemoryView":281
+  *     cdef object name
+  *     def __init__(self, name):
+  *         self.name = name             # <<<<<<<<<<<<<<
+@@ -10286,7 +11267,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   __Pyx_DECREF(__pyx_v_self->name);
+   __pyx_v_self->name = __pyx_v_name;
+ 
+-  /* "View.MemoryView":277
++  /* "View.MemoryView":280
+  * cdef class Enum(object):
+  *     cdef object name
+  *     def __init__(self, name):             # <<<<<<<<<<<<<<
+@@ -10300,7 +11281,7 @@ static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":279
++/* "View.MemoryView":282
+  *     def __init__(self, name):
+  *         self.name = name
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -10326,7 +11307,7 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__repr__", 0);
+ 
+-  /* "View.MemoryView":280
++  /* "View.MemoryView":283
+  *         self.name = name
+  *     def __repr__(self):
+  *         return self.name             # <<<<<<<<<<<<<<
+@@ -10338,7 +11319,7 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   __pyx_r = __pyx_v_self->name;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":279
++  /* "View.MemoryView":282
+  *     def __init__(self, name):
+  *         self.name = name
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -10353,7 +11334,294 @@ static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":294
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self) {
++  int __pyx_v_use_setstate;
++  PyObject *__pyx_v_state = NULL;
++  PyObject *__pyx_v__dict = NULL;
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_2;
++  int __pyx_t_3;
++  PyObject *__pyx_t_4 = NULL;
++  PyObject *__pyx_t_5 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     cdef bint use_setstate
++ *     state = (self.name,)             # <<<<<<<<<<<<<<
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:
++ */
++  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_INCREF(__pyx_v_self->name);
++  __Pyx_GIVEREF(__pyx_v_self->name);
++  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->name);
++  __pyx_v_state = ((PyObject*)__pyx_t_1);
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":4
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)             # <<<<<<<<<<<<<<
++ *     if _dict is not None:
++ *         state += (_dict,)
++ */
++  __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __pyx_v__dict = __pyx_t_1;
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":5
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:             # <<<<<<<<<<<<<<
++ *         state += (_dict,)
++ *         use_setstate = True
++ */
++  __pyx_t_2 = (__pyx_v__dict != Py_None);
++  __pyx_t_3 = (__pyx_t_2 != 0);
++  if (__pyx_t_3) {
++
++    /* "(tree fragment)":6
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:
++ *         state += (_dict,)             # <<<<<<<<<<<<<<
++ *         use_setstate = True
++ *     else:
++ */
++    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(__pyx_v__dict);
++    __Pyx_GIVEREF(__pyx_v__dict);
++    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict);
++    __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4));
++    __pyx_t_4 = 0;
++
++    /* "(tree fragment)":7
++ *     if _dict is not None:
++ *         state += (_dict,)
++ *         use_setstate = True             # <<<<<<<<<<<<<<
++ *     else:
++ *         use_setstate = self.name is not None
++ */
++    __pyx_v_use_setstate = 1;
++
++    /* "(tree fragment)":5
++ *     state = (self.name,)
++ *     _dict = getattr(self, '__dict__', None)
++ *     if _dict is not None:             # <<<<<<<<<<<<<<
++ *         state += (_dict,)
++ *         use_setstate = True
++ */
++    goto __pyx_L3;
++  }
++
++  /* "(tree fragment)":9
++ *         use_setstate = True
++ *     else:
++ *         use_setstate = self.name is not None             # <<<<<<<<<<<<<<
++ *     if use_setstate:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ */
++  /*else*/ {
++    __pyx_t_3 = (__pyx_v_self->name != Py_None);
++    __pyx_v_use_setstate = __pyx_t_3;
++  }
++  __pyx_L3:;
++
++  /* "(tree fragment)":10
++ *     else:
++ *         use_setstate = self.name is not None
++ *     if use_setstate:             # <<<<<<<<<<<<<<
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ */
++  __pyx_t_3 = (__pyx_v_use_setstate != 0);
++  if (__pyx_t_3) {
++
++    /* "(tree fragment)":11
++ *         use_setstate = self.name is not None
++ *     if use_setstate:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state             # <<<<<<<<<<<<<<
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ */
++    __Pyx_XDECREF(__pyx_r);
++    __pyx_t_4 = __Pyx_GetModuleGlobalName(__pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_INCREF(__pyx_int_184977713);
++    __Pyx_GIVEREF(__pyx_int_184977713);
++    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_184977713);
++    __Pyx_INCREF(Py_None);
++    __Pyx_GIVEREF(Py_None);
++    PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None);
++    __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 11, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_5);
++    __Pyx_GIVEREF(__pyx_t_4);
++    PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1);
++    __Pyx_INCREF(__pyx_v_state);
++    __Pyx_GIVEREF(__pyx_v_state);
++    PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state);
++    __pyx_t_4 = 0;
++    __pyx_t_1 = 0;
++    __pyx_r = __pyx_t_5;
++    __pyx_t_5 = 0;
++    goto __pyx_L0;
++
++    /* "(tree fragment)":10
++ *     else:
++ *         use_setstate = self.name is not None
++ *     if use_setstate:             # <<<<<<<<<<<<<<
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ */
++  }
++
++  /* "(tree fragment)":13
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, None), state
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++  /*else*/ {
++    __Pyx_XDECREF(__pyx_r);
++    __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_5);
++    __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_1);
++    __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
++    __Pyx_INCREF(__pyx_int_184977713);
++    __Pyx_GIVEREF(__pyx_int_184977713);
++    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_184977713);
++    __Pyx_INCREF(__pyx_v_state);
++    __Pyx_GIVEREF(__pyx_v_state);
++    PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state);
++    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_GIVEREF(__pyx_t_5);
++    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5);
++    __Pyx_GIVEREF(__pyx_t_1);
++    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1);
++    __pyx_t_5 = 0;
++    __pyx_t_1 = 0;
++    __pyx_r = __pyx_t_4;
++    __pyx_t_4 = 0;
++    goto __pyx_L0;
++  }
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     cdef bint use_setstate
++ *     state = (self.name,)
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_4);
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XDECREF(__pyx_v_state);
++  __Pyx_XDECREF(__pyx_v__dict);
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":14
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_MemviewEnum_2__setstate_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":15
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)             # <<<<<<<<<<<<<<
++ */
++  if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 15, __pyx_L1_error)
++  __pyx_t_1 = __pyx_unpickle_Enum__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++
++  /* "(tree fragment)":14
++ *     else:
++ *         return __pyx_unpickle_Enum, (type(self), 0xb068931, state)
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_unpickle_Enum__set_state(self, __pyx_state)
++ */
++
++  /* function exit code */
++  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.Enum.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":297
+  * 
+  * @cname('__pyx_align_pointer')
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:             # <<<<<<<<<<<<<<
+@@ -10367,7 +11635,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   void *__pyx_r;
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":296
++  /* "View.MemoryView":299
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:
+  *     "Align pointer memory on a given boundary"
+  *     cdef Py_intptr_t aligned_p =  memory             # <<<<<<<<<<<<<<
+@@ -10376,7 +11644,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   __pyx_v_aligned_p = ((Py_intptr_t)__pyx_v_memory);
+ 
+-  /* "View.MemoryView":300
++  /* "View.MemoryView":303
+  * 
+  *     with cython.cdivision(True):
+  *         offset = aligned_p % alignment             # <<<<<<<<<<<<<<
+@@ -10385,7 +11653,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   __pyx_v_offset = (__pyx_v_aligned_p % __pyx_v_alignment);
+ 
+-  /* "View.MemoryView":302
++  /* "View.MemoryView":305
+  *         offset = aligned_p % alignment
+  * 
+  *     if offset > 0:             # <<<<<<<<<<<<<<
+@@ -10395,7 +11663,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   __pyx_t_1 = ((__pyx_v_offset > 0) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":303
++    /* "View.MemoryView":306
+  * 
+  *     if offset > 0:
+  *         aligned_p += alignment - offset             # <<<<<<<<<<<<<<
+@@ -10404,7 +11672,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+     __pyx_v_aligned_p = (__pyx_v_aligned_p + (__pyx_v_alignment - __pyx_v_offset));
+ 
+-    /* "View.MemoryView":302
++    /* "View.MemoryView":305
+  *         offset = aligned_p % alignment
+  * 
+  *     if offset > 0:             # <<<<<<<<<<<<<<
+@@ -10413,7 +11681,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+  */
+   }
+ 
+-  /* "View.MemoryView":305
++  /* "View.MemoryView":308
+  *         aligned_p += alignment - offset
+  * 
+  *     return  aligned_p             # <<<<<<<<<<<<<<
+@@ -10423,7 +11691,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   __pyx_r = ((void *)__pyx_v_aligned_p);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":294
++  /* "View.MemoryView":297
+  * 
+  * @cname('__pyx_align_pointer')
+  * cdef void *align_pointer(void *memory, size_t alignment) nogil:             # <<<<<<<<<<<<<<
+@@ -10436,7 +11704,7 @@ static void *__pyx_align_pointer(void *__pyx_v_memory, size_t __pyx_v_alignment)
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":341
++/* "View.MemoryView":344
+  *     cdef __Pyx_TypeInfo *typeinfo
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):             # <<<<<<<<<<<<<<
+@@ -10461,33 +11729,39 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
+       switch (pos_args) {
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
+         case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
+         case  0: break;
+         default: goto __pyx_L5_argtuple_error;
+       }
+       kw_args = PyDict_Size(__pyx_kwds);
+       switch (pos_args) {
+         case  0:
+-        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_obj)) != 0)) kw_args--;
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_obj)) != 0)) kw_args--;
+         else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
+         case  1:
+-        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_flags)) != 0)) kw_args--;
+         else {
+-          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(2, 341, __pyx_L3_error)
++          __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(2, 344, __pyx_L3_error)
+         }
++        CYTHON_FALLTHROUGH;
+         case  2:
+         if (kw_args > 0) {
+-          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_dtype_is_object);
++          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dtype_is_object);
+           if (value) { values[2] = value; kw_args--; }
+         }
+       }
+       if (unlikely(kw_args > 0)) {
+-        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 341, __pyx_L3_error)
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__cinit__") < 0)) __PYX_ERR(2, 344, __pyx_L3_error)
+       }
+     } else {
+       switch (PyTuple_GET_SIZE(__pyx_args)) {
+         case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
+         case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
+         values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
+         break;
+@@ -10495,16 +11769,16 @@ static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_ar
+       }
+     }
+     __pyx_v_obj = values[0];
+-    __pyx_v_flags = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 341, __pyx_L3_error)
++    __pyx_v_flags = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 344, __pyx_L3_error)
+     if (values[2]) {
+-      __pyx_v_dtype_is_object = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_dtype_is_object == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 341, __pyx_L3_error)
++      __pyx_v_dtype_is_object = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_dtype_is_object == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 344, __pyx_L3_error)
+     } else {
+       __pyx_v_dtype_is_object = ((int)0);
+     }
+   }
+   goto __pyx_L4_argument_unpacking_done;
+   __pyx_L5_argtuple_error:;
+-  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 341, __pyx_L3_error)
++  __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 344, __pyx_L3_error)
+   __pyx_L3_error:;
+   __Pyx_AddTraceback("View.MemoryView.memoryview.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __Pyx_RefNannyFinishContext();
+@@ -10526,7 +11800,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   int __pyx_t_4;
+   __Pyx_RefNannySetupContext("__cinit__", 0);
+ 
+-  /* "View.MemoryView":342
++  /* "View.MemoryView":345
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):
+  *         self.obj = obj             # <<<<<<<<<<<<<<
+@@ -10539,7 +11813,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __Pyx_DECREF(__pyx_v_self->obj);
+   __pyx_v_self->obj = __pyx_v_obj;
+ 
+-  /* "View.MemoryView":343
++  /* "View.MemoryView":346
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):
+  *         self.obj = obj
+  *         self.flags = flags             # <<<<<<<<<<<<<<
+@@ -10548,7 +11822,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->flags = __pyx_v_flags;
+ 
+-  /* "View.MemoryView":344
++  /* "View.MemoryView":347
+  *         self.obj = obj
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:             # <<<<<<<<<<<<<<
+@@ -10568,16 +11842,16 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_L4_bool_binop_done:;
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":345
++    /* "View.MemoryView":348
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)             # <<<<<<<<<<<<<<
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None
+  */
+-    __pyx_t_4 = __Pyx_GetBuffer(__pyx_v_obj, (&__pyx_v_self->view), __pyx_v_flags); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 345, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_GetBuffer(__pyx_v_obj, (&__pyx_v_self->view), __pyx_v_flags); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 348, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":346
++    /* "View.MemoryView":349
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:             # <<<<<<<<<<<<<<
+@@ -10587,7 +11861,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     __pyx_t_1 = ((((PyObject *)__pyx_v_self->view.obj) == NULL) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":347
++      /* "View.MemoryView":350
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None             # <<<<<<<<<<<<<<
+@@ -10596,7 +11870,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+       ((Py_buffer *)(&__pyx_v_self->view))->obj = Py_None;
+ 
+-      /* "View.MemoryView":348
++      /* "View.MemoryView":351
+  *             if  self.view.obj == NULL:
+  *                 (<__pyx_buffer *> &self.view).obj = Py_None
+  *                 Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+@@ -10605,7 +11879,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+       Py_INCREF(Py_None);
+ 
+-      /* "View.MemoryView":346
++      /* "View.MemoryView":349
+  *         if type(self) is memoryview or obj is not None:
+  *             __Pyx_GetBuffer(obj, &self.view, flags)
+  *             if  self.view.obj == NULL:             # <<<<<<<<<<<<<<
+@@ -10614,7 +11888,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     }
+ 
+-    /* "View.MemoryView":344
++    /* "View.MemoryView":347
+  *         self.obj = obj
+  *         self.flags = flags
+  *         if type(self) is memoryview or obj is not None:             # <<<<<<<<<<<<<<
+@@ -10623,7 +11897,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":351
++  /* "View.MemoryView":354
+  * 
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:             # <<<<<<<<<<<<<<
+@@ -10633,7 +11907,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_memoryview_thread_locks_used < 8) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":352
++    /* "View.MemoryView":355
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]             # <<<<<<<<<<<<<<
+@@ -10642,7 +11916,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_v_self->lock = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
+ 
+-    /* "View.MemoryView":353
++    /* "View.MemoryView":356
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1             # <<<<<<<<<<<<<<
+@@ -10651,7 +11925,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used + 1);
+ 
+-    /* "View.MemoryView":351
++    /* "View.MemoryView":354
+  * 
+  *         global __pyx_memoryview_thread_locks_used
+  *         if __pyx_memoryview_thread_locks_used < THREAD_LOCKS_PREALLOCATED:             # <<<<<<<<<<<<<<
+@@ -10660,7 +11934,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":354
++  /* "View.MemoryView":357
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -10670,7 +11944,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_v_self->lock == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":355
++    /* "View.MemoryView":358
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()             # <<<<<<<<<<<<<<
+@@ -10679,7 +11953,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     __pyx_v_self->lock = PyThread_allocate_lock();
+ 
+-    /* "View.MemoryView":356
++    /* "View.MemoryView":359
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -10687,18 +11961,18 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  * 
+  */
+     __pyx_t_1 = ((__pyx_v_self->lock == NULL) != 0);
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "View.MemoryView":357
++      /* "View.MemoryView":360
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:
+  *                 raise MemoryError             # <<<<<<<<<<<<<<
+  * 
+  *         if flags & PyBUF_FORMAT:
+  */
+-      PyErr_NoMemory(); __PYX_ERR(2, 357, __pyx_L1_error)
++      PyErr_NoMemory(); __PYX_ERR(2, 360, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":356
++      /* "View.MemoryView":359
+  *         if self.lock is NULL:
+  *             self.lock = PyThread_allocate_lock()
+  *             if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -10707,7 +11981,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+     }
+ 
+-    /* "View.MemoryView":354
++    /* "View.MemoryView":357
+  *             self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]
+  *             __pyx_memoryview_thread_locks_used += 1
+  *         if self.lock is NULL:             # <<<<<<<<<<<<<<
+@@ -10716,7 +11990,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   }
+ 
+-  /* "View.MemoryView":359
++  /* "View.MemoryView":362
+  *                 raise MemoryError
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -10726,7 +12000,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":360
++    /* "View.MemoryView":363
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0')             # <<<<<<<<<<<<<<
+@@ -10744,7 +12018,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     __pyx_L11_bool_binop_done:;
+     __pyx_v_self->dtype_is_object = __pyx_t_1;
+ 
+-    /* "View.MemoryView":359
++    /* "View.MemoryView":362
+  *                 raise MemoryError
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -10754,7 +12028,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+     goto __pyx_L10;
+   }
+ 
+-  /* "View.MemoryView":362
++  /* "View.MemoryView":365
+  *             self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0')
+  *         else:
+  *             self.dtype_is_object = dtype_is_object             # <<<<<<<<<<<<<<
+@@ -10766,7 +12040,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   }
+   __pyx_L10:;
+ 
+-  /* "View.MemoryView":364
++  /* "View.MemoryView":367
+  *             self.dtype_is_object = dtype_is_object
+  * 
+  *         self.acquisition_count_aligned_p = <__pyx_atomic_int *> align_pointer(             # <<<<<<<<<<<<<<
+@@ -10775,7 +12049,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->acquisition_count_aligned_p = ((__pyx_atomic_int *)__pyx_align_pointer(((void *)(&(__pyx_v_self->acquisition_count[0]))), (sizeof(__pyx_atomic_int))));
+ 
+-  /* "View.MemoryView":366
++  /* "View.MemoryView":369
+  *         self.acquisition_count_aligned_p = <__pyx_atomic_int *> align_pointer(
+  *                    &self.acquisition_count[0], sizeof(__pyx_atomic_int))
+  *         self.typeinfo = NULL             # <<<<<<<<<<<<<<
+@@ -10784,7 +12058,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+  */
+   __pyx_v_self->typeinfo = NULL;
+ 
+-  /* "View.MemoryView":341
++  /* "View.MemoryView":344
+  *     cdef __Pyx_TypeInfo *typeinfo
+  * 
+  *     def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False):             # <<<<<<<<<<<<<<
+@@ -10803,7 +12077,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":368
++/* "View.MemoryView":371
+  *         self.typeinfo = NULL
+  * 
+  *     def __dealloc__(memoryview self):             # <<<<<<<<<<<<<<
+@@ -10829,11 +12103,12 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   int __pyx_t_2;
+   int __pyx_t_3;
+   int __pyx_t_4;
+-  PyThread_type_lock __pyx_t_5;
++  int __pyx_t_5;
+   PyThread_type_lock __pyx_t_6;
++  PyThread_type_lock __pyx_t_7;
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":369
++  /* "View.MemoryView":372
+  * 
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:             # <<<<<<<<<<<<<<
+@@ -10844,7 +12119,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":370
++    /* "View.MemoryView":373
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:
+  *             __Pyx_ReleaseBuffer(&self.view)             # <<<<<<<<<<<<<<
+@@ -10853,7 +12128,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+     __Pyx_ReleaseBuffer((&__pyx_v_self->view));
+ 
+-    /* "View.MemoryView":369
++    /* "View.MemoryView":372
+  * 
+  *     def __dealloc__(memoryview self):
+  *         if self.obj is not None:             # <<<<<<<<<<<<<<
+@@ -10862,7 +12137,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+   }
+ 
+-  /* "View.MemoryView":374
++  /* "View.MemoryView":377
+  *         cdef int i
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:             # <<<<<<<<<<<<<<
+@@ -10872,7 +12147,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __pyx_t_2 = ((__pyx_v_self->lock != NULL) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":375
++    /* "View.MemoryView":378
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):             # <<<<<<<<<<<<<<
+@@ -10880,10 +12155,11 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  */
+     __pyx_t_3 = __pyx_memoryview_thread_locks_used;
+-    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
+-      __pyx_v_i = __pyx_t_4;
++    __pyx_t_4 = __pyx_t_3;
++    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
++      __pyx_v_i = __pyx_t_5;
+ 
+-      /* "View.MemoryView":376
++      /* "View.MemoryView":379
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:             # <<<<<<<<<<<<<<
+@@ -10893,7 +12169,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+       __pyx_t_2 = (((__pyx_memoryview_thread_locks[__pyx_v_i]) == __pyx_v_self->lock) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":377
++        /* "View.MemoryView":380
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1             # <<<<<<<<<<<<<<
+@@ -10902,7 +12178,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used - 1);
+ 
+-        /* "View.MemoryView":378
++        /* "View.MemoryView":381
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:             # <<<<<<<<<<<<<<
+@@ -10912,27 +12188,27 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+         __pyx_t_2 = ((__pyx_v_i != __pyx_memoryview_thread_locks_used) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":380
++          /* "View.MemoryView":383
+  *                     if i != __pyx_memoryview_thread_locks_used:
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])             # <<<<<<<<<<<<<<
+  *                     break
+  *             else:
+  */
+-          __pyx_t_5 = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
+-          __pyx_t_6 = (__pyx_memoryview_thread_locks[__pyx_v_i]);
++          __pyx_t_6 = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]);
++          __pyx_t_7 = (__pyx_memoryview_thread_locks[__pyx_v_i]);
+ 
+-          /* "View.MemoryView":379
++          /* "View.MemoryView":382
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (             # <<<<<<<<<<<<<<
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])
+  *                     break
+  */
+-          (__pyx_memoryview_thread_locks[__pyx_v_i]) = __pyx_t_5;
+-          (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]) = __pyx_t_6;
++          (__pyx_memoryview_thread_locks[__pyx_v_i]) = __pyx_t_6;
++          (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]) = __pyx_t_7;
+ 
+-          /* "View.MemoryView":378
++          /* "View.MemoryView":381
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:
+  *                     __pyx_memoryview_thread_locks_used -= 1
+  *                     if i != __pyx_memoryview_thread_locks_used:             # <<<<<<<<<<<<<<
+@@ -10941,7 +12217,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         }
+ 
+-        /* "View.MemoryView":381
++        /* "View.MemoryView":384
+  *                         __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = (
+  *                             __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i])
+  *                     break             # <<<<<<<<<<<<<<
+@@ -10950,7 +12226,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+         goto __pyx_L6_break;
+ 
+-        /* "View.MemoryView":376
++        /* "View.MemoryView":379
+  *         if self.lock != NULL:
+  *             for i in range(__pyx_memoryview_thread_locks_used):
+  *                 if __pyx_memoryview_thread_locks[i] is self.lock:             # <<<<<<<<<<<<<<
+@@ -10961,7 +12237,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+     }
+     /*else*/ {
+ 
+-      /* "View.MemoryView":383
++      /* "View.MemoryView":386
+  *                     break
+  *             else:
+  *                 PyThread_free_lock(self.lock)             # <<<<<<<<<<<<<<
+@@ -10972,7 +12248,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+     }
+     __pyx_L6_break:;
+ 
+-    /* "View.MemoryView":374
++    /* "View.MemoryView":377
+  *         cdef int i
+  *         global __pyx_memoryview_thread_locks_used
+  *         if self.lock != NULL:             # <<<<<<<<<<<<<<
+@@ -10981,7 +12257,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+  */
+   }
+ 
+-  /* "View.MemoryView":368
++  /* "View.MemoryView":371
+  *         self.typeinfo = NULL
+  * 
+  *     def __dealloc__(memoryview self):             # <<<<<<<<<<<<<<
+@@ -10993,7 +12269,7 @@ static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__deal
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":385
++/* "View.MemoryView":388
+  *                 PyThread_free_lock(self.lock)
+  * 
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:             # <<<<<<<<<<<<<<
+@@ -11016,7 +12292,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   char *__pyx_t_7;
+   __Pyx_RefNannySetupContext("get_item_pointer", 0);
+ 
+-  /* "View.MemoryView":387
++  /* "View.MemoryView":390
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:
+  *         cdef Py_ssize_t dim
+  *         cdef char *itemp =  self.view.buf             # <<<<<<<<<<<<<<
+@@ -11025,7 +12301,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+  */
+   __pyx_v_itemp = ((char *)__pyx_v_self->view.buf);
+ 
+-  /* "View.MemoryView":389
++  /* "View.MemoryView":392
+  *         cdef char *itemp =  self.view.buf
+  * 
+  *         for dim, idx in enumerate(index):             # <<<<<<<<<<<<<<
+@@ -11037,26 +12313,26 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+     __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
+     __pyx_t_4 = NULL;
+   } else {
+-    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 389, __pyx_L1_error)
++    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 392, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 389, __pyx_L1_error)
++    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 392, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_4)) {
+       if (likely(PyList_CheckExact(__pyx_t_2))) {
+         if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 389, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 392, __pyx_L1_error)
+         #else
+-        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 389, __pyx_L1_error)
++        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 392, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_5);
+         #endif
+       } else {
+         if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 389, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) __PYX_ERR(2, 392, __pyx_L1_error)
+         #else
+-        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 389, __pyx_L1_error)
++        __pyx_t_5 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 392, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_5);
+         #endif
+       }
+@@ -11065,8 +12341,8 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+       if (unlikely(!__pyx_t_5)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 389, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 392, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -11077,18 +12353,18 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+     __pyx_v_dim = __pyx_t_1;
+     __pyx_t_1 = (__pyx_t_1 + 1);
+ 
+-    /* "View.MemoryView":390
++    /* "View.MemoryView":393
+  * 
+  *         for dim, idx in enumerate(index):
+  *             itemp = pybuffer_index(&self.view, itemp, idx, dim)             # <<<<<<<<<<<<<<
+  * 
+  *         return itemp
+  */
+-    __pyx_t_6 = __Pyx_PyIndex_AsSsize_t(__pyx_v_idx); if (unlikely((__pyx_t_6 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 390, __pyx_L1_error)
+-    __pyx_t_7 = __pyx_pybuffer_index((&__pyx_v_self->view), __pyx_v_itemp, __pyx_t_6, __pyx_v_dim); if (unlikely(__pyx_t_7 == NULL)) __PYX_ERR(2, 390, __pyx_L1_error)
++    __pyx_t_6 = __Pyx_PyIndex_AsSsize_t(__pyx_v_idx); if (unlikely((__pyx_t_6 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 393, __pyx_L1_error)
++    __pyx_t_7 = __pyx_pybuffer_index((&__pyx_v_self->view), __pyx_v_itemp, __pyx_t_6, __pyx_v_dim); if (unlikely(__pyx_t_7 == ((char *)NULL))) __PYX_ERR(2, 393, __pyx_L1_error)
+     __pyx_v_itemp = __pyx_t_7;
+ 
+-    /* "View.MemoryView":389
++    /* "View.MemoryView":392
+  *         cdef char *itemp =  self.view.buf
+  * 
+  *         for dim, idx in enumerate(index):             # <<<<<<<<<<<<<<
+@@ -11098,7 +12374,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   }
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":392
++  /* "View.MemoryView":395
+  *             itemp = pybuffer_index(&self.view, itemp, idx, dim)
+  * 
+  *         return itemp             # <<<<<<<<<<<<<<
+@@ -11108,7 +12384,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   __pyx_r = __pyx_v_itemp;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":385
++  /* "View.MemoryView":388
+  *                 PyThread_free_lock(self.lock)
+  * 
+  *     cdef char *get_item_pointer(memoryview self, object index) except NULL:             # <<<<<<<<<<<<<<
+@@ -11128,7 +12404,7 @@ static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__py
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":395
++/* "View.MemoryView":398
+  * 
+  * 
+  *     def __getitem__(memoryview self, object index):             # <<<<<<<<<<<<<<
+@@ -11163,7 +12439,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   char *__pyx_t_6;
+   __Pyx_RefNannySetupContext("__getitem__", 0);
+ 
+-  /* "View.MemoryView":396
++  /* "View.MemoryView":399
+  * 
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -11174,7 +12450,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":397
++    /* "View.MemoryView":400
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:
+  *             return self             # <<<<<<<<<<<<<<
+@@ -11186,7 +12462,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+     __pyx_r = ((PyObject *)__pyx_v_self);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":396
++    /* "View.MemoryView":399
+  * 
+  *     def __getitem__(memoryview self, object index):
+  *         if index is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -11195,58 +12471,54 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  */
+   }
+ 
+-  /* "View.MemoryView":399
++  /* "View.MemoryView":402
+  *             return self
+  * 
+  *         have_slices, indices = _unellipsify(index, self.view.ndim)             # <<<<<<<<<<<<<<
+  * 
+  *         cdef char *itemp
+  */
+-  __pyx_t_3 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 399, __pyx_L1_error)
++  __pyx_t_3 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 402, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   if (likely(__pyx_t_3 != Py_None)) {
+     PyObject* sequence = __pyx_t_3;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-      __PYX_ERR(2, 399, __pyx_L1_error)
++      __PYX_ERR(2, 402, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); 
+     __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); 
+     __Pyx_INCREF(__pyx_t_4);
+     __Pyx_INCREF(__pyx_t_5);
+     #else
+-    __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 399, __pyx_L1_error)
++    __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 402, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 399, __pyx_L1_error)
++    __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 402, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     #endif
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   } else {
+-    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 399, __pyx_L1_error)
++    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 402, __pyx_L1_error)
+   }
+   __pyx_v_have_slices = __pyx_t_4;
+   __pyx_t_4 = 0;
+   __pyx_v_indices = __pyx_t_5;
+   __pyx_t_5 = 0;
+ 
+-  /* "View.MemoryView":402
++  /* "View.MemoryView":405
+  * 
+  *         cdef char *itemp
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             return memview_slice(self, indices)
+  *         else:
+  */
+-  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 402, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(2, 405, __pyx_L1_error)
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":403
++    /* "View.MemoryView":406
+  *         cdef char *itemp
+  *         if have_slices:
+  *             return memview_slice(self, indices)             # <<<<<<<<<<<<<<
+@@ -11254,13 +12526,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  *             itemp = self.get_item_pointer(indices)
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_3 = ((PyObject *)__pyx_memview_slice(__pyx_v_self, __pyx_v_indices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 403, __pyx_L1_error)
++    __pyx_t_3 = ((PyObject *)__pyx_memview_slice(__pyx_v_self, __pyx_v_indices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 406, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":402
++    /* "View.MemoryView":405
+  * 
+  *         cdef char *itemp
+  *         if have_slices:             # <<<<<<<<<<<<<<
+@@ -11269,7 +12541,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  */
+   }
+ 
+-  /* "View.MemoryView":405
++  /* "View.MemoryView":408
+  *             return memview_slice(self, indices)
+  *         else:
+  *             itemp = self.get_item_pointer(indices)             # <<<<<<<<<<<<<<
+@@ -11277,10 +12549,10 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  * 
+  */
+   /*else*/ {
+-    __pyx_t_6 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_indices); if (unlikely(__pyx_t_6 == NULL)) __PYX_ERR(2, 405, __pyx_L1_error)
++    __pyx_t_6 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_indices); if (unlikely(__pyx_t_6 == ((char *)NULL))) __PYX_ERR(2, 408, __pyx_L1_error)
+     __pyx_v_itemp = __pyx_t_6;
+ 
+-    /* "View.MemoryView":406
++    /* "View.MemoryView":409
+  *         else:
+  *             itemp = self.get_item_pointer(indices)
+  *             return self.convert_item_to_object(itemp)             # <<<<<<<<<<<<<<
+@@ -11288,14 +12560,14 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+  *     def __setitem__(memoryview self, object index, object value):
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->convert_item_to_object(__pyx_v_self, __pyx_v_itemp); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 406, __pyx_L1_error)
++    __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->convert_item_to_object(__pyx_v_self, __pyx_v_itemp); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 409, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":395
++  /* "View.MemoryView":398
+  * 
+  * 
+  *     def __getitem__(memoryview self, object index):             # <<<<<<<<<<<<<<
+@@ -11318,12 +12590,12 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":408
++/* "View.MemoryView":411
+  *             return self.convert_item_to_object(itemp)
+  * 
+  *     def __setitem__(memoryview self, object index, object value):             # <<<<<<<<<<<<<<
+- *         have_slices, index = _unellipsify(index, self.view.ndim)
+- * 
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")
+  */
+ 
+ /* Python wrapper */
+@@ -11344,111 +12616,139 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+   PyObject *__pyx_v_obj = NULL;
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+-  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_1;
+   PyObject *__pyx_t_2 = NULL;
+   PyObject *__pyx_t_3 = NULL;
+-  int __pyx_t_4;
++  PyObject *__pyx_t_4 = NULL;
+   __Pyx_RefNannySetupContext("__setitem__", 0);
+   __Pyx_INCREF(__pyx_v_index);
+ 
+-  /* "View.MemoryView":409
++  /* "View.MemoryView":412
+  * 
+  *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
++ */
++  __pyx_t_1 = (__pyx_v_self->view.readonly != 0);
++  if (unlikely(__pyx_t_1)) {
++
++    /* "View.MemoryView":413
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         have_slices, index = _unellipsify(index, self.view.ndim)
++ */
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__29, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 413, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_Raise(__pyx_t_2, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __PYX_ERR(2, 413, __pyx_L1_error)
++
++    /* "View.MemoryView":412
++ * 
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
++ */
++  }
++
++  /* "View.MemoryView":415
++ *             raise TypeError("Cannot assign to read-only memoryview")
++ * 
+  *         have_slices, index = _unellipsify(index, self.view.ndim)             # <<<<<<<<<<<<<<
+  * 
+  *         if have_slices:
+  */
+-  __pyx_t_1 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 409, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_1);
+-  if (likely(__pyx_t_1 != Py_None)) {
+-    PyObject* sequence = __pyx_t_1;
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    Py_ssize_t size = Py_SIZE(sequence);
+-    #else
+-    Py_ssize_t size = PySequence_Size(sequence);
+-    #endif
++  __pyx_t_2 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 415, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  if (likely(__pyx_t_2 != Py_None)) {
++    PyObject* sequence = __pyx_t_2;
++    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
+     if (unlikely(size != 2)) {
+       if (size > 2) __Pyx_RaiseTooManyValuesError(2);
+       else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
+-      __PYX_ERR(2, 409, __pyx_L1_error)
++      __PYX_ERR(2, 415, __pyx_L1_error)
+     }
+-    #if CYTHON_COMPILING_IN_CPYTHON
+-    __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); 
+-    __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); 
+-    __Pyx_INCREF(__pyx_t_2);
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
++    __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); 
+     __Pyx_INCREF(__pyx_t_3);
++    __Pyx_INCREF(__pyx_t_4);
+     #else
+-    __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 409, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 409, __pyx_L1_error)
++    __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 415, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
++    __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 415, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
+     #endif
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   } else {
+-    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 409, __pyx_L1_error)
++    __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(2, 415, __pyx_L1_error)
+   }
+-  __pyx_v_have_slices = __pyx_t_2;
+-  __pyx_t_2 = 0;
+-  __Pyx_DECREF_SET(__pyx_v_index, __pyx_t_3);
++  __pyx_v_have_slices = __pyx_t_3;
+   __pyx_t_3 = 0;
++  __Pyx_DECREF_SET(__pyx_v_index, __pyx_t_4);
++  __pyx_t_4 = 0;
+ 
+-  /* "View.MemoryView":411
++  /* "View.MemoryView":417
+  *         have_slices, index = _unellipsify(index, self.view.ndim)
+  * 
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             obj = self.is_slice(value)
+  *             if obj:
+  */
+-  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 411, __pyx_L1_error)
+-  if (__pyx_t_4) {
++  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 417, __pyx_L1_error)
++  if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":412
++    /* "View.MemoryView":418
+  * 
+  *         if have_slices:
+  *             obj = self.is_slice(value)             # <<<<<<<<<<<<<<
+  *             if obj:
+  *                 self.setitem_slice_assignment(self[index], obj)
+  */
+-    __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->is_slice(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 412, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_v_obj = __pyx_t_1;
+-    __pyx_t_1 = 0;
++    __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->is_slice(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 418, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __pyx_v_obj = __pyx_t_2;
++    __pyx_t_2 = 0;
+ 
+-    /* "View.MemoryView":413
++    /* "View.MemoryView":419
+  *         if have_slices:
+  *             obj = self.is_slice(value)
+  *             if obj:             # <<<<<<<<<<<<<<
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  */
+-    __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(2, 413, __pyx_L1_error)
+-    if (__pyx_t_4) {
++    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 419, __pyx_L1_error)
++    if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":414
++      /* "View.MemoryView":420
+  *             obj = self.is_slice(value)
+  *             if obj:
+  *                 self.setitem_slice_assignment(self[index], obj)             # <<<<<<<<<<<<<<
+  *             else:
+  *                 self.setitem_slice_assign_scalar(self[index], value)
+  */
+-      __pyx_t_1 = PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 414, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assignment(__pyx_v_self, __pyx_t_1, __pyx_v_obj); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 414, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __pyx_t_2 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 420, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_2);
++      __pyx_t_4 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assignment(__pyx_v_self, __pyx_t_2, __pyx_v_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 420, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ 
+-      /* "View.MemoryView":413
++      /* "View.MemoryView":419
+  *         if have_slices:
+  *             obj = self.is_slice(value)
+  *             if obj:             # <<<<<<<<<<<<<<
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  */
+-      goto __pyx_L4;
++      goto __pyx_L5;
+     }
+ 
+-    /* "View.MemoryView":416
++    /* "View.MemoryView":422
+  *                 self.setitem_slice_assignment(self[index], obj)
+  *             else:
+  *                 self.setitem_slice_assign_scalar(self[index], value)             # <<<<<<<<<<<<<<
+@@ -11456,27 +12756,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+  *             self.setitem_indexed(index, value)
+  */
+     /*else*/ {
+-      __pyx_t_3 = PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_3);
+-      if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assign_scalar(__pyx_v_self, ((struct __pyx_memoryview_obj *)__pyx_t_3), __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 416, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++      __pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 422, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_memoryview_type))))) __PYX_ERR(2, 422, __pyx_L1_error)
++      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assign_scalar(__pyx_v_self, ((struct __pyx_memoryview_obj *)__pyx_t_4), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 422, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_2);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     }
+-    __pyx_L4:;
++    __pyx_L5:;
+ 
+-    /* "View.MemoryView":411
++    /* "View.MemoryView":417
+  *         have_slices, index = _unellipsify(index, self.view.ndim)
+  * 
+  *         if have_slices:             # <<<<<<<<<<<<<<
+  *             obj = self.is_slice(value)
+  *             if obj:
+  */
+-    goto __pyx_L3;
++    goto __pyx_L4;
+   }
+ 
+-  /* "View.MemoryView":418
++  /* "View.MemoryView":424
+  *                 self.setitem_slice_assign_scalar(self[index], value)
+  *         else:
+  *             self.setitem_indexed(index, value)             # <<<<<<<<<<<<<<
+@@ -11484,27 +12784,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+  *     cdef is_slice(self, obj):
+  */
+   /*else*/ {
+-    __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_indexed(__pyx_v_self, __pyx_v_index, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 418, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_indexed(__pyx_v_self, __pyx_v_index, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 424, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   }
+-  __pyx_L3:;
++  __pyx_L4:;
+ 
+-  /* "View.MemoryView":408
++  /* "View.MemoryView":411
+  *             return self.convert_item_to_object(itemp)
+  * 
+  *     def __setitem__(memoryview self, object index, object value):             # <<<<<<<<<<<<<<
+- *         have_slices, index = _unellipsify(index, self.view.ndim)
+- * 
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")
+  */
+ 
+   /* function exit code */
+   __pyx_r = 0;
+   goto __pyx_L0;
+   __pyx_L1_error:;
+-  __Pyx_XDECREF(__pyx_t_1);
+   __Pyx_XDECREF(__pyx_t_2);
+   __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_XDECREF(__pyx_t_4);
+   __Pyx_AddTraceback("View.MemoryView.memoryview.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = -1;
+   __pyx_L0:;
+@@ -11515,7 +12815,7 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setit
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":420
++/* "View.MemoryView":426
+  *             self.setitem_indexed(index, value)
+  * 
+  *     cdef is_slice(self, obj):             # <<<<<<<<<<<<<<
+@@ -11538,7 +12838,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __Pyx_RefNannySetupContext("is_slice", 0);
+   __Pyx_INCREF(__pyx_v_obj);
+ 
+-  /* "View.MemoryView":421
++  /* "View.MemoryView":427
+  * 
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):             # <<<<<<<<<<<<<<
+@@ -11549,7 +12849,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":422
++    /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+@@ -11565,34 +12865,34 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __Pyx_XGOTREF(__pyx_t_5);
+       /*try:*/ {
+ 
+-        /* "View.MemoryView":423
++        /* "View.MemoryView":429
+  *         if not isinstance(obj, memoryview):
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,             # <<<<<<<<<<<<<<
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  */
+-        __pyx_t_6 = __Pyx_PyInt_From_int((__pyx_v_self->flags | PyBUF_ANY_CONTIGUOUS)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_6 = __Pyx_PyInt_From_int((__pyx_v_self->flags | PyBUF_ANY_CONTIGUOUS)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_6);
+ 
+-        /* "View.MemoryView":424
++        /* "View.MemoryView":430
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)             # <<<<<<<<<<<<<<
+  *             except TypeError:
+  *                 return None
+  */
+-        __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 424, __pyx_L4_error)
++        __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 430, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_7);
+ 
+-        /* "View.MemoryView":423
++        /* "View.MemoryView":429
+  *         if not isinstance(obj, memoryview):
+  *             try:
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,             # <<<<<<<<<<<<<<
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  */
+-        __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_8);
+         __Pyx_INCREF(__pyx_v_obj);
+         __Pyx_GIVEREF(__pyx_v_obj);
+@@ -11603,13 +12903,13 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+         PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_7);
+         __pyx_t_6 = 0;
+         __pyx_t_7 = 0;
+-        __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 423, __pyx_L4_error)
++        __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 429, __pyx_L4_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+         __Pyx_DECREF_SET(__pyx_v_obj, __pyx_t_7);
+         __pyx_t_7 = 0;
+ 
+-        /* "View.MemoryView":422
++        /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+@@ -11620,14 +12920,13 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+       __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
+       __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      goto __pyx_L11_try_end;
++      goto __pyx_L9_try_end;
+       __pyx_L4_error:;
+-      __Pyx_PyThreadState_assign
+       __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+       __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
+       __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+ 
+-      /* "View.MemoryView":425
++      /* "View.MemoryView":431
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)
+  *             except TypeError:             # <<<<<<<<<<<<<<
+@@ -11637,12 +12936,12 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError);
+       if (__pyx_t_9) {
+         __Pyx_AddTraceback("View.MemoryView.memoryview.is_slice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-        if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_6) < 0) __PYX_ERR(2, 425, __pyx_L6_except_error)
++        if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_6) < 0) __PYX_ERR(2, 431, __pyx_L6_except_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         __Pyx_GOTREF(__pyx_t_8);
+         __Pyx_GOTREF(__pyx_t_6);
+ 
+-        /* "View.MemoryView":426
++        /* "View.MemoryView":432
+  *                                  self.dtype_is_object)
+  *             except TypeError:
+  *                 return None             # <<<<<<<<<<<<<<
+@@ -11650,8 +12949,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+  *         return obj
+  */
+         __Pyx_XDECREF(__pyx_r);
+-        __Pyx_INCREF(Py_None);
+-        __pyx_r = Py_None;
++        __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+         __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+         __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+@@ -11660,30 +12958,28 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+       goto __pyx_L6_except_error;
+       __pyx_L6_except_error:;
+ 
+-      /* "View.MemoryView":422
++      /* "View.MemoryView":428
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):
+  *             try:             # <<<<<<<<<<<<<<
+  *                 obj = memoryview(obj, self.flags|PyBUF_ANY_CONTIGUOUS,
+  *                                  self.dtype_is_object)
+  */
+-      __Pyx_PyThreadState_assign
+       __Pyx_XGIVEREF(__pyx_t_3);
+       __Pyx_XGIVEREF(__pyx_t_4);
+       __Pyx_XGIVEREF(__pyx_t_5);
+       __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+       goto __pyx_L1_error;
+       __pyx_L7_except_return:;
+-      __Pyx_PyThreadState_assign
+       __Pyx_XGIVEREF(__pyx_t_3);
+       __Pyx_XGIVEREF(__pyx_t_4);
+       __Pyx_XGIVEREF(__pyx_t_5);
+       __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5);
+       goto __pyx_L0;
+-      __pyx_L11_try_end:;
++      __pyx_L9_try_end:;
+     }
+ 
+-    /* "View.MemoryView":421
++    /* "View.MemoryView":427
+  * 
+  *     cdef is_slice(self, obj):
+  *         if not isinstance(obj, memoryview):             # <<<<<<<<<<<<<<
+@@ -11692,7 +12988,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+  */
+   }
+ 
+-  /* "View.MemoryView":428
++  /* "View.MemoryView":434
+  *                 return None
+  * 
+  *         return obj             # <<<<<<<<<<<<<<
+@@ -11704,7 +13000,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   __pyx_r = __pyx_v_obj;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":420
++  /* "View.MemoryView":426
+  *             self.setitem_indexed(index, value)
+  * 
+  *     cdef is_slice(self, obj):             # <<<<<<<<<<<<<<
+@@ -11726,7 +13022,7 @@ static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":430
++/* "View.MemoryView":436
+  *         return obj
+  * 
+  *     cdef setitem_slice_assignment(self, dst, src):             # <<<<<<<<<<<<<<
+@@ -11745,50 +13041,50 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
+   int __pyx_t_4;
+   __Pyx_RefNannySetupContext("setitem_slice_assignment", 0);
+ 
+-  /* "View.MemoryView":434
++  /* "View.MemoryView":440
+  *         cdef __Pyx_memviewslice src_slice
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  */
+-  if (!(likely(((__pyx_v_src) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_src, __pyx_memoryview_type))))) __PYX_ERR(2, 434, __pyx_L1_error)
++  if (!(likely(((__pyx_v_src) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_src, __pyx_memoryview_type))))) __PYX_ERR(2, 440, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":435
++  /* "View.MemoryView":441
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  */
+-  if (!(likely(((__pyx_v_dst) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_dst, __pyx_memoryview_type))))) __PYX_ERR(2, 435, __pyx_L1_error)
++  if (!(likely(((__pyx_v_dst) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_dst, __pyx_memoryview_type))))) __PYX_ERR(2, 441, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":436
++  /* "View.MemoryView":442
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):
+  */
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_src, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_src, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dst, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dst, __pyx_n_s_ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 436, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 442, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":434
++  /* "View.MemoryView":440
+  *         cdef __Pyx_memviewslice src_slice
+  * 
+  *         memoryview_copy_contents(get_slice_from_memview(src, &src_slice)[0],             # <<<<<<<<<<<<<<
+  *                                  get_slice_from_memview(dst, &dst_slice)[0],
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  */
+-  __pyx_t_4 = __pyx_memoryview_copy_contents((__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_src), (&__pyx_v_src_slice))[0]), (__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_dst), (&__pyx_v_dst_slice))[0]), __pyx_t_2, __pyx_t_3, __pyx_v_self->dtype_is_object); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 434, __pyx_L1_error)
++  __pyx_t_4 = __pyx_memoryview_copy_contents((__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_src), (&__pyx_v_src_slice))[0]), (__pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_dst), (&__pyx_v_dst_slice))[0]), __pyx_t_2, __pyx_t_3, __pyx_v_self->dtype_is_object); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 440, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":430
++  /* "View.MemoryView":436
+  *         return obj
+  * 
+  *     cdef setitem_slice_assignment(self, dst, src):             # <<<<<<<<<<<<<<
+@@ -11809,7 +13105,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryvi
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":438
++/* "View.MemoryView":444
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):             # <<<<<<<<<<<<<<
+@@ -11838,7 +13134,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   PyObject *__pyx_t_11 = NULL;
+   __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 0);
+ 
+-  /* "View.MemoryView":440
++  /* "View.MemoryView":446
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):
+  *         cdef int array[128]
+  *         cdef void *tmp = NULL             # <<<<<<<<<<<<<<
+@@ -11847,7 +13143,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   __pyx_v_tmp = NULL;
+ 
+-  /* "View.MemoryView":445
++  /* "View.MemoryView":451
+  *         cdef __Pyx_memviewslice *dst_slice
+  *         cdef __Pyx_memviewslice tmp_slice
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)             # <<<<<<<<<<<<<<
+@@ -11856,7 +13152,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   __pyx_v_dst_slice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_dst, (&__pyx_v_tmp_slice));
+ 
+-  /* "View.MemoryView":447
++  /* "View.MemoryView":453
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)
+  * 
+  *         if self.view.itemsize > sizeof(array):             # <<<<<<<<<<<<<<
+@@ -11866,7 +13162,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   __pyx_t_1 = ((((size_t)__pyx_v_self->view.itemsize) > (sizeof(__pyx_v_array))) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":448
++    /* "View.MemoryView":454
+  * 
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)             # <<<<<<<<<<<<<<
+@@ -11875,7 +13171,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     __pyx_v_tmp = PyMem_Malloc(__pyx_v_self->view.itemsize);
+ 
+-    /* "View.MemoryView":449
++    /* "View.MemoryView":455
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:             # <<<<<<<<<<<<<<
+@@ -11883,18 +13179,18 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  *             item = tmp
+  */
+     __pyx_t_1 = ((__pyx_v_tmp == NULL) != 0);
+-    if (__pyx_t_1) {
++    if (unlikely(__pyx_t_1)) {
+ 
+-      /* "View.MemoryView":450
++      /* "View.MemoryView":456
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:
+  *                 raise MemoryError             # <<<<<<<<<<<<<<
+  *             item = tmp
+  *         else:
+  */
+-      PyErr_NoMemory(); __PYX_ERR(2, 450, __pyx_L1_error)
++      PyErr_NoMemory(); __PYX_ERR(2, 456, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":449
++      /* "View.MemoryView":455
+  *         if self.view.itemsize > sizeof(array):
+  *             tmp = PyMem_Malloc(self.view.itemsize)
+  *             if tmp == NULL:             # <<<<<<<<<<<<<<
+@@ -11903,7 +13199,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     }
+ 
+-    /* "View.MemoryView":451
++    /* "View.MemoryView":457
+  *             if tmp == NULL:
+  *                 raise MemoryError
+  *             item = tmp             # <<<<<<<<<<<<<<
+@@ -11912,7 +13208,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     __pyx_v_item = __pyx_v_tmp;
+ 
+-    /* "View.MemoryView":447
++    /* "View.MemoryView":453
+  *         dst_slice = get_slice_from_memview(dst, &tmp_slice)
+  * 
+  *         if self.view.itemsize > sizeof(array):             # <<<<<<<<<<<<<<
+@@ -11922,7 +13218,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":453
++  /* "View.MemoryView":459
+  *             item = tmp
+  *         else:
+  *             item =  array             # <<<<<<<<<<<<<<
+@@ -11934,7 +13230,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":455
++  /* "View.MemoryView":461
+  *             item =  array
+  * 
+  *         try:             # <<<<<<<<<<<<<<
+@@ -11943,7 +13239,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+   /*try:*/ {
+ 
+-    /* "View.MemoryView":456
++    /* "View.MemoryView":462
+  * 
+  *         try:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -11953,7 +13249,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_t_1 = (__pyx_v_self->dtype_is_object != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":457
++      /* "View.MemoryView":463
+  *         try:
+  *             if self.dtype_is_object:
+  *                 ( item)[0] =  value             # <<<<<<<<<<<<<<
+@@ -11962,7 +13258,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+       (((PyObject **)__pyx_v_item)[0]) = ((PyObject *)__pyx_v_value);
+ 
+-      /* "View.MemoryView":456
++      /* "View.MemoryView":462
+  * 
+  *         try:
+  *             if self.dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -11972,7 +13268,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       goto __pyx_L8;
+     }
+ 
+-    /* "View.MemoryView":459
++    /* "View.MemoryView":465
+  *                 ( item)[0] =  value
+  *             else:
+  *                 self.assign_item_from_object( item, value)             # <<<<<<<<<<<<<<
+@@ -11980,13 +13276,13 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  * 
+  */
+     /*else*/ {
+-      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, ((char *)__pyx_v_item), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 459, __pyx_L6_error)
++      __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, ((char *)__pyx_v_item), __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 465, __pyx_L6_error)
+       __Pyx_GOTREF(__pyx_t_2);
+       __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     }
+     __pyx_L8:;
+ 
+-    /* "View.MemoryView":463
++    /* "View.MemoryView":469
+  * 
+  * 
+  *             if self.view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -11996,18 +13292,18 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_t_1 = ((__pyx_v_self->view.suboffsets != NULL) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":464
++      /* "View.MemoryView":470
+  * 
+  *             if self.view.suboffsets != NULL:
+  *                 assert_direct_dimensions(self.view.suboffsets, self.view.ndim)             # <<<<<<<<<<<<<<
+  *             slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize,
+  *                                 item, self.dtype_is_object)
+  */
+-      __pyx_t_2 = assert_direct_dimensions(__pyx_v_self->view.suboffsets, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 464, __pyx_L6_error)
++      __pyx_t_2 = assert_direct_dimensions(__pyx_v_self->view.suboffsets, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 470, __pyx_L6_error)
+       __Pyx_GOTREF(__pyx_t_2);
+       __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-      /* "View.MemoryView":463
++      /* "View.MemoryView":469
+  * 
+  * 
+  *             if self.view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -12016,7 +13312,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+  */
+     }
+ 
+-    /* "View.MemoryView":465
++    /* "View.MemoryView":471
+  *             if self.view.suboffsets != NULL:
+  *                 assert_direct_dimensions(self.view.suboffsets, self.view.ndim)
+  *             slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize,             # <<<<<<<<<<<<<<
+@@ -12026,7 +13322,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_memoryview_slice_assign_scalar(__pyx_v_dst_slice, __pyx_v_dst->view.ndim, __pyx_v_self->view.itemsize, __pyx_v_item, __pyx_v_self->dtype_is_object);
+   }
+ 
+-  /* "View.MemoryView":468
++  /* "View.MemoryView":474
+  *                                 item, self.dtype_is_object)
+  *         finally:
+  *             PyMem_Free(tmp)             # <<<<<<<<<<<<<<
+@@ -12038,11 +13334,11 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       PyMem_Free(__pyx_v_tmp);
+       goto __pyx_L7;
+     }
++    __pyx_L6_error:;
+     /*exception exit:*/{
+       __Pyx_PyThreadState_declare
+-      __pyx_L6_error:;
+-      __pyx_t_6 = 0; __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0;
+       __Pyx_PyThreadState_assign
++      __pyx_t_6 = 0; __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0;
+       __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
+       if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_9, &__pyx_t_10, &__pyx_t_11);
+       if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8) < 0)) __Pyx_ErrFetch(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
+@@ -12056,7 +13352,6 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+       {
+         PyMem_Free(__pyx_v_tmp);
+       }
+-      __Pyx_PyThreadState_assign
+       if (PY_MAJOR_VERSION >= 3) {
+         __Pyx_XGIVEREF(__pyx_t_9);
+         __Pyx_XGIVEREF(__pyx_t_10);
+@@ -12074,7 +13369,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+     __pyx_L7:;
+   }
+ 
+-  /* "View.MemoryView":438
++  /* "View.MemoryView":444
+  *                                  src.ndim, dst.ndim, self.dtype_is_object)
+  * 
+  *     cdef setitem_slice_assign_scalar(self, memoryview dst, value):             # <<<<<<<<<<<<<<
+@@ -12095,7 +13390,7 @@ static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memor
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":470
++/* "View.MemoryView":476
+  *             PyMem_Free(tmp)
+  * 
+  *     cdef setitem_indexed(self, index, value):             # <<<<<<<<<<<<<<
+@@ -12111,28 +13406,28 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("setitem_indexed", 0);
+ 
+-  /* "View.MemoryView":471
++  /* "View.MemoryView":477
+  * 
+  *     cdef setitem_indexed(self, index, value):
+  *         cdef char *itemp = self.get_item_pointer(index)             # <<<<<<<<<<<<<<
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  */
+-  __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_index); if (unlikely(__pyx_t_1 == NULL)) __PYX_ERR(2, 471, __pyx_L1_error)
++  __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_index); if (unlikely(__pyx_t_1 == ((char *)NULL))) __PYX_ERR(2, 477, __pyx_L1_error)
+   __pyx_v_itemp = __pyx_t_1;
+ 
+-  /* "View.MemoryView":472
++  /* "View.MemoryView":478
+  *     cdef setitem_indexed(self, index, value):
+  *         cdef char *itemp = self.get_item_pointer(index)
+  *         self.assign_item_from_object(itemp, value)             # <<<<<<<<<<<<<<
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  */
+-  __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 472, __pyx_L1_error)
++  __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 478, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":470
++  /* "View.MemoryView":476
+  *             PyMem_Free(tmp)
+  * 
+  *     cdef setitem_indexed(self, index, value):             # <<<<<<<<<<<<<<
+@@ -12153,7 +13448,7 @@ static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":474
++/* "View.MemoryView":480
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -12174,38 +13469,37 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+   PyObject *__pyx_t_7 = NULL;
+-  Py_ssize_t __pyx_t_8;
++  int __pyx_t_8;
+   PyObject *__pyx_t_9 = NULL;
+   size_t __pyx_t_10;
+   int __pyx_t_11;
+-  int __pyx_t_12;
+   __Pyx_RefNannySetupContext("convert_item_to_object", 0);
+ 
+-  /* "View.MemoryView":477
++  /* "View.MemoryView":483
+  *         """Only used if instantiated manually by the user, or if Cython doesn't
+  *         know how to convert the type"""
+  *         import struct             # <<<<<<<<<<<<<<
+  *         cdef bytes bytesitem
+  * 
+  */
+-  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 477, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 483, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_struct = __pyx_t_1;
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":480
++  /* "View.MemoryView":486
+  *         cdef bytes bytesitem
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]             # <<<<<<<<<<<<<<
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)
+  */
+-  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_itemp + 0, __pyx_v_self->view.itemsize - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 480, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_itemp + 0, __pyx_v_self->view.itemsize - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 486, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_bytesitem = ((PyObject*)__pyx_t_1);
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":481
++  /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+@@ -12221,20 +13515,20 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+     __Pyx_XGOTREF(__pyx_t_4);
+     /*try:*/ {
+ 
+-      /* "View.MemoryView":482
++      /* "View.MemoryView":488
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)             # <<<<<<<<<<<<<<
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")
+  */
+-      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_unpack); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 482, __pyx_L3_error)
++      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_unpack); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 488, __pyx_L3_error)
+       __Pyx_GOTREF(__pyx_t_5);
+-      __pyx_t_6 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 482, __pyx_L3_error)
++      __pyx_t_6 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 488, __pyx_L3_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __pyx_t_7 = NULL;
+       __pyx_t_8 = 0;
+-      if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_5))) {
++      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_5))) {
+         __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_5);
+         if (likely(__pyx_t_7)) {
+           PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
+@@ -12244,25 +13538,45 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+           __pyx_t_8 = 1;
+         }
+       }
+-      __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 482, __pyx_L3_error)
+-      __Pyx_GOTREF(__pyx_t_9);
+-      if (__pyx_t_7) {
+-        __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_7); __pyx_t_7 = NULL;
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_5)) {
++        PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_bytesitem};
++        __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_5)) {
++        PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_bytesitem};
++        __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_5, __pyx_temp+1-__pyx_t_8, 2+__pyx_t_8); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_9 = PyTuple_New(2+__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_GOTREF(__pyx_t_9);
++        if (__pyx_t_7) {
++          __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_7); __pyx_t_7 = NULL;
++        }
++        __Pyx_GIVEREF(__pyx_t_6);
++        PyTuple_SET_ITEM(__pyx_t_9, 0+__pyx_t_8, __pyx_t_6);
++        __Pyx_INCREF(__pyx_v_bytesitem);
++        __Pyx_GIVEREF(__pyx_v_bytesitem);
++        PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_v_bytesitem);
++        __pyx_t_6 = 0;
++        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 488, __pyx_L3_error)
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       }
+-      __Pyx_GIVEREF(__pyx_t_6);
+-      PyTuple_SET_ITEM(__pyx_t_9, 0+__pyx_t_8, __pyx_t_6);
+-      __Pyx_INCREF(__pyx_v_bytesitem);
+-      __Pyx_GIVEREF(__pyx_v_bytesitem);
+-      PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_v_bytesitem);
+-      __pyx_t_6 = 0;
+-      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 482, __pyx_L3_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+       __pyx_v_result = __pyx_t_1;
+       __pyx_t_1 = 0;
+ 
+-      /* "View.MemoryView":481
++      /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+@@ -12271,7 +13585,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  */
+     }
+ 
+-    /* "View.MemoryView":486
++    /* "View.MemoryView":492
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  *             if len(self.view.format) == 1:             # <<<<<<<<<<<<<<
+@@ -12283,7 +13597,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+       __pyx_t_11 = ((__pyx_t_10 == 1) != 0);
+       if (__pyx_t_11) {
+ 
+-        /* "View.MemoryView":487
++        /* "View.MemoryView":493
+  *         else:
+  *             if len(self.view.format) == 1:
+  *                 return result[0]             # <<<<<<<<<<<<<<
+@@ -12291,13 +13605,13 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  * 
+  */
+         __Pyx_XDECREF(__pyx_r);
+-        __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_result, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 487, __pyx_L5_except_error)
++        __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_result, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 493, __pyx_L5_except_error)
+         __Pyx_GOTREF(__pyx_t_1);
+         __pyx_r = __pyx_t_1;
+         __pyx_t_1 = 0;
+         goto __pyx_L6_except_return;
+ 
+-        /* "View.MemoryView":486
++        /* "View.MemoryView":492
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  *             if len(self.view.format) == 1:             # <<<<<<<<<<<<<<
+@@ -12306,7 +13620,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+  */
+       }
+ 
+-      /* "View.MemoryView":488
++      /* "View.MemoryView":494
+  *             if len(self.view.format) == 1:
+  *                 return result[0]
+  *             return result             # <<<<<<<<<<<<<<
+@@ -12319,62 +13633,62 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+       goto __pyx_L6_except_return;
+     }
+     __pyx_L3_error:;
+-    __Pyx_PyThreadState_assign
+     __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
+     __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
+     __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
+     __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
+ 
+-    /* "View.MemoryView":483
++    /* "View.MemoryView":489
+  *         try:
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:             # <<<<<<<<<<<<<<
+  *             raise ValueError("Unable to convert item to object")
+  *         else:
+  */
+-    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_error); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 483, __pyx_L5_except_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_12 = __Pyx_PyErr_ExceptionMatches(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-    if (__pyx_t_12) {
++    __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_5, &__pyx_t_9);
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_error); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 489, __pyx_L5_except_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_8 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_6);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    __Pyx_ErrRestore(__pyx_t_1, __pyx_t_5, __pyx_t_9);
++    __pyx_t_1 = 0; __pyx_t_5 = 0; __pyx_t_9 = 0;
++    if (__pyx_t_8) {
+       __Pyx_AddTraceback("View.MemoryView.memoryview.convert_item_to_object", __pyx_clineno, __pyx_lineno, __pyx_filename);
+-      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_5, &__pyx_t_9) < 0) __PYX_ERR(2, 483, __pyx_L5_except_error)
+-      __Pyx_GOTREF(__pyx_t_1);
+-      __Pyx_GOTREF(__pyx_t_5);
++      if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(2, 489, __pyx_L5_except_error)
+       __Pyx_GOTREF(__pyx_t_9);
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GOTREF(__pyx_t_1);
+ 
+-      /* "View.MemoryView":484
++      /* "View.MemoryView":490
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")             # <<<<<<<<<<<<<<
+  *         else:
+  *             if len(self.view.format) == 1:
+  */
+-      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__24, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 484, __pyx_L5_except_error)
++      __pyx_t_6 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__30, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 490, __pyx_L5_except_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_Raise(__pyx_t_6, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-      __PYX_ERR(2, 484, __pyx_L5_except_error)
++      __PYX_ERR(2, 490, __pyx_L5_except_error)
+     }
+     goto __pyx_L5_except_error;
+     __pyx_L5_except_error:;
+ 
+-    /* "View.MemoryView":481
++    /* "View.MemoryView":487
+  * 
+  *         bytesitem = itemp[:self.view.itemsize]
+  *         try:             # <<<<<<<<<<<<<<
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  */
+-    __Pyx_PyThreadState_assign
+     __Pyx_XGIVEREF(__pyx_t_2);
+     __Pyx_XGIVEREF(__pyx_t_3);
+     __Pyx_XGIVEREF(__pyx_t_4);
+     __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
+     goto __pyx_L1_error;
+     __pyx_L6_except_return:;
+-    __Pyx_PyThreadState_assign
+     __Pyx_XGIVEREF(__pyx_t_2);
+     __Pyx_XGIVEREF(__pyx_t_3);
+     __Pyx_XGIVEREF(__pyx_t_4);
+@@ -12382,7 +13696,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":474
++  /* "View.MemoryView":480
+  *         self.assign_item_from_object(itemp, value)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -12408,7 +13722,7 @@ static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":490
++/* "View.MemoryView":496
+  *             return result
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -12429,28 +13743,29 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   PyObject *__pyx_t_4 = NULL;
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+-  Py_ssize_t __pyx_t_7;
++  int __pyx_t_7;
+   PyObject *__pyx_t_8 = NULL;
+-  PyObject *__pyx_t_9 = NULL;
+-  char *__pyx_t_10;
++  Py_ssize_t __pyx_t_9;
++  PyObject *__pyx_t_10 = NULL;
+   char *__pyx_t_11;
+   char *__pyx_t_12;
+   char *__pyx_t_13;
++  char *__pyx_t_14;
+   __Pyx_RefNannySetupContext("assign_item_from_object", 0);
+ 
+-  /* "View.MemoryView":493
++  /* "View.MemoryView":499
+  *         """Only used if instantiated manually by the user, or if Cython doesn't
+  *         know how to convert the type"""
+  *         import struct             # <<<<<<<<<<<<<<
+  *         cdef char c
+  *         cdef bytes bytesvalue
+  */
+-  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 493, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_Import(__pyx_n_s_struct, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 499, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_v_struct = __pyx_t_1;
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":498
++  /* "View.MemoryView":504
+  *         cdef Py_ssize_t i
+  * 
+  *         if isinstance(value, tuple):             # <<<<<<<<<<<<<<
+@@ -12461,37 +13776,37 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   __pyx_t_3 = (__pyx_t_2 != 0);
+   if (__pyx_t_3) {
+ 
+-    /* "View.MemoryView":499
++    /* "View.MemoryView":505
+  * 
+  *         if isinstance(value, tuple):
+  *             bytesvalue = struct.pack(self.view.format, *value)             # <<<<<<<<<<<<<<
+  *         else:
+  *             bytesvalue = struct.pack(self.view.format, value)
+  */
+-    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+-    __pyx_t_4 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+     __Pyx_GIVEREF(__pyx_t_4);
+     PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4);
+     __pyx_t_4 = 0;
+-    __pyx_t_4 = PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_6 = PyNumber_Add(__pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_6 = PyNumber_Add(__pyx_t_5, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 499, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 505, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 499, __pyx_L1_error)
++    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 505, __pyx_L1_error)
+     __pyx_v_bytesvalue = ((PyObject*)__pyx_t_4);
+     __pyx_t_4 = 0;
+ 
+-    /* "View.MemoryView":498
++    /* "View.MemoryView":504
+  *         cdef Py_ssize_t i
+  * 
+  *         if isinstance(value, tuple):             # <<<<<<<<<<<<<<
+@@ -12501,7 +13816,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":501
++  /* "View.MemoryView":507
+  *             bytesvalue = struct.pack(self.view.format, *value)
+  *         else:
+  *             bytesvalue = struct.pack(self.view.format, value)             # <<<<<<<<<<<<<<
+@@ -12509,13 +13824,13 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+  *         for i, c in enumerate(bytesvalue):
+  */
+   /*else*/ {
+-    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 501, __pyx_L1_error)
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 507, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+-    __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 501, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 507, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_1);
+     __pyx_t_5 = NULL;
+     __pyx_t_7 = 0;
+-    if (CYTHON_COMPILING_IN_CPYTHON && likely(PyMethod_Check(__pyx_t_6))) {
++    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
+       __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6);
+       if (likely(__pyx_t_5)) {
+         PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
+@@ -12525,66 +13840,86 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+         __pyx_t_7 = 1;
+       }
+     }
+-    __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 501, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_8);
+-    if (__pyx_t_5) {
+-      __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_5); __pyx_t_5 = NULL;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_6)) {
++      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_t_1, __pyx_v_value};
++      __pyx_t_4 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
++      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_t_1, __pyx_v_value};
++      __pyx_t_4 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_7, 2+__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++    } else
++    #endif
++    {
++      __pyx_t_8 = PyTuple_New(2+__pyx_t_7); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_8);
++      if (__pyx_t_5) {
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_5); __pyx_t_5 = NULL;
++      }
++      __Pyx_GIVEREF(__pyx_t_1);
++      PyTuple_SET_ITEM(__pyx_t_8, 0+__pyx_t_7, __pyx_t_1);
++      __Pyx_INCREF(__pyx_v_value);
++      __Pyx_GIVEREF(__pyx_v_value);
++      PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_v_value);
++      __pyx_t_1 = 0;
++      __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 507, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+     }
+-    __Pyx_GIVEREF(__pyx_t_1);
+-    PyTuple_SET_ITEM(__pyx_t_8, 0+__pyx_t_7, __pyx_t_1);
+-    __Pyx_INCREF(__pyx_v_value);
+-    __Pyx_GIVEREF(__pyx_v_value);
+-    PyTuple_SET_ITEM(__pyx_t_8, 1+__pyx_t_7, __pyx_v_value);
+-    __pyx_t_1 = 0;
+-    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_8, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 501, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+-    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 501, __pyx_L1_error)
++    if (!(likely(PyBytes_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "bytes", Py_TYPE(__pyx_t_4)->tp_name), 0))) __PYX_ERR(2, 507, __pyx_L1_error)
+     __pyx_v_bytesvalue = ((PyObject*)__pyx_t_4);
+     __pyx_t_4 = 0;
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":503
++  /* "View.MemoryView":509
+  *             bytesvalue = struct.pack(self.view.format, value)
+  * 
+  *         for i, c in enumerate(bytesvalue):             # <<<<<<<<<<<<<<
+  *             itemp[i] = c
+  * 
+  */
+-  __pyx_t_7 = 0;
++  __pyx_t_9 = 0;
+   if (unlikely(__pyx_v_bytesvalue == Py_None)) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' is not iterable");
+-    __PYX_ERR(2, 503, __pyx_L1_error)
++    __PYX_ERR(2, 509, __pyx_L1_error)
+   }
+   __Pyx_INCREF(__pyx_v_bytesvalue);
+-  __pyx_t_9 = __pyx_v_bytesvalue;
+-  __pyx_t_11 = PyBytes_AS_STRING(__pyx_t_9);
+-  __pyx_t_12 = (__pyx_t_11 + PyBytes_GET_SIZE(__pyx_t_9));
+-  for (__pyx_t_13 = __pyx_t_11; __pyx_t_13 < __pyx_t_12; __pyx_t_13++) {
+-    __pyx_t_10 = __pyx_t_13;
+-    __pyx_v_c = (__pyx_t_10[0]);
++  __pyx_t_10 = __pyx_v_bytesvalue;
++  __pyx_t_12 = PyBytes_AS_STRING(__pyx_t_10);
++  __pyx_t_13 = (__pyx_t_12 + PyBytes_GET_SIZE(__pyx_t_10));
++  for (__pyx_t_14 = __pyx_t_12; __pyx_t_14 < __pyx_t_13; __pyx_t_14++) {
++    __pyx_t_11 = __pyx_t_14;
++    __pyx_v_c = (__pyx_t_11[0]);
+ 
+-    /* "View.MemoryView":504
++    /* "View.MemoryView":510
+  * 
+  *         for i, c in enumerate(bytesvalue):
+  *             itemp[i] = c             # <<<<<<<<<<<<<<
+  * 
+  *     @cname('getbuffer')
+  */
+-    __pyx_v_i = __pyx_t_7;
++    __pyx_v_i = __pyx_t_9;
+ 
+-    /* "View.MemoryView":503
++    /* "View.MemoryView":509
+  *             bytesvalue = struct.pack(self.view.format, value)
+  * 
+  *         for i, c in enumerate(bytesvalue):             # <<<<<<<<<<<<<<
+  *             itemp[i] = c
+  * 
+  */
+-    __pyx_t_7 = (__pyx_t_7 + 1);
++    __pyx_t_9 = (__pyx_t_9 + 1);
+ 
+-    /* "View.MemoryView":504
++    /* "View.MemoryView":510
+  * 
+  *         for i, c in enumerate(bytesvalue):
+  *             itemp[i] = c             # <<<<<<<<<<<<<<
+@@ -12593,9 +13928,9 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+  */
+     (__pyx_v_itemp[__pyx_v_i]) = __pyx_v_c;
+   }
+-  __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
++  __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ 
+-  /* "View.MemoryView":490
++  /* "View.MemoryView":496
+  *             return result
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -12612,7 +13947,7 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   __Pyx_XDECREF(__pyx_t_5);
+   __Pyx_XDECREF(__pyx_t_6);
+   __Pyx_XDECREF(__pyx_t_8);
+-  __Pyx_XDECREF(__pyx_t_9);
++  __Pyx_XDECREF(__pyx_t_10);
+   __Pyx_AddTraceback("View.MemoryView.memoryview.assign_item_from_object", __pyx_clineno, __pyx_lineno, __pyx_filename);
+   __pyx_r = 0;
+   __pyx_L0:;
+@@ -12623,12 +13958,12 @@ static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryvie
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":507
++/* "View.MemoryView":513
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+- *         if flags & PyBUF_STRIDES:
+- *             info.shape = self.view.shape
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
+  */
+ 
+ /* Python wrapper */
+@@ -12648,20 +13983,64 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   int __pyx_r;
+   __Pyx_RefNannyDeclarations
+   int __pyx_t_1;
+-  Py_ssize_t *__pyx_t_2;
+-  char *__pyx_t_3;
+-  void *__pyx_t_4;
+-  int __pyx_t_5;
+-  Py_ssize_t __pyx_t_6;
++  int __pyx_t_2;
++  PyObject *__pyx_t_3 = NULL;
++  Py_ssize_t *__pyx_t_4;
++  char *__pyx_t_5;
++  void *__pyx_t_6;
++  int __pyx_t_7;
++  Py_ssize_t __pyx_t_8;
++  if (__pyx_v_info == NULL) {
++    PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete");
++    return -1;
++  }
+   __Pyx_RefNannySetupContext("__getbuffer__", 0);
+-  if (__pyx_v_info != NULL) {
+-    __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
+-    __Pyx_GIVEREF(__pyx_v_info->obj);
++  __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None);
++  __Pyx_GIVEREF(__pyx_v_info->obj);
++
++  /* "View.MemoryView":514
++ *     @cname('getbuffer')
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
++ */
++  __pyx_t_2 = ((__pyx_v_flags & PyBUF_WRITABLE) != 0);
++  if (__pyx_t_2) {
++  } else {
++    __pyx_t_1 = __pyx_t_2;
++    goto __pyx_L4_bool_binop_done;
+   }
++  __pyx_t_2 = (__pyx_v_self->view.readonly != 0);
++  __pyx_t_1 = __pyx_t_2;
++  __pyx_L4_bool_binop_done:;
++  if (unlikely(__pyx_t_1)) {
++
++    /* "View.MemoryView":515
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         if flags & PyBUF_STRIDES:
++ */
++    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__31, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 515, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __PYX_ERR(2, 515, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":508
++    /* "View.MemoryView":514
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:             # <<<<<<<<<<<<<<
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
++ */
++  }
++
++  /* "View.MemoryView":517
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.shape = self.view.shape
+  *         else:
+@@ -12669,27 +14048,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":509
+- *     def __getbuffer__(self, Py_buffer *info, int flags):
++    /* "View.MemoryView":518
++ * 
+  *         if flags & PyBUF_STRIDES:
+  *             info.shape = self.view.shape             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.shape = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.shape;
+-    __pyx_v_info->shape = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.shape;
++    __pyx_v_info->shape = __pyx_t_4;
+ 
+-    /* "View.MemoryView":508
+- *     @cname('getbuffer')
+- *     def __getbuffer__(self, Py_buffer *info, int flags):
++    /* "View.MemoryView":517
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
++ * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.shape = self.view.shape
+  *         else:
+  */
+-    goto __pyx_L3;
++    goto __pyx_L6;
+   }
+ 
+-  /* "View.MemoryView":511
++  /* "View.MemoryView":520
+  *             info.shape = self.view.shape
+  *         else:
+  *             info.shape = NULL             # <<<<<<<<<<<<<<
+@@ -12699,9 +14078,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->shape = NULL;
+   }
+-  __pyx_L3:;
++  __pyx_L6:;
+ 
+-  /* "View.MemoryView":513
++  /* "View.MemoryView":522
+  *             info.shape = NULL
+  * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+@@ -12711,27 +14090,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":514
++    /* "View.MemoryView":523
+  * 
+  *         if flags & PyBUF_STRIDES:
+  *             info.strides = self.view.strides             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.strides = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.strides;
+-    __pyx_v_info->strides = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.strides;
++    __pyx_v_info->strides = __pyx_t_4;
+ 
+-    /* "View.MemoryView":513
++    /* "View.MemoryView":522
+  *             info.shape = NULL
+  * 
+  *         if flags & PyBUF_STRIDES:             # <<<<<<<<<<<<<<
+  *             info.strides = self.view.strides
+  *         else:
+  */
+-    goto __pyx_L4;
++    goto __pyx_L7;
+   }
+ 
+-  /* "View.MemoryView":516
++  /* "View.MemoryView":525
+  *             info.strides = self.view.strides
+  *         else:
+  *             info.strides = NULL             # <<<<<<<<<<<<<<
+@@ -12741,9 +14120,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->strides = NULL;
+   }
+-  __pyx_L4:;
++  __pyx_L7:;
+ 
+-  /* "View.MemoryView":518
++  /* "View.MemoryView":527
+  *             info.strides = NULL
+  * 
+  *         if flags & PyBUF_INDIRECT:             # <<<<<<<<<<<<<<
+@@ -12753,27 +14132,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_INDIRECT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":519
++    /* "View.MemoryView":528
+  * 
+  *         if flags & PyBUF_INDIRECT:
+  *             info.suboffsets = self.view.suboffsets             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.suboffsets = NULL
+  */
+-    __pyx_t_2 = __pyx_v_self->view.suboffsets;
+-    __pyx_v_info->suboffsets = __pyx_t_2;
++    __pyx_t_4 = __pyx_v_self->view.suboffsets;
++    __pyx_v_info->suboffsets = __pyx_t_4;
+ 
+-    /* "View.MemoryView":518
++    /* "View.MemoryView":527
+  *             info.strides = NULL
+  * 
+  *         if flags & PyBUF_INDIRECT:             # <<<<<<<<<<<<<<
+  *             info.suboffsets = self.view.suboffsets
+  *         else:
+  */
+-    goto __pyx_L5;
++    goto __pyx_L8;
+   }
+ 
+-  /* "View.MemoryView":521
++  /* "View.MemoryView":530
+  *             info.suboffsets = self.view.suboffsets
+  *         else:
+  *             info.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -12783,9 +14162,9 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->suboffsets = NULL;
+   }
+-  __pyx_L5:;
++  __pyx_L8:;
+ 
+-  /* "View.MemoryView":523
++  /* "View.MemoryView":532
+  *             info.suboffsets = NULL
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+@@ -12795,27 +14174,27 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":524
++    /* "View.MemoryView":533
+  * 
+  *         if flags & PyBUF_FORMAT:
+  *             info.format = self.view.format             # <<<<<<<<<<<<<<
+  *         else:
+  *             info.format = NULL
+  */
+-    __pyx_t_3 = __pyx_v_self->view.format;
+-    __pyx_v_info->format = __pyx_t_3;
++    __pyx_t_5 = __pyx_v_self->view.format;
++    __pyx_v_info->format = __pyx_t_5;
+ 
+-    /* "View.MemoryView":523
++    /* "View.MemoryView":532
+  *             info.suboffsets = NULL
+  * 
+  *         if flags & PyBUF_FORMAT:             # <<<<<<<<<<<<<<
+  *             info.format = self.view.format
+  *         else:
+  */
+-    goto __pyx_L6;
++    goto __pyx_L9;
+   }
+ 
+-  /* "View.MemoryView":526
++  /* "View.MemoryView":535
+  *             info.format = self.view.format
+  *         else:
+  *             info.format = NULL             # <<<<<<<<<<<<<<
+@@ -12825,60 +14204,61 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   /*else*/ {
+     __pyx_v_info->format = NULL;
+   }
+-  __pyx_L6:;
++  __pyx_L9:;
+ 
+-  /* "View.MemoryView":528
++  /* "View.MemoryView":537
+  *             info.format = NULL
+  * 
+  *         info.buf = self.view.buf             # <<<<<<<<<<<<<<
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize
+  */
+-  __pyx_t_4 = __pyx_v_self->view.buf;
+-  __pyx_v_info->buf = __pyx_t_4;
++  __pyx_t_6 = __pyx_v_self->view.buf;
++  __pyx_v_info->buf = __pyx_t_6;
+ 
+-  /* "View.MemoryView":529
++  /* "View.MemoryView":538
+  * 
+  *         info.buf = self.view.buf
+  *         info.ndim = self.view.ndim             # <<<<<<<<<<<<<<
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len
+  */
+-  __pyx_t_5 = __pyx_v_self->view.ndim;
+-  __pyx_v_info->ndim = __pyx_t_5;
++  __pyx_t_7 = __pyx_v_self->view.ndim;
++  __pyx_v_info->ndim = __pyx_t_7;
+ 
+-  /* "View.MemoryView":530
++  /* "View.MemoryView":539
+  *         info.buf = self.view.buf
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize             # <<<<<<<<<<<<<<
+  *         info.len = self.view.len
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  */
+-  __pyx_t_6 = __pyx_v_self->view.itemsize;
+-  __pyx_v_info->itemsize = __pyx_t_6;
++  __pyx_t_8 = __pyx_v_self->view.itemsize;
++  __pyx_v_info->itemsize = __pyx_t_8;
+ 
+-  /* "View.MemoryView":531
++  /* "View.MemoryView":540
+  *         info.ndim = self.view.ndim
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len             # <<<<<<<<<<<<<<
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  *         info.obj = self
+  */
+-  __pyx_t_6 = __pyx_v_self->view.len;
+-  __pyx_v_info->len = __pyx_t_6;
++  __pyx_t_8 = __pyx_v_self->view.len;
++  __pyx_v_info->len = __pyx_t_8;
+ 
+-  /* "View.MemoryView":532
++  /* "View.MemoryView":541
+  *         info.itemsize = self.view.itemsize
+  *         info.len = self.view.len
+- *         info.readonly = 0             # <<<<<<<<<<<<<<
++ *         info.readonly = self.view.readonly             # <<<<<<<<<<<<<<
+  *         info.obj = self
+  * 
+  */
+-  __pyx_v_info->readonly = 0;
++  __pyx_t_1 = __pyx_v_self->view.readonly;
++  __pyx_v_info->readonly = __pyx_t_1;
+ 
+-  /* "View.MemoryView":533
++  /* "View.MemoryView":542
+  *         info.len = self.view.len
+- *         info.readonly = 0
++ *         info.readonly = self.view.readonly
+  *         info.obj = self             # <<<<<<<<<<<<<<
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")
+@@ -12889,25 +14269,37 @@ static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbu
+   __Pyx_DECREF(__pyx_v_info->obj);
+   __pyx_v_info->obj = ((PyObject *)__pyx_v_self);
+ 
+-  /* "View.MemoryView":507
++  /* "View.MemoryView":513
+  * 
+  *     @cname('getbuffer')
+  *     def __getbuffer__(self, Py_buffer *info, int flags):             # <<<<<<<<<<<<<<
+- *         if flags & PyBUF_STRIDES:
+- *             info.shape = self.view.shape
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")
+  */
+ 
+   /* function exit code */
+   __pyx_r = 0;
+-  if (__pyx_v_info != NULL && __pyx_v_info->obj == Py_None) {
+-    __Pyx_GOTREF(Py_None);
+-    __Pyx_DECREF(Py_None); __pyx_v_info->obj = NULL;
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = -1;
++  if (__pyx_v_info->obj != NULL) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
++  }
++  goto __pyx_L2;
++  __pyx_L0:;
++  if (__pyx_v_info->obj == Py_None) {
++    __Pyx_GOTREF(__pyx_v_info->obj);
++    __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0;
+   }
++  __pyx_L2:;
+   __Pyx_RefNannyFinishContext();
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":539
++/* "View.MemoryView":548
+  * 
+  *     @property
+  *     def T(self):             # <<<<<<<<<<<<<<
+@@ -12936,29 +14328,29 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   int __pyx_t_2;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":540
++  /* "View.MemoryView":549
+  *     @property
+  *     def T(self):
+  *         cdef _memoryviewslice result = memoryview_copy(self)             # <<<<<<<<<<<<<<
+  *         transpose_memslice(&result.from_slice)
+  *         return result
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_object(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 540, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_object(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 549, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_memoryviewslice_type))))) __PYX_ERR(2, 540, __pyx_L1_error)
++  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_memoryviewslice_type))))) __PYX_ERR(2, 549, __pyx_L1_error)
+   __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_1);
+   __pyx_t_1 = 0;
+ 
+-  /* "View.MemoryView":541
++  /* "View.MemoryView":550
+  *     def T(self):
+  *         cdef _memoryviewslice result = memoryview_copy(self)
+  *         transpose_memslice(&result.from_slice)             # <<<<<<<<<<<<<<
+  *         return result
+  * 
+  */
+-  __pyx_t_2 = __pyx_memslice_transpose((&__pyx_v_result->from_slice)); if (unlikely(__pyx_t_2 == 0)) __PYX_ERR(2, 541, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memslice_transpose((&__pyx_v_result->from_slice)); if (unlikely(__pyx_t_2 == ((int)0))) __PYX_ERR(2, 550, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":542
++  /* "View.MemoryView":551
+  *         cdef _memoryviewslice result = memoryview_copy(self)
+  *         transpose_memslice(&result.from_slice)
+  *         return result             # <<<<<<<<<<<<<<
+@@ -12970,7 +14362,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":539
++  /* "View.MemoryView":548
+  * 
+  *     @property
+  *     def T(self):             # <<<<<<<<<<<<<<
+@@ -12990,7 +14382,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":545
++/* "View.MemoryView":554
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -13016,7 +14408,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":546
++  /* "View.MemoryView":555
+  *     @property
+  *     def base(self):
+  *         return self.obj             # <<<<<<<<<<<<<<
+@@ -13028,7 +14420,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   __pyx_r = __pyx_v_self->obj;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":545
++  /* "View.MemoryView":554
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -13043,7 +14435,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":549
++/* "View.MemoryView":558
+  * 
+  *     @property
+  *     def shape(self):             # <<<<<<<<<<<<<<
+@@ -13075,7 +14467,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":550
++  /* "View.MemoryView":559
+  *     @property
+  *     def shape(self):
+  *         return tuple([length for length in self.view.shape[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -13083,25 +14475,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 550, __pyx_L1_error)
++  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 559, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_t_3 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim);
+   for (__pyx_t_4 = __pyx_v_self->view.shape; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) {
+     __pyx_t_2 = __pyx_t_4;
+     __pyx_v_length = (__pyx_t_2[0]);
+-    __pyx_t_5 = PyInt_FromSsize_t(__pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 550, __pyx_L1_error)
++    __pyx_t_5 = PyInt_FromSsize_t(__pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 559, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_5);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(2, 550, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(2, 559, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+   }
+-  __pyx_t_5 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 550, __pyx_L1_error)
++  __pyx_t_5 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 559, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __pyx_r = __pyx_t_5;
+   __pyx_t_5 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":549
++  /* "View.MemoryView":558
+  * 
+  *     @property
+  *     def shape(self):             # <<<<<<<<<<<<<<
+@@ -13121,7 +14513,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(stru
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":553
++/* "View.MemoryView":562
+  * 
+  *     @property
+  *     def strides(self):             # <<<<<<<<<<<<<<
+@@ -13154,7 +14546,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+   PyObject *__pyx_t_6 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":554
++  /* "View.MemoryView":563
+  *     @property
+  *     def strides(self):
+  *         if self.view.strides == NULL:             # <<<<<<<<<<<<<<
+@@ -13162,22 +14554,22 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  *             raise ValueError("Buffer view does not expose strides")
+  */
+   __pyx_t_1 = ((__pyx_v_self->view.strides == NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":556
++    /* "View.MemoryView":565
+  *         if self.view.strides == NULL:
+  * 
+  *             raise ValueError("Buffer view does not expose strides")             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])
+  */
+-    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__25, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 556, __pyx_L1_error)
++    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__32, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __PYX_ERR(2, 556, __pyx_L1_error)
++    __PYX_ERR(2, 565, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":554
++    /* "View.MemoryView":563
+  *     @property
+  *     def strides(self):
+  *         if self.view.strides == NULL:             # <<<<<<<<<<<<<<
+@@ -13186,7 +14578,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  */
+   }
+ 
+-  /* "View.MemoryView":558
++  /* "View.MemoryView":567
+  *             raise ValueError("Buffer view does not expose strides")
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -13194,25 +14586,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 558, __pyx_L1_error)
++  __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 567, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_t_4 = (__pyx_v_self->view.strides + __pyx_v_self->view.ndim);
+   for (__pyx_t_5 = __pyx_v_self->view.strides; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) {
+     __pyx_t_3 = __pyx_t_5;
+     __pyx_v_stride = (__pyx_t_3[0]);
+-    __pyx_t_6 = PyInt_FromSsize_t(__pyx_v_stride); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 558, __pyx_L1_error)
++    __pyx_t_6 = PyInt_FromSsize_t(__pyx_v_stride); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 567, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_6);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(2, 558, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(2, 567, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+   }
+-  __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 558, __pyx_L1_error)
++  __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 567, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_r = __pyx_t_6;
+   __pyx_t_6 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":553
++  /* "View.MemoryView":562
+  * 
+  *     @property
+  *     def strides(self):             # <<<<<<<<<<<<<<
+@@ -13232,7 +14624,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(st
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":561
++/* "View.MemoryView":570
+  * 
+  *     @property
+  *     def suboffsets(self):             # <<<<<<<<<<<<<<
+@@ -13265,7 +14657,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   Py_ssize_t *__pyx_t_6;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":562
++  /* "View.MemoryView":571
+  *     @property
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:             # <<<<<<<<<<<<<<
+@@ -13275,7 +14667,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   __pyx_t_1 = ((__pyx_v_self->view.suboffsets == NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":563
++    /* "View.MemoryView":572
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:
+  *             return (-1,) * self.view.ndim             # <<<<<<<<<<<<<<
+@@ -13283,16 +14675,16 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 563, __pyx_L1_error)
++    __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 572, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PyNumber_Multiply(__pyx_tuple__26, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 563, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_Multiply(__pyx_tuple__33, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 572, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+     __pyx_r = __pyx_t_3;
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":562
++    /* "View.MemoryView":571
+  *     @property
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:             # <<<<<<<<<<<<<<
+@@ -13301,7 +14693,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  */
+   }
+ 
+-  /* "View.MemoryView":565
++  /* "View.MemoryView":574
+  *             return (-1,) * self.view.ndim
+  * 
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])             # <<<<<<<<<<<<<<
+@@ -13309,25 +14701,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 574, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __pyx_t_5 = (__pyx_v_self->view.suboffsets + __pyx_v_self->view.ndim);
+   for (__pyx_t_6 = __pyx_v_self->view.suboffsets; __pyx_t_6 < __pyx_t_5; __pyx_t_6++) {
+     __pyx_t_4 = __pyx_t_6;
+     __pyx_v_suboffset = (__pyx_t_4[0]);
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_suboffset); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_suboffset); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 574, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_2))) __PYX_ERR(2, 565, __pyx_L1_error)
++    if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_2))) __PYX_ERR(2, 574, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   }
+-  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_3)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __pyx_t_2 = PyList_AsTuple(((PyObject*)__pyx_t_3)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 574, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":561
++  /* "View.MemoryView":570
+  * 
+  *     @property
+  *     def suboffsets(self):             # <<<<<<<<<<<<<<
+@@ -13347,7 +14739,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":568
++/* "View.MemoryView":577
+  * 
+  *     @property
+  *     def ndim(self):             # <<<<<<<<<<<<<<
+@@ -13374,7 +14766,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":569
++  /* "View.MemoryView":578
+  *     @property
+  *     def ndim(self):
+  *         return self.view.ndim             # <<<<<<<<<<<<<<
+@@ -13382,13 +14774,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 569, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 578, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":568
++  /* "View.MemoryView":577
+  * 
+  *     @property
+  *     def ndim(self):             # <<<<<<<<<<<<<<
+@@ -13407,7 +14799,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":572
++/* "View.MemoryView":581
+  * 
+  *     @property
+  *     def itemsize(self):             # <<<<<<<<<<<<<<
+@@ -13434,7 +14826,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":573
++  /* "View.MemoryView":582
+  *     @property
+  *     def itemsize(self):
+  *         return self.view.itemsize             # <<<<<<<<<<<<<<
+@@ -13442,13 +14834,13 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 573, __pyx_L1_error)
++  __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 582, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":572
++  /* "View.MemoryView":581
+  * 
+  *     @property
+  *     def itemsize(self):             # <<<<<<<<<<<<<<
+@@ -13467,7 +14859,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(s
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":576
++/* "View.MemoryView":585
+  * 
+  *     @property
+  *     def nbytes(self):             # <<<<<<<<<<<<<<
+@@ -13496,7 +14888,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":577
++  /* "View.MemoryView":586
+  *     @property
+  *     def nbytes(self):
+  *         return self.size * self.view.itemsize             # <<<<<<<<<<<<<<
+@@ -13504,11 +14896,11 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+  *     @property
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_size); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_size); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyNumber_Multiply(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 577, __pyx_L1_error)
++  __pyx_t_3 = PyNumber_Multiply(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 586, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+@@ -13516,7 +14908,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   __pyx_t_3 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":576
++  /* "View.MemoryView":585
+  * 
+  *     @property
+  *     def nbytes(self):             # <<<<<<<<<<<<<<
+@@ -13537,7 +14929,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(str
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":580
++/* "View.MemoryView":589
+  * 
+  *     @property
+  *     def size(self):             # <<<<<<<<<<<<<<
+@@ -13571,7 +14963,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   PyObject *__pyx_t_6 = NULL;
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":581
++  /* "View.MemoryView":590
+  *     @property
+  *     def size(self):
+  *         if self._size is None:             # <<<<<<<<<<<<<<
+@@ -13582,7 +14974,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":582
++    /* "View.MemoryView":591
+  *     def size(self):
+  *         if self._size is None:
+  *             result = 1             # <<<<<<<<<<<<<<
+@@ -13592,7 +14984,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __Pyx_INCREF(__pyx_int_1);
+     __pyx_v_result = __pyx_int_1;
+ 
+-    /* "View.MemoryView":584
++    /* "View.MemoryView":593
+  *             result = 1
+  * 
+  *             for length in self.view.shape[:self.view.ndim]:             # <<<<<<<<<<<<<<
+@@ -13602,25 +14994,25 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __pyx_t_4 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim);
+     for (__pyx_t_5 = __pyx_v_self->view.shape; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) {
+       __pyx_t_3 = __pyx_t_5;
+-      __pyx_t_6 = PyInt_FromSsize_t((__pyx_t_3[0])); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 584, __pyx_L1_error)
++      __pyx_t_6 = PyInt_FromSsize_t((__pyx_t_3[0])); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 593, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_6);
+       __pyx_t_6 = 0;
+ 
+-      /* "View.MemoryView":585
++      /* "View.MemoryView":594
+  * 
+  *             for length in self.view.shape[:self.view.ndim]:
+  *                 result *= length             # <<<<<<<<<<<<<<
+  * 
+  *             self._size = result
+  */
+-      __pyx_t_6 = PyNumber_InPlaceMultiply(__pyx_v_result, __pyx_v_length); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 585, __pyx_L1_error)
++      __pyx_t_6 = PyNumber_InPlaceMultiply(__pyx_v_result, __pyx_v_length); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 594, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_6);
+       __Pyx_DECREF_SET(__pyx_v_result, __pyx_t_6);
+       __pyx_t_6 = 0;
+     }
+ 
+-    /* "View.MemoryView":587
++    /* "View.MemoryView":596
+  *                 result *= length
+  * 
+  *             self._size = result             # <<<<<<<<<<<<<<
+@@ -13633,7 +15025,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+     __Pyx_DECREF(__pyx_v_self->_size);
+     __pyx_v_self->_size = __pyx_v_result;
+ 
+-    /* "View.MemoryView":581
++    /* "View.MemoryView":590
+  *     @property
+  *     def size(self):
+  *         if self._size is None:             # <<<<<<<<<<<<<<
+@@ -13642,7 +15034,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+  */
+   }
+ 
+-  /* "View.MemoryView":589
++  /* "View.MemoryView":598
+  *             self._size = result
+  * 
+  *         return self._size             # <<<<<<<<<<<<<<
+@@ -13654,7 +15046,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   __pyx_r = __pyx_v_self->_size;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":580
++  /* "View.MemoryView":589
+  * 
+  *     @property
+  *     def size(self):             # <<<<<<<<<<<<<<
+@@ -13675,7 +15067,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struc
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":591
++/* "View.MemoryView":600
+  *         return self._size
+  * 
+  *     def __len__(self):             # <<<<<<<<<<<<<<
+@@ -13702,7 +15094,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("__len__", 0);
+ 
+-  /* "View.MemoryView":592
++  /* "View.MemoryView":601
+  * 
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:             # <<<<<<<<<<<<<<
+@@ -13712,7 +15104,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   __pyx_t_1 = ((__pyx_v_self->view.ndim >= 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":593
++    /* "View.MemoryView":602
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:
+  *             return self.view.shape[0]             # <<<<<<<<<<<<<<
+@@ -13722,7 +15114,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+     __pyx_r = (__pyx_v_self->view.shape[0]);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":592
++    /* "View.MemoryView":601
+  * 
+  *     def __len__(self):
+  *         if self.view.ndim >= 1:             # <<<<<<<<<<<<<<
+@@ -13731,7 +15123,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+  */
+   }
+ 
+-  /* "View.MemoryView":595
++  /* "View.MemoryView":604
+  *             return self.view.shape[0]
+  * 
+  *         return 0             # <<<<<<<<<<<<<<
+@@ -13741,7 +15133,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":591
++  /* "View.MemoryView":600
+  *         return self._size
+  * 
+  *     def __len__(self):             # <<<<<<<<<<<<<<
+@@ -13755,7 +15147,7 @@ static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_1
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":597
++/* "View.MemoryView":606
+  *         return 0
+  * 
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -13784,7 +15176,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("__repr__", 0);
+ 
+-  /* "View.MemoryView":598
++  /* "View.MemoryView":607
+  * 
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,             # <<<<<<<<<<<<<<
+@@ -13792,54 +15184,48 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 598, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 607, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":599
++  /* "View.MemoryView":608
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,
+  *                                                id(self))             # <<<<<<<<<<<<<<
+  * 
+  *     def __str__(self):
+  */
+-  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 599, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 608, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __Pyx_INCREF(((PyObject *)__pyx_v_self));
+-  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
+-  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
+-  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_id, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 599, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":598
++  /* "View.MemoryView":607
+  * 
+  *     def __repr__(self):
+  *         return "" % (self.base.__class__.__name__,             # <<<<<<<<<<<<<<
+  *                                                id(self))
+  * 
+  */
+-  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 598, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_2);
++  __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 607, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_GIVEREF(__pyx_t_1);
+-  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+-  __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3);
++  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1);
++  __Pyx_GIVEREF(__pyx_t_2);
++  PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2);
+   __pyx_t_1 = 0;
+-  __pyx_t_3 = 0;
+-  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 598, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-  __pyx_r = __pyx_t_3;
+-  __pyx_t_3 = 0;
++  __pyx_t_2 = 0;
++  __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 607, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++  __pyx_r = __pyx_t_2;
++  __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":597
++  /* "View.MemoryView":606
+  *         return 0
+  * 
+  *     def __repr__(self):             # <<<<<<<<<<<<<<
+@@ -13860,7 +15246,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":601
++/* "View.MemoryView":610
+  *                                                id(self))
+  * 
+  *     def __str__(self):             # <<<<<<<<<<<<<<
+@@ -13888,7 +15274,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("__str__", 0);
+ 
+-  /* "View.MemoryView":602
++  /* "View.MemoryView":611
+  * 
+  *     def __str__(self):
+  *         return "" % (self.base.__class__.__name__,)             # <<<<<<<<<<<<<<
+@@ -13896,27 +15282,27 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_GIVEREF(__pyx_t_1);
+   PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
+   __pyx_t_1 = 0;
+-  __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_object, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 602, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_object, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":601
++  /* "View.MemoryView":610
+  *                                                id(self))
+  * 
+  *     def __str__(self):             # <<<<<<<<<<<<<<
+@@ -13936,7 +15322,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":605
++/* "View.MemoryView":614
+  * 
+  * 
+  *     def is_c_contig(self):             # <<<<<<<<<<<<<<
+@@ -13965,7 +15351,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("is_c_contig", 0);
+ 
+-  /* "View.MemoryView":608
++  /* "View.MemoryView":617
+  *         cdef __Pyx_memviewslice *mslice
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)             # <<<<<<<<<<<<<<
+@@ -13974,7 +15360,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+  */
+   __pyx_v_mslice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp));
+ 
+-  /* "View.MemoryView":609
++  /* "View.MemoryView":618
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)             # <<<<<<<<<<<<<<
+@@ -13982,13 +15368,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+  *     def is_f_contig(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 609, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 618, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":605
++  /* "View.MemoryView":614
+  * 
+  * 
+  *     def is_c_contig(self):             # <<<<<<<<<<<<<<
+@@ -14007,7 +15393,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":611
++/* "View.MemoryView":620
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)
+  * 
+  *     def is_f_contig(self):             # <<<<<<<<<<<<<<
+@@ -14036,7 +15422,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("is_f_contig", 0);
+ 
+-  /* "View.MemoryView":614
++  /* "View.MemoryView":623
+  *         cdef __Pyx_memviewslice *mslice
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)             # <<<<<<<<<<<<<<
+@@ -14045,7 +15431,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+  */
+   __pyx_v_mslice = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp));
+ 
+-  /* "View.MemoryView":615
++  /* "View.MemoryView":624
+  *         cdef __Pyx_memviewslice tmp
+  *         mslice = get_slice_from_memview(self, &tmp)
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)             # <<<<<<<<<<<<<<
+@@ -14053,13 +15439,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+  *     def copy(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 615, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 624, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":611
++  /* "View.MemoryView":620
+  *         return slice_is_contig(mslice[0], 'C', self.view.ndim)
+  * 
+  *     def is_f_contig(self):             # <<<<<<<<<<<<<<
+@@ -14078,7 +15464,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":617
++/* "View.MemoryView":626
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)
+  * 
+  *     def copy(self):             # <<<<<<<<<<<<<<
+@@ -14108,7 +15494,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("copy", 0);
+ 
+-  /* "View.MemoryView":619
++  /* "View.MemoryView":628
+  *     def copy(self):
+  *         cdef __Pyx_memviewslice mslice
+  *         cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -14117,7 +15503,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  */
+   __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_F_CONTIGUOUS));
+ 
+-  /* "View.MemoryView":621
++  /* "View.MemoryView":630
+  *         cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS
+  * 
+  *         slice_copy(self, &mslice)             # <<<<<<<<<<<<<<
+@@ -14126,17 +15512,17 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_mslice));
+ 
+-  /* "View.MemoryView":622
++  /* "View.MemoryView":631
+  * 
+  *         slice_copy(self, &mslice)
+  *         mslice = slice_copy_contig(&mslice, "c", self.view.ndim,             # <<<<<<<<<<<<<<
+  *                                    self.view.itemsize,
+  *                                    flags|PyBUF_C_CONTIGUOUS,
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), ((char *)"c"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 622, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), ((char *)"c"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 631, __pyx_L1_error)
+   __pyx_v_mslice = __pyx_t_1;
+ 
+-  /* "View.MemoryView":627
++  /* "View.MemoryView":636
+  *                                    self.dtype_is_object)
+  * 
+  *         return memoryview_copy_from_slice(self, &mslice)             # <<<<<<<<<<<<<<
+@@ -14144,13 +15530,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+  *     def copy_fortran(self):
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_mslice)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 627, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_mslice)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 636, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":617
++  /* "View.MemoryView":626
+  *         return slice_is_contig(mslice[0], 'F', self.view.ndim)
+  * 
+  *     def copy(self):             # <<<<<<<<<<<<<<
+@@ -14169,7 +15555,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":629
++/* "View.MemoryView":638
+  *         return memoryview_copy_from_slice(self, &mslice)
+  * 
+  *     def copy_fortran(self):             # <<<<<<<<<<<<<<
+@@ -14200,7 +15586,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("copy_fortran", 0);
+ 
+-  /* "View.MemoryView":631
++  /* "View.MemoryView":640
+  *     def copy_fortran(self):
+  *         cdef __Pyx_memviewslice src, dst
+  *         cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS             # <<<<<<<<<<<<<<
+@@ -14209,7 +15595,7 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  */
+   __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_C_CONTIGUOUS));
+ 
+-  /* "View.MemoryView":633
++  /* "View.MemoryView":642
+  *         cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS
+  * 
+  *         slice_copy(self, &src)             # <<<<<<<<<<<<<<
+@@ -14218,17 +15604,17 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_src));
+ 
+-  /* "View.MemoryView":634
++  /* "View.MemoryView":643
+  * 
+  *         slice_copy(self, &src)
+  *         dst = slice_copy_contig(&src, "fortran", self.view.ndim,             # <<<<<<<<<<<<<<
+  *                                 self.view.itemsize,
+  *                                 flags|PyBUF_F_CONTIGUOUS,
+  */
+-  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), ((char *)"fortran"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 634, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), ((char *)"fortran"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(2, 643, __pyx_L1_error)
+   __pyx_v_dst = __pyx_t_1;
+ 
+-  /* "View.MemoryView":639
++  /* "View.MemoryView":648
+  *                                 self.dtype_is_object)
+  * 
+  *         return memoryview_copy_from_slice(self, &dst)             # <<<<<<<<<<<<<<
+@@ -14236,13 +15622,13 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+  * 
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_dst)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 639, __pyx_L1_error)
++  __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_dst)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 648, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __pyx_r = __pyx_t_2;
+   __pyx_t_2 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":629
++  /* "View.MemoryView":638
+  *         return memoryview_copy_from_slice(self, &mslice)
+  * 
+  *     def copy_fortran(self):             # <<<<<<<<<<<<<<
+@@ -14261,7 +15647,114 @@ static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":643
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__34, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryview_2__setstate_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__35, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView.memoryview.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":652
+  * 
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):             # <<<<<<<<<<<<<<
+@@ -14278,18 +15771,18 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_cwrapper", 0);
+ 
+-  /* "View.MemoryView":644
++  /* "View.MemoryView":653
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)             # <<<<<<<<<<<<<<
+  *     result.typeinfo = typeinfo
+  *     return result
+  */
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(__pyx_v_o);
+   __Pyx_GIVEREF(__pyx_v_o);
+@@ -14300,13 +15793,13 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_1 = 0;
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 644, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 653, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_v_result = ((struct __pyx_memoryview_obj *)__pyx_t_2);
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":645
++  /* "View.MemoryView":654
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)
+  *     result.typeinfo = typeinfo             # <<<<<<<<<<<<<<
+@@ -14315,7 +15808,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+  */
+   __pyx_v_result->typeinfo = __pyx_v_typeinfo;
+ 
+-  /* "View.MemoryView":646
++  /* "View.MemoryView":655
+  *     cdef memoryview result = memoryview(o, flags, dtype_is_object)
+  *     result.typeinfo = typeinfo
+  *     return result             # <<<<<<<<<<<<<<
+@@ -14327,7 +15820,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":643
++  /* "View.MemoryView":652
+  * 
+  * @cname('__pyx_memoryview_new')
+  * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo):             # <<<<<<<<<<<<<<
+@@ -14349,7 +15842,7 @@ static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, in
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":649
++/* "View.MemoryView":658
+  * 
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):             # <<<<<<<<<<<<<<
+@@ -14363,7 +15856,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   int __pyx_t_1;
+   __Pyx_RefNannySetupContext("memoryview_check", 0);
+ 
+-  /* "View.MemoryView":650
++  /* "View.MemoryView":659
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):
+  *     return isinstance(o, memoryview)             # <<<<<<<<<<<<<<
+@@ -14374,7 +15867,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   __pyx_r = __pyx_t_1;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":649
++  /* "View.MemoryView":658
+  * 
+  * @cname('__pyx_memoryview_check')
+  * cdef inline bint memoryview_check(object o):             # <<<<<<<<<<<<<<
+@@ -14388,7 +15881,7 @@ static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":652
++/* "View.MemoryView":661
+  *     return isinstance(o, memoryview)
+  * 
+  * cdef tuple _unellipsify(object index, int ndim):             # <<<<<<<<<<<<<<
+@@ -14419,7 +15912,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   PyObject *__pyx_t_11 = NULL;
+   __Pyx_RefNannySetupContext("_unellipsify", 0);
+ 
+-  /* "View.MemoryView":657
++  /* "View.MemoryView":666
+  *     full slices.
+  *     """
+  *     if not isinstance(index, tuple):             # <<<<<<<<<<<<<<
+@@ -14430,14 +15923,14 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":658
++    /* "View.MemoryView":667
+  *     """
+  *     if not isinstance(index, tuple):
+  *         tup = (index,)             # <<<<<<<<<<<<<<
+  *     else:
+  *         tup = index
+  */
+-    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 658, __pyx_L1_error)
++    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 667, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_INCREF(__pyx_v_index);
+     __Pyx_GIVEREF(__pyx_v_index);
+@@ -14445,7 +15938,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_v_tup = __pyx_t_3;
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":657
++    /* "View.MemoryView":666
+  *     full slices.
+  *     """
+  *     if not isinstance(index, tuple):             # <<<<<<<<<<<<<<
+@@ -14455,7 +15948,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":660
++  /* "View.MemoryView":669
+  *         tup = (index,)
+  *     else:
+  *         tup = index             # <<<<<<<<<<<<<<
+@@ -14468,19 +15961,19 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":662
++  /* "View.MemoryView":671
+  *         tup = index
+  * 
+  *     result = []             # <<<<<<<<<<<<<<
+  *     have_slices = False
+  *     seen_ellipsis = False
+  */
+-  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 662, __pyx_L1_error)
++  __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 671, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __pyx_v_result = ((PyObject*)__pyx_t_3);
+   __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":663
++  /* "View.MemoryView":672
+  * 
+  *     result = []
+  *     have_slices = False             # <<<<<<<<<<<<<<
+@@ -14489,7 +15982,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   __pyx_v_have_slices = 0;
+ 
+-  /* "View.MemoryView":664
++  /* "View.MemoryView":673
+  *     result = []
+  *     have_slices = False
+  *     seen_ellipsis = False             # <<<<<<<<<<<<<<
+@@ -14498,7 +15991,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   __pyx_v_seen_ellipsis = 0;
+ 
+-  /* "View.MemoryView":665
++  /* "View.MemoryView":674
+  *     have_slices = False
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):             # <<<<<<<<<<<<<<
+@@ -14511,26 +16004,26 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_4 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0;
+     __pyx_t_6 = NULL;
+   } else {
+-    __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_tup); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_v_tup); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 674, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_6 = Py_TYPE(__pyx_t_4)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 674, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_6)) {
+       if (likely(PyList_CheckExact(__pyx_t_4))) {
+         if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_4)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 665, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 674, __pyx_L1_error)
+         #else
+-        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         #endif
+       } else {
+         if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_4)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 665, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(2, 674, __pyx_L1_error)
+         #else
+-        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++        __pyx_t_7 = PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         #endif
+       }
+@@ -14539,8 +16032,8 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       if (unlikely(!__pyx_t_7)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 665, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 674, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -14550,13 +16043,13 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_7 = 0;
+     __Pyx_INCREF(__pyx_t_3);
+     __Pyx_XDECREF_SET(__pyx_v_idx, __pyx_t_3);
+-    __pyx_t_7 = __Pyx_PyInt_AddObjC(__pyx_t_3, __pyx_int_1, 1, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 665, __pyx_L1_error)
++    __pyx_t_7 = __Pyx_PyInt_AddObjC(__pyx_t_3, __pyx_int_1, 1, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 674, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_7);
+     __Pyx_DECREF(__pyx_t_3);
+     __pyx_t_3 = __pyx_t_7;
+     __pyx_t_7 = 0;
+ 
+-    /* "View.MemoryView":666
++    /* "View.MemoryView":675
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -14567,7 +16060,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+     __pyx_t_1 = (__pyx_t_2 != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":667
++      /* "View.MemoryView":676
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:             # <<<<<<<<<<<<<<
+@@ -14577,27 +16070,27 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_t_1 = ((!(__pyx_v_seen_ellipsis != 0)) != 0);
+       if (__pyx_t_1) {
+ 
+-        /* "View.MemoryView":668
++        /* "View.MemoryView":677
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))             # <<<<<<<<<<<<<<
+  *                 seen_ellipsis = True
+  *             else:
+  */
+-        __pyx_t_8 = PyObject_Length(__pyx_v_tup); if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(2, 668, __pyx_L1_error)
+-        __pyx_t_7 = PyList_New(1 * ((((__pyx_v_ndim - __pyx_t_8) + 1)<0) ? 0:((__pyx_v_ndim - __pyx_t_8) + 1))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 668, __pyx_L1_error)
++        __pyx_t_8 = PyObject_Length(__pyx_v_tup); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(2, 677, __pyx_L1_error)
++        __pyx_t_7 = PyList_New(1 * ((((__pyx_v_ndim - __pyx_t_8) + 1)<0) ? 0:((__pyx_v_ndim - __pyx_t_8) + 1))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 677, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+         { Py_ssize_t __pyx_temp;
+           for (__pyx_temp=0; __pyx_temp < ((__pyx_v_ndim - __pyx_t_8) + 1); __pyx_temp++) {
+-            __Pyx_INCREF(__pyx_slice__27);
+-            __Pyx_GIVEREF(__pyx_slice__27);
+-            PyList_SET_ITEM(__pyx_t_7, __pyx_temp, __pyx_slice__27);
++            __Pyx_INCREF(__pyx_slice__36);
++            __Pyx_GIVEREF(__pyx_slice__36);
++            PyList_SET_ITEM(__pyx_t_7, __pyx_temp, __pyx_slice__36);
+           }
+         }
+-        __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_7); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 668, __pyx_L1_error)
++        __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_7); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 677, __pyx_L1_error)
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ 
+-        /* "View.MemoryView":669
++        /* "View.MemoryView":678
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))
+  *                 seen_ellipsis = True             # <<<<<<<<<<<<<<
+@@ -14606,7 +16099,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+         __pyx_v_seen_ellipsis = 1;
+ 
+-        /* "View.MemoryView":667
++        /* "View.MemoryView":676
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:             # <<<<<<<<<<<<<<
+@@ -14616,7 +16109,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+         goto __pyx_L7;
+       }
+ 
+-      /* "View.MemoryView":671
++      /* "View.MemoryView":680
+  *                 seen_ellipsis = True
+  *             else:
+  *                 result.append(slice(None))             # <<<<<<<<<<<<<<
+@@ -14624,11 +16117,11 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  *         else:
+  */
+       /*else*/ {
+-        __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_slice__28); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 671, __pyx_L1_error)
++        __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_slice__37); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 680, __pyx_L1_error)
+       }
+       __pyx_L7:;
+ 
+-      /* "View.MemoryView":672
++      /* "View.MemoryView":681
+  *             else:
+  *                 result.append(slice(None))
+  *             have_slices = True             # <<<<<<<<<<<<<<
+@@ -14637,7 +16130,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+       __pyx_v_have_slices = 1;
+ 
+-      /* "View.MemoryView":666
++      /* "View.MemoryView":675
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):
+  *         if item is Ellipsis:             # <<<<<<<<<<<<<<
+@@ -14647,7 +16140,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":674
++    /* "View.MemoryView":683
+  *             have_slices = True
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):             # <<<<<<<<<<<<<<
+@@ -14665,30 +16158,25 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_t_10 = ((!(PyIndex_Check(__pyx_v_item) != 0)) != 0);
+       __pyx_t_1 = __pyx_t_10;
+       __pyx_L9_bool_binop_done:;
+-      if (__pyx_t_1) {
++      if (unlikely(__pyx_t_1)) {
+ 
+-        /* "View.MemoryView":675
++        /* "View.MemoryView":684
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):
+  *                 raise TypeError("Cannot index with type '%s'" % type(item))             # <<<<<<<<<<<<<<
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)
+  */
+-        __pyx_t_7 = __Pyx_PyString_Format(__pyx_kp_s_Cannot_index_with_type_s, ((PyObject *)Py_TYPE(__pyx_v_item))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 675, __pyx_L1_error)
++        __pyx_t_7 = __Pyx_PyString_Format(__pyx_kp_s_Cannot_index_with_type_s, ((PyObject *)Py_TYPE(__pyx_v_item))); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 684, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_7);
+-        __pyx_t_11 = PyTuple_New(1); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 675, __pyx_L1_error)
++        __pyx_t_11 = __Pyx_PyObject_CallOneArg(__pyx_builtin_TypeError, __pyx_t_7); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 684, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_11);
+-        __Pyx_GIVEREF(__pyx_t_7);
+-        PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_7);
+-        __pyx_t_7 = 0;
+-        __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_t_11, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 675, __pyx_L1_error)
+-        __Pyx_GOTREF(__pyx_t_7);
+-        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
+-        __Pyx_Raise(__pyx_t_7, 0, 0, 0);
+         __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+-        __PYX_ERR(2, 675, __pyx_L1_error)
++        __Pyx_Raise(__pyx_t_11, 0, 0, 0);
++        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
++        __PYX_ERR(2, 684, __pyx_L1_error)
+ 
+-        /* "View.MemoryView":674
++        /* "View.MemoryView":683
+  *             have_slices = True
+  *         else:
+  *             if not isinstance(item, slice) and not PyIndex_Check(item):             # <<<<<<<<<<<<<<
+@@ -14697,7 +16185,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+       }
+ 
+-      /* "View.MemoryView":677
++      /* "View.MemoryView":686
+  *                 raise TypeError("Cannot index with type '%s'" % type(item))
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)             # <<<<<<<<<<<<<<
+@@ -14716,18 +16204,18 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+       __pyx_L11_bool_binop_done:;
+       __pyx_v_have_slices = __pyx_t_1;
+ 
+-      /* "View.MemoryView":678
++      /* "View.MemoryView":687
+  * 
+  *             have_slices = have_slices or isinstance(item, slice)
+  *             result.append(item)             # <<<<<<<<<<<<<<
+  * 
+  *     nslices = ndim - len(result)
+  */
+-      __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_v_item); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 678, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_result, __pyx_v_item); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 687, __pyx_L1_error)
+     }
+     __pyx_L6:;
+ 
+-    /* "View.MemoryView":665
++    /* "View.MemoryView":674
+  *     have_slices = False
+  *     seen_ellipsis = False
+  *     for idx, item in enumerate(tup):             # <<<<<<<<<<<<<<
+@@ -14738,17 +16226,17 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":680
++  /* "View.MemoryView":689
+  *             result.append(item)
+  * 
+  *     nslices = ndim - len(result)             # <<<<<<<<<<<<<<
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)
+  */
+-  __pyx_t_5 = PyList_GET_SIZE(__pyx_v_result); if (unlikely(__pyx_t_5 == -1)) __PYX_ERR(2, 680, __pyx_L1_error)
++  __pyx_t_5 = PyList_GET_SIZE(__pyx_v_result); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(2, 689, __pyx_L1_error)
+   __pyx_v_nslices = (__pyx_v_ndim - __pyx_t_5);
+ 
+-  /* "View.MemoryView":681
++  /* "View.MemoryView":690
+  * 
+  *     nslices = ndim - len(result)
+  *     if nslices:             # <<<<<<<<<<<<<<
+@@ -14758,26 +16246,26 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __pyx_t_1 = (__pyx_v_nslices != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":682
++    /* "View.MemoryView":691
+  *     nslices = ndim - len(result)
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)             # <<<<<<<<<<<<<<
+  * 
+  *     return have_slices or nslices, tuple(result)
+  */
+-    __pyx_t_3 = PyList_New(1 * ((__pyx_v_nslices<0) ? 0:__pyx_v_nslices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 682, __pyx_L1_error)
++    __pyx_t_3 = PyList_New(1 * ((__pyx_v_nslices<0) ? 0:__pyx_v_nslices)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 691, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     { Py_ssize_t __pyx_temp;
+       for (__pyx_temp=0; __pyx_temp < __pyx_v_nslices; __pyx_temp++) {
+-        __Pyx_INCREF(__pyx_slice__29);
+-        __Pyx_GIVEREF(__pyx_slice__29);
+-        PyList_SET_ITEM(__pyx_t_3, __pyx_temp, __pyx_slice__29);
++        __Pyx_INCREF(__pyx_slice__38);
++        __Pyx_GIVEREF(__pyx_slice__38);
++        PyList_SET_ITEM(__pyx_t_3, __pyx_temp, __pyx_slice__38);
+       }
+     }
+-    __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_3); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(2, 682, __pyx_L1_error)
++    __pyx_t_9 = __Pyx_PyList_Extend(__pyx_v_result, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 691, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":681
++    /* "View.MemoryView":690
+  * 
+  *     nslices = ndim - len(result)
+  *     if nslices:             # <<<<<<<<<<<<<<
+@@ -14786,7 +16274,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+  */
+   }
+ 
+-  /* "View.MemoryView":684
++  /* "View.MemoryView":693
+  *         result.extend([slice(None)] * nslices)
+  * 
+  *     return have_slices or nslices, tuple(result)             # <<<<<<<<<<<<<<
+@@ -14796,32 +16284,32 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   __Pyx_XDECREF(__pyx_r);
+   if (!__pyx_v_have_slices) {
+   } else {
+-    __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+     __pyx_t_3 = __pyx_t_4;
+     __pyx_t_4 = 0;
+     goto __pyx_L14_bool_binop_done;
+   }
+-  __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_nslices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++  __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_nslices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __pyx_t_3 = __pyx_t_4;
+   __pyx_t_4 = 0;
+   __pyx_L14_bool_binop_done:;
+-  __pyx_t_4 = PyList_AsTuple(__pyx_v_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 684, __pyx_L1_error)
++  __pyx_t_4 = PyList_AsTuple(__pyx_v_result); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 693, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 684, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_7);
++  __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 693, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_11);
+   __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_3);
++  PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_3);
+   __Pyx_GIVEREF(__pyx_t_4);
+-  PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_4);
++  PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_4);
+   __pyx_t_3 = 0;
+   __pyx_t_4 = 0;
+-  __pyx_r = ((PyObject*)__pyx_t_7);
+-  __pyx_t_7 = 0;
++  __pyx_r = ((PyObject*)__pyx_t_11);
++  __pyx_t_11 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":652
++  /* "View.MemoryView":661
+  *     return isinstance(o, memoryview)
+  * 
+  * cdef tuple _unellipsify(object index, int ndim):             # <<<<<<<<<<<<<<
+@@ -14847,7 +16335,7 @@ static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":686
++/* "View.MemoryView":695
+  *     return have_slices or nslices, tuple(result)
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):             # <<<<<<<<<<<<<<
+@@ -14866,7 +16354,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("assert_direct_dimensions", 0);
+ 
+-  /* "View.MemoryView":687
++  /* "View.MemoryView":696
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:             # <<<<<<<<<<<<<<
+@@ -14878,7 +16366,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+     __pyx_t_1 = __pyx_t_3;
+     __pyx_v_suboffset = (__pyx_t_1[0]);
+ 
+-    /* "View.MemoryView":688
++    /* "View.MemoryView":697
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -14886,22 +16374,22 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+  * 
+  */
+     __pyx_t_4 = ((__pyx_v_suboffset >= 0) != 0);
+-    if (__pyx_t_4) {
++    if (unlikely(__pyx_t_4)) {
+ 
+-      /* "View.MemoryView":689
++      /* "View.MemoryView":698
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             raise ValueError("Indirect dimensions not supported")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__30, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 689, __pyx_L1_error)
++      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__39, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 698, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_5);
+       __Pyx_Raise(__pyx_t_5, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-      __PYX_ERR(2, 689, __pyx_L1_error)
++      __PYX_ERR(2, 698, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":688
++      /* "View.MemoryView":697
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -14911,7 +16399,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+     }
+   }
+ 
+-  /* "View.MemoryView":686
++  /* "View.MemoryView":695
+  *     return have_slices or nslices, tuple(result)
+  * 
+  * cdef assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim):             # <<<<<<<<<<<<<<
+@@ -14932,7 +16420,7 @@ static PyObject *assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":696
++/* "View.MemoryView":705
+  * 
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):             # <<<<<<<<<<<<<<
+@@ -14973,7 +16461,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   Py_ssize_t __pyx_t_12;
+   __Pyx_RefNannySetupContext("memview_slice", 0);
+ 
+-  /* "View.MemoryView":697
++  /* "View.MemoryView":706
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):
+  *     cdef int new_ndim = 0, suboffset_dim = -1, dim             # <<<<<<<<<<<<<<
+@@ -14983,16 +16471,16 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_v_new_ndim = 0;
+   __pyx_v_suboffset_dim = -1;
+ 
+-  /* "View.MemoryView":704
++  /* "View.MemoryView":713
+  * 
+  * 
+  *     memset(&dst, 0, sizeof(dst))             # <<<<<<<<<<<<<<
+  * 
+  *     cdef _memoryviewslice memviewsliceobj
+  */
+-  memset((&__pyx_v_dst), 0, (sizeof(__pyx_v_dst)));
++  (void)(memset((&__pyx_v_dst), 0, (sizeof(__pyx_v_dst))));
+ 
+-  /* "View.MemoryView":708
++  /* "View.MemoryView":717
+  *     cdef _memoryviewslice memviewsliceobj
+  * 
+  *     assert memview.view.ndim > 0             # <<<<<<<<<<<<<<
+@@ -15003,12 +16491,12 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   if (unlikely(!Py_OptimizeFlag)) {
+     if (unlikely(!((__pyx_v_memview->view.ndim > 0) != 0))) {
+       PyErr_SetNone(PyExc_AssertionError);
+-      __PYX_ERR(2, 708, __pyx_L1_error)
++      __PYX_ERR(2, 717, __pyx_L1_error)
+     }
+   }
+   #endif
+ 
+-  /* "View.MemoryView":710
++  /* "View.MemoryView":719
+  *     assert memview.view.ndim > 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -15019,20 +16507,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":711
++    /* "View.MemoryView":720
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         memviewsliceobj = memview             # <<<<<<<<<<<<<<
+  *         p_src = &memviewsliceobj.from_slice
+  *     else:
+  */
+-    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 711, __pyx_L1_error)
++    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 720, __pyx_L1_error)
+     __pyx_t_3 = ((PyObject *)__pyx_v_memview);
+     __Pyx_INCREF(__pyx_t_3);
+     __pyx_v_memviewsliceobj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":712
++    /* "View.MemoryView":721
+  *     if isinstance(memview, _memoryviewslice):
+  *         memviewsliceobj = memview
+  *         p_src = &memviewsliceobj.from_slice             # <<<<<<<<<<<<<<
+@@ -15041,7 +16529,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+     __pyx_v_p_src = (&__pyx_v_memviewsliceobj->from_slice);
+ 
+-    /* "View.MemoryView":710
++    /* "View.MemoryView":719
+  *     assert memview.view.ndim > 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -15051,7 +16539,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":714
++  /* "View.MemoryView":723
+  *         p_src = &memviewsliceobj.from_slice
+  *     else:
+  *         slice_copy(memview, &src)             # <<<<<<<<<<<<<<
+@@ -15061,7 +16549,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   /*else*/ {
+     __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_src));
+ 
+-    /* "View.MemoryView":715
++    /* "View.MemoryView":724
+  *     else:
+  *         slice_copy(memview, &src)
+  *         p_src = &src             # <<<<<<<<<<<<<<
+@@ -15072,7 +16560,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":721
++  /* "View.MemoryView":730
+  * 
+  * 
+  *     dst.memview = p_src.memview             # <<<<<<<<<<<<<<
+@@ -15082,7 +16570,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_4 = __pyx_v_p_src->memview;
+   __pyx_v_dst.memview = __pyx_t_4;
+ 
+-  /* "View.MemoryView":722
++  /* "View.MemoryView":731
+  * 
+  *     dst.memview = p_src.memview
+  *     dst.data = p_src.data             # <<<<<<<<<<<<<<
+@@ -15092,7 +16580,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_5 = __pyx_v_p_src->data;
+   __pyx_v_dst.data = __pyx_t_5;
+ 
+-  /* "View.MemoryView":727
++  /* "View.MemoryView":736
+  * 
+  * 
+  *     cdef __Pyx_memviewslice *p_dst = &dst             # <<<<<<<<<<<<<<
+@@ -15101,7 +16589,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   __pyx_v_p_dst = (&__pyx_v_dst);
+ 
+-  /* "View.MemoryView":728
++  /* "View.MemoryView":737
+  * 
+  *     cdef __Pyx_memviewslice *p_dst = &dst
+  *     cdef int *p_suboffset_dim = &suboffset_dim             # <<<<<<<<<<<<<<
+@@ -15110,7 +16598,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   __pyx_v_p_suboffset_dim = (&__pyx_v_suboffset_dim);
+ 
+-  /* "View.MemoryView":732
++  /* "View.MemoryView":741
+  *     cdef bint have_start, have_stop, have_step
+  * 
+  *     for dim, index in enumerate(indices):             # <<<<<<<<<<<<<<
+@@ -15122,26 +16610,26 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_3 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_3); __pyx_t_7 = 0;
+     __pyx_t_8 = NULL;
+   } else {
+-    __pyx_t_7 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 732, __pyx_L1_error)
++    __pyx_t_7 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 741, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __pyx_t_8 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 732, __pyx_L1_error)
++    __pyx_t_8 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 741, __pyx_L1_error)
+   }
+   for (;;) {
+     if (likely(!__pyx_t_8)) {
+       if (likely(PyList_CheckExact(__pyx_t_3))) {
+         if (__pyx_t_7 >= PyList_GET_SIZE(__pyx_t_3)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 732, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 741, __pyx_L1_error)
+         #else
+-        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 732, __pyx_L1_error)
++        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 741, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_9);
+         #endif
+       } else {
+         if (__pyx_t_7 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-        __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 732, __pyx_L1_error)
++        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++        __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) __PYX_ERR(2, 741, __pyx_L1_error)
+         #else
+-        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 732, __pyx_L1_error)
++        __pyx_t_9 = PySequence_ITEM(__pyx_t_3, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 741, __pyx_L1_error)
+         __Pyx_GOTREF(__pyx_t_9);
+         #endif
+       }
+@@ -15150,8 +16638,8 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       if (unlikely(!__pyx_t_9)) {
+         PyObject* exc_type = PyErr_Occurred();
+         if (exc_type) {
+-          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
+-          else __PYX_ERR(2, 732, __pyx_L1_error)
++          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
++          else __PYX_ERR(2, 741, __pyx_L1_error)
+         }
+         break;
+       }
+@@ -15162,7 +16650,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_v_dim = __pyx_t_6;
+     __pyx_t_6 = (__pyx_t_6 + 1);
+ 
+-    /* "View.MemoryView":733
++    /* "View.MemoryView":742
+  * 
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):             # <<<<<<<<<<<<<<
+@@ -15172,25 +16660,25 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_2 = (PyIndex_Check(__pyx_v_index) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":737
++      /* "View.MemoryView":746
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  *                 index, 0, 0, # start, stop, step             # <<<<<<<<<<<<<<
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  */
+-      __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 737, __pyx_L1_error)
++      __pyx_t_10 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_10 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 746, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":734
++      /* "View.MemoryView":743
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):
+  *             slice_memviewslice(             # <<<<<<<<<<<<<<
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  */
+-      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_t_10, 0, 0, 0, 0, 0, 0); if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(2, 734, __pyx_L1_error)
++      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_t_10, 0, 0, 0, 0, 0, 0); if (unlikely(__pyx_t_11 == ((int)-1))) __PYX_ERR(2, 743, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":733
++      /* "View.MemoryView":742
+  * 
+  *     for dim, index in enumerate(indices):
+  *         if PyIndex_Check(index):             # <<<<<<<<<<<<<<
+@@ -15200,7 +16688,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":740
++    /* "View.MemoryView":749
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  *         elif index is None:             # <<<<<<<<<<<<<<
+@@ -15211,7 +16699,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     __pyx_t_1 = (__pyx_t_2 != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":741
++      /* "View.MemoryView":750
+  *                 False)
+  *         elif index is None:
+  *             p_dst.shape[new_ndim] = 1             # <<<<<<<<<<<<<<
+@@ -15220,7 +16708,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->shape[__pyx_v_new_ndim]) = 1;
+ 
+-      /* "View.MemoryView":742
++      /* "View.MemoryView":751
+  *         elif index is None:
+  *             p_dst.shape[new_ndim] = 1
+  *             p_dst.strides[new_ndim] = 0             # <<<<<<<<<<<<<<
+@@ -15229,7 +16717,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->strides[__pyx_v_new_ndim]) = 0;
+ 
+-      /* "View.MemoryView":743
++      /* "View.MemoryView":752
+  *             p_dst.shape[new_ndim] = 1
+  *             p_dst.strides[new_ndim] = 0
+  *             p_dst.suboffsets[new_ndim] = -1             # <<<<<<<<<<<<<<
+@@ -15238,7 +16726,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       (__pyx_v_p_dst->suboffsets[__pyx_v_new_ndim]) = -1L;
+ 
+-      /* "View.MemoryView":744
++      /* "View.MemoryView":753
+  *             p_dst.strides[new_ndim] = 0
+  *             p_dst.suboffsets[new_ndim] = -1
+  *             new_ndim += 1             # <<<<<<<<<<<<<<
+@@ -15247,7 +16735,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+       __pyx_v_new_ndim = (__pyx_v_new_ndim + 1);
+ 
+-      /* "View.MemoryView":740
++      /* "View.MemoryView":749
+  *                 0, 0, 0, # have_{start,stop,step}
+  *                 False)
+  *         elif index is None:             # <<<<<<<<<<<<<<
+@@ -15257,7 +16745,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       goto __pyx_L6;
+     }
+ 
+-    /* "View.MemoryView":746
++    /* "View.MemoryView":755
+  *             new_ndim += 1
+  *         else:
+  *             start = index.start or 0             # <<<<<<<<<<<<<<
+@@ -15265,13 +16753,13 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  *             step = index.step or 0
+  */
+     /*else*/ {
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 746, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 755, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 746, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 755, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 746, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 755, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L7_bool_binop_done;
+@@ -15280,20 +16768,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L7_bool_binop_done:;
+       __pyx_v_start = __pyx_t_10;
+ 
+-      /* "View.MemoryView":747
++      /* "View.MemoryView":756
+  *         else:
+  *             start = index.start or 0
+  *             stop = index.stop or 0             # <<<<<<<<<<<<<<
+  *             step = index.step or 0
+  * 
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 747, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 756, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 747, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 756, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 747, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 756, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L9_bool_binop_done;
+@@ -15302,20 +16790,20 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L9_bool_binop_done:;
+       __pyx_v_stop = __pyx_t_10;
+ 
+-      /* "View.MemoryView":748
++      /* "View.MemoryView":757
+  *             start = index.start or 0
+  *             stop = index.stop or 0
+  *             step = index.step or 0             # <<<<<<<<<<<<<<
+  * 
+  *             have_start = index.start is not None
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 748, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 757, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+-      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 748, __pyx_L1_error)
++      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(2, 757, __pyx_L1_error)
+       if (!__pyx_t_1) {
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       } else {
+-        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 748, __pyx_L1_error)
++        __pyx_t_12 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_12 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 757, __pyx_L1_error)
+         __pyx_t_10 = __pyx_t_12;
+         __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+         goto __pyx_L11_bool_binop_done;
+@@ -15324,55 +16812,55 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+       __pyx_L11_bool_binop_done:;
+       __pyx_v_step = __pyx_t_10;
+ 
+-      /* "View.MemoryView":750
++      /* "View.MemoryView":759
+  *             step = index.step or 0
+  * 
+  *             have_start = index.start is not None             # <<<<<<<<<<<<<<
+  *             have_stop = index.stop is not None
+  *             have_step = index.step is not None
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 750, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 759, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_start = __pyx_t_1;
+ 
+-      /* "View.MemoryView":751
++      /* "View.MemoryView":760
+  * 
+  *             have_start = index.start is not None
+  *             have_stop = index.stop is not None             # <<<<<<<<<<<<<<
+  *             have_step = index.step is not None
+  * 
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 751, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 760, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_stop = __pyx_t_1;
+ 
+-      /* "View.MemoryView":752
++      /* "View.MemoryView":761
+  *             have_start = index.start is not None
+  *             have_stop = index.stop is not None
+  *             have_step = index.step is not None             # <<<<<<<<<<<<<<
+  * 
+  *             slice_memviewslice(
+  */
+-      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 752, __pyx_L1_error)
++      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 761, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_9);
+       __pyx_t_1 = (__pyx_t_9 != Py_None);
+       __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+       __pyx_v_have_step = __pyx_t_1;
+ 
+-      /* "View.MemoryView":754
++      /* "View.MemoryView":763
+  *             have_step = index.step is not None
+  * 
+  *             slice_memviewslice(             # <<<<<<<<<<<<<<
+  *                 p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim],
+  *                 dim, new_ndim, p_suboffset_dim,
+  */
+-      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_start, __pyx_v_stop, __pyx_v_step, __pyx_v_have_start, __pyx_v_have_stop, __pyx_v_have_step, 1); if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(2, 754, __pyx_L1_error)
++      __pyx_t_11 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_start, __pyx_v_stop, __pyx_v_step, __pyx_v_have_start, __pyx_v_have_stop, __pyx_v_have_step, 1); if (unlikely(__pyx_t_11 == ((int)-1))) __PYX_ERR(2, 763, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":760
++      /* "View.MemoryView":769
+  *                 have_start, have_stop, have_step,
+  *                 True)
+  *             new_ndim += 1             # <<<<<<<<<<<<<<
+@@ -15383,7 +16871,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+     }
+     __pyx_L6:;
+ 
+-    /* "View.MemoryView":732
++    /* "View.MemoryView":741
+  *     cdef bint have_start, have_stop, have_step
+  * 
+  *     for dim, index in enumerate(indices):             # <<<<<<<<<<<<<<
+@@ -15393,7 +16881,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   }
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":762
++  /* "View.MemoryView":771
+  *             new_ndim += 1
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -15404,7 +16892,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":763
++    /* "View.MemoryView":772
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,             # <<<<<<<<<<<<<<
+@@ -15413,39 +16901,39 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+     __Pyx_XDECREF(((PyObject *)__pyx_r));
+ 
+-    /* "View.MemoryView":764
++    /* "View.MemoryView":773
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,
+  *                                     memviewsliceobj.to_object_func,             # <<<<<<<<<<<<<<
+  *                                     memviewsliceobj.to_dtype_func,
+  *                                     memview.dtype_is_object)
+  */
+-    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 764, __pyx_L1_error) }
++    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 773, __pyx_L1_error) }
+ 
+-    /* "View.MemoryView":765
++    /* "View.MemoryView":774
+  *         return memoryview_fromslice(dst, new_ndim,
+  *                                     memviewsliceobj.to_object_func,
+  *                                     memviewsliceobj.to_dtype_func,             # <<<<<<<<<<<<<<
+  *                                     memview.dtype_is_object)
+  *     else:
+  */
+-    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 765, __pyx_L1_error) }
++    if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(2, 774, __pyx_L1_error) }
+ 
+-    /* "View.MemoryView":763
++    /* "View.MemoryView":772
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         return memoryview_fromslice(dst, new_ndim,             # <<<<<<<<<<<<<<
+  *                                     memviewsliceobj.to_object_func,
+  *                                     memviewsliceobj.to_dtype_func,
+  */
+-    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, __pyx_v_memviewsliceobj->to_object_func, __pyx_v_memviewsliceobj->to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 763, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, __pyx_v_memviewsliceobj->to_object_func, __pyx_v_memviewsliceobj->to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 772, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 763, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 772, __pyx_L1_error)
+     __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":762
++    /* "View.MemoryView":771
+  *             new_ndim += 1
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -15454,7 +16942,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+  */
+   }
+ 
+-  /* "View.MemoryView":768
++  /* "View.MemoryView":777
+  *                                     memview.dtype_is_object)
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,             # <<<<<<<<<<<<<<
+@@ -15464,30 +16952,30 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   /*else*/ {
+     __Pyx_XDECREF(((PyObject *)__pyx_r));
+ 
+-    /* "View.MemoryView":769
++    /* "View.MemoryView":778
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,
+  *                                     memview.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, NULL, NULL, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 768, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, NULL, NULL, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 777, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+ 
+-    /* "View.MemoryView":768
++    /* "View.MemoryView":777
+  *                                     memview.dtype_is_object)
+  *     else:
+  *         return memoryview_fromslice(dst, new_ndim, NULL, NULL,             # <<<<<<<<<<<<<<
+  *                                     memview.dtype_is_object)
+  * 
+  */
+-    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 768, __pyx_L1_error)
++    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(2, 777, __pyx_L1_error)
+     __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":696
++  /* "View.MemoryView":705
+  * 
+  * @cname('__pyx_memview_slice')
+  * cdef memoryview memview_slice(memoryview memview, object indices):             # <<<<<<<<<<<<<<
+@@ -15509,7 +16997,7 @@ static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":793
++/* "View.MemoryView":802
+  * 
+  * @cname('__pyx_memoryview_slice_memviewslice')
+  * cdef int slice_memviewslice(             # <<<<<<<<<<<<<<
+@@ -15525,7 +17013,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   int __pyx_t_2;
+   int __pyx_t_3;
+ 
+-  /* "View.MemoryView":813
++  /* "View.MemoryView":822
+  *     cdef bint negative_step
+  * 
+  *     if not is_slice:             # <<<<<<<<<<<<<<
+@@ -15535,7 +17023,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_1 = ((!(__pyx_v_is_slice != 0)) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":815
++    /* "View.MemoryView":824
+  *     if not is_slice:
+  * 
+  *         if start < 0:             # <<<<<<<<<<<<<<
+@@ -15545,7 +17033,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_1 = ((__pyx_v_start < 0) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":816
++      /* "View.MemoryView":825
+  * 
+  *         if start < 0:
+  *             start += shape             # <<<<<<<<<<<<<<
+@@ -15554,7 +17042,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_start = (__pyx_v_start + __pyx_v_shape);
+ 
+-      /* "View.MemoryView":815
++      /* "View.MemoryView":824
+  *     if not is_slice:
+  * 
+  *         if start < 0:             # <<<<<<<<<<<<<<
+@@ -15563,7 +17051,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":817
++    /* "View.MemoryView":826
+  *         if start < 0:
+  *             start += shape
+  *         if not 0 <= start < shape:             # <<<<<<<<<<<<<<
+@@ -15577,16 +17065,16 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_t_1 != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":818
++      /* "View.MemoryView":827
+  *             start += shape
+  *         if not 0 <= start < shape:
+  *             _err_dim(IndexError, "Index out of bounds (axis %d)", dim)             # <<<<<<<<<<<<<<
+  *     else:
+  * 
+  */
+-      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"Index out of bounds (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 818, __pyx_L1_error)
++      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"Index out of bounds (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 827, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":817
++      /* "View.MemoryView":826
+  *         if start < 0:
+  *             start += shape
+  *         if not 0 <= start < shape:             # <<<<<<<<<<<<<<
+@@ -15595,7 +17083,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":813
++    /* "View.MemoryView":822
+  *     cdef bint negative_step
+  * 
+  *     if not is_slice:             # <<<<<<<<<<<<<<
+@@ -15605,7 +17093,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":821
++  /* "View.MemoryView":830
+  *     else:
+  * 
+  *         negative_step = have_step != 0 and step < 0             # <<<<<<<<<<<<<<
+@@ -15624,7 +17112,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_L6_bool_binop_done:;
+     __pyx_v_negative_step = __pyx_t_2;
+ 
+-    /* "View.MemoryView":823
++    /* "View.MemoryView":832
+  *         negative_step = have_step != 0 and step < 0
+  * 
+  *         if have_step and step == 0:             # <<<<<<<<<<<<<<
+@@ -15642,16 +17130,16 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_L9_bool_binop_done:;
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":824
++      /* "View.MemoryView":833
+  * 
+  *         if have_step and step == 0:
+  *             _err_dim(ValueError, "Step may not be zero (axis %d)", dim)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Step may not be zero (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 824, __pyx_L1_error)
++      __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Step may not be zero (axis %d)"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 833, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":823
++      /* "View.MemoryView":832
+  *         negative_step = have_step != 0 and step < 0
+  * 
+  *         if have_step and step == 0:             # <<<<<<<<<<<<<<
+@@ -15660,7 +17148,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":827
++    /* "View.MemoryView":836
+  * 
+  * 
+  *         if have_start:             # <<<<<<<<<<<<<<
+@@ -15670,7 +17158,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (__pyx_v_have_start != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":828
++      /* "View.MemoryView":837
+  * 
+  *         if have_start:
+  *             if start < 0:             # <<<<<<<<<<<<<<
+@@ -15680,7 +17168,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_start < 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":829
++        /* "View.MemoryView":838
+  *         if have_start:
+  *             if start < 0:
+  *                 start += shape             # <<<<<<<<<<<<<<
+@@ -15689,7 +17177,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_start = (__pyx_v_start + __pyx_v_shape);
+ 
+-        /* "View.MemoryView":830
++        /* "View.MemoryView":839
+  *             if start < 0:
+  *                 start += shape
+  *                 if start < 0:             # <<<<<<<<<<<<<<
+@@ -15699,7 +17187,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = ((__pyx_v_start < 0) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":831
++          /* "View.MemoryView":840
+  *                 start += shape
+  *                 if start < 0:
+  *                     start = 0             # <<<<<<<<<<<<<<
+@@ -15708,7 +17196,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_start = 0;
+ 
+-          /* "View.MemoryView":830
++          /* "View.MemoryView":839
+  *             if start < 0:
+  *                 start += shape
+  *                 if start < 0:             # <<<<<<<<<<<<<<
+@@ -15717,7 +17205,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         }
+ 
+-        /* "View.MemoryView":828
++        /* "View.MemoryView":837
+  * 
+  *         if have_start:
+  *             if start < 0:             # <<<<<<<<<<<<<<
+@@ -15727,7 +17215,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L12;
+       }
+ 
+-      /* "View.MemoryView":832
++      /* "View.MemoryView":841
+  *                 if start < 0:
+  *                     start = 0
+  *             elif start >= shape:             # <<<<<<<<<<<<<<
+@@ -15737,7 +17225,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_start >= __pyx_v_shape) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":833
++        /* "View.MemoryView":842
+  *                     start = 0
+  *             elif start >= shape:
+  *                 if negative_step:             # <<<<<<<<<<<<<<
+@@ -15747,7 +17235,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = (__pyx_v_negative_step != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":834
++          /* "View.MemoryView":843
+  *             elif start >= shape:
+  *                 if negative_step:
+  *                     start = shape - 1             # <<<<<<<<<<<<<<
+@@ -15756,7 +17244,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_start = (__pyx_v_shape - 1);
+ 
+-          /* "View.MemoryView":833
++          /* "View.MemoryView":842
+  *                     start = 0
+  *             elif start >= shape:
+  *                 if negative_step:             # <<<<<<<<<<<<<<
+@@ -15766,7 +17254,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+           goto __pyx_L14;
+         }
+ 
+-        /* "View.MemoryView":836
++        /* "View.MemoryView":845
+  *                     start = shape - 1
+  *                 else:
+  *                     start = shape             # <<<<<<<<<<<<<<
+@@ -15778,7 +17266,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         }
+         __pyx_L14:;
+ 
+-        /* "View.MemoryView":832
++        /* "View.MemoryView":841
+  *                 if start < 0:
+  *                     start = 0
+  *             elif start >= shape:             # <<<<<<<<<<<<<<
+@@ -15788,7 +17276,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       }
+       __pyx_L12:;
+ 
+-      /* "View.MemoryView":827
++      /* "View.MemoryView":836
+  * 
+  * 
+  *         if have_start:             # <<<<<<<<<<<<<<
+@@ -15798,7 +17286,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L11;
+     }
+ 
+-    /* "View.MemoryView":838
++    /* "View.MemoryView":847
+  *                     start = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -15809,7 +17297,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = (__pyx_v_negative_step != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":839
++        /* "View.MemoryView":848
+  *         else:
+  *             if negative_step:
+  *                 start = shape - 1             # <<<<<<<<<<<<<<
+@@ -15818,7 +17306,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_start = (__pyx_v_shape - 1);
+ 
+-        /* "View.MemoryView":838
++        /* "View.MemoryView":847
+  *                     start = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -15828,7 +17316,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L15;
+       }
+ 
+-      /* "View.MemoryView":841
++      /* "View.MemoryView":850
+  *                 start = shape - 1
+  *             else:
+  *                 start = 0             # <<<<<<<<<<<<<<
+@@ -15842,7 +17330,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L11:;
+ 
+-    /* "View.MemoryView":843
++    /* "View.MemoryView":852
+  *                 start = 0
+  * 
+  *         if have_stop:             # <<<<<<<<<<<<<<
+@@ -15852,7 +17340,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (__pyx_v_have_stop != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":844
++      /* "View.MemoryView":853
+  * 
+  *         if have_stop:
+  *             if stop < 0:             # <<<<<<<<<<<<<<
+@@ -15862,7 +17350,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_stop < 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":845
++        /* "View.MemoryView":854
+  *         if have_stop:
+  *             if stop < 0:
+  *                 stop += shape             # <<<<<<<<<<<<<<
+@@ -15871,7 +17359,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = (__pyx_v_stop + __pyx_v_shape);
+ 
+-        /* "View.MemoryView":846
++        /* "View.MemoryView":855
+  *             if stop < 0:
+  *                 stop += shape
+  *                 if stop < 0:             # <<<<<<<<<<<<<<
+@@ -15881,7 +17369,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         __pyx_t_2 = ((__pyx_v_stop < 0) != 0);
+         if (__pyx_t_2) {
+ 
+-          /* "View.MemoryView":847
++          /* "View.MemoryView":856
+  *                 stop += shape
+  *                 if stop < 0:
+  *                     stop = 0             # <<<<<<<<<<<<<<
+@@ -15890,7 +17378,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+           __pyx_v_stop = 0;
+ 
+-          /* "View.MemoryView":846
++          /* "View.MemoryView":855
+  *             if stop < 0:
+  *                 stop += shape
+  *                 if stop < 0:             # <<<<<<<<<<<<<<
+@@ -15899,7 +17387,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         }
+ 
+-        /* "View.MemoryView":844
++        /* "View.MemoryView":853
+  * 
+  *         if have_stop:
+  *             if stop < 0:             # <<<<<<<<<<<<<<
+@@ -15909,7 +17397,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L17;
+       }
+ 
+-      /* "View.MemoryView":848
++      /* "View.MemoryView":857
+  *                 if stop < 0:
+  *                     stop = 0
+  *             elif stop > shape:             # <<<<<<<<<<<<<<
+@@ -15919,7 +17407,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_stop > __pyx_v_shape) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":849
++        /* "View.MemoryView":858
+  *                     stop = 0
+  *             elif stop > shape:
+  *                 stop = shape             # <<<<<<<<<<<<<<
+@@ -15928,7 +17416,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = __pyx_v_shape;
+ 
+-        /* "View.MemoryView":848
++        /* "View.MemoryView":857
+  *                 if stop < 0:
+  *                     stop = 0
+  *             elif stop > shape:             # <<<<<<<<<<<<<<
+@@ -15938,7 +17426,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       }
+       __pyx_L17:;
+ 
+-      /* "View.MemoryView":843
++      /* "View.MemoryView":852
+  *                 start = 0
+  * 
+  *         if have_stop:             # <<<<<<<<<<<<<<
+@@ -15948,7 +17436,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L16;
+     }
+ 
+-    /* "View.MemoryView":851
++    /* "View.MemoryView":860
+  *                 stop = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -15959,7 +17447,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = (__pyx_v_negative_step != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":852
++        /* "View.MemoryView":861
+  *         else:
+  *             if negative_step:
+  *                 stop = -1             # <<<<<<<<<<<<<<
+@@ -15968,7 +17456,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_stop = -1L;
+ 
+-        /* "View.MemoryView":851
++        /* "View.MemoryView":860
+  *                 stop = shape
+  *         else:
+  *             if negative_step:             # <<<<<<<<<<<<<<
+@@ -15978,7 +17466,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L19;
+       }
+ 
+-      /* "View.MemoryView":854
++      /* "View.MemoryView":863
+  *                 stop = -1
+  *             else:
+  *                 stop = shape             # <<<<<<<<<<<<<<
+@@ -15992,7 +17480,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L16:;
+ 
+-    /* "View.MemoryView":856
++    /* "View.MemoryView":865
+  *                 stop = shape
+  * 
+  *         if not have_step:             # <<<<<<<<<<<<<<
+@@ -16002,7 +17490,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_v_have_step != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":857
++      /* "View.MemoryView":866
+  * 
+  *         if not have_step:
+  *             step = 1             # <<<<<<<<<<<<<<
+@@ -16011,7 +17499,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_step = 1;
+ 
+-      /* "View.MemoryView":856
++      /* "View.MemoryView":865
+  *                 stop = shape
+  * 
+  *         if not have_step:             # <<<<<<<<<<<<<<
+@@ -16020,7 +17508,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":861
++    /* "View.MemoryView":870
+  * 
+  *         with cython.cdivision(True):
+  *             new_shape = (stop - start) // step             # <<<<<<<<<<<<<<
+@@ -16029,7 +17517,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     __pyx_v_new_shape = ((__pyx_v_stop - __pyx_v_start) / __pyx_v_step);
+ 
+-    /* "View.MemoryView":863
++    /* "View.MemoryView":872
+  *             new_shape = (stop - start) // step
+  * 
+  *             if (stop - start) - step * new_shape:             # <<<<<<<<<<<<<<
+@@ -16039,7 +17527,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = (((__pyx_v_stop - __pyx_v_start) - (__pyx_v_step * __pyx_v_new_shape)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":864
++      /* "View.MemoryView":873
+  * 
+  *             if (stop - start) - step * new_shape:
+  *                 new_shape += 1             # <<<<<<<<<<<<<<
+@@ -16048,7 +17536,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_new_shape = (__pyx_v_new_shape + 1);
+ 
+-      /* "View.MemoryView":863
++      /* "View.MemoryView":872
+  *             new_shape = (stop - start) // step
+  * 
+  *             if (stop - start) - step * new_shape:             # <<<<<<<<<<<<<<
+@@ -16057,7 +17545,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":866
++    /* "View.MemoryView":875
+  *                 new_shape += 1
+  * 
+  *         if new_shape < 0:             # <<<<<<<<<<<<<<
+@@ -16067,7 +17555,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((__pyx_v_new_shape < 0) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":867
++      /* "View.MemoryView":876
+  * 
+  *         if new_shape < 0:
+  *             new_shape = 0             # <<<<<<<<<<<<<<
+@@ -16076,7 +17564,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       __pyx_v_new_shape = 0;
+ 
+-      /* "View.MemoryView":866
++      /* "View.MemoryView":875
+  *                 new_shape += 1
+  * 
+  *         if new_shape < 0:             # <<<<<<<<<<<<<<
+@@ -16085,7 +17573,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     }
+ 
+-    /* "View.MemoryView":870
++    /* "View.MemoryView":879
+  * 
+  * 
+  *         dst.strides[new_ndim] = stride * step             # <<<<<<<<<<<<<<
+@@ -16094,7 +17582,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     (__pyx_v_dst->strides[__pyx_v_new_ndim]) = (__pyx_v_stride * __pyx_v_step);
+ 
+-    /* "View.MemoryView":871
++    /* "View.MemoryView":880
+  * 
+  *         dst.strides[new_ndim] = stride * step
+  *         dst.shape[new_ndim] = new_shape             # <<<<<<<<<<<<<<
+@@ -16103,7 +17591,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     (__pyx_v_dst->shape[__pyx_v_new_ndim]) = __pyx_v_new_shape;
+ 
+-    /* "View.MemoryView":872
++    /* "View.MemoryView":881
+  *         dst.strides[new_ndim] = stride * step
+  *         dst.shape[new_ndim] = new_shape
+  *         dst.suboffsets[new_ndim] = suboffset             # <<<<<<<<<<<<<<
+@@ -16114,7 +17602,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":875
++  /* "View.MemoryView":884
+  * 
+  * 
+  *     if suboffset_dim[0] < 0:             # <<<<<<<<<<<<<<
+@@ -16124,7 +17612,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_2 = (((__pyx_v_suboffset_dim[0]) < 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":876
++    /* "View.MemoryView":885
+  * 
+  *     if suboffset_dim[0] < 0:
+  *         dst.data += start * stride             # <<<<<<<<<<<<<<
+@@ -16133,7 +17621,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+     __pyx_v_dst->data = (__pyx_v_dst->data + (__pyx_v_start * __pyx_v_stride));
+ 
+-    /* "View.MemoryView":875
++    /* "View.MemoryView":884
+  * 
+  * 
+  *     if suboffset_dim[0] < 0:             # <<<<<<<<<<<<<<
+@@ -16143,7 +17631,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     goto __pyx_L23;
+   }
+ 
+-  /* "View.MemoryView":878
++  /* "View.MemoryView":887
+  *         dst.data += start * stride
+  *     else:
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride             # <<<<<<<<<<<<<<
+@@ -16156,7 +17644,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   }
+   __pyx_L23:;
+ 
+-  /* "View.MemoryView":880
++  /* "View.MemoryView":889
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride
+  * 
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -16166,7 +17654,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_t_2 = ((__pyx_v_suboffset >= 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":881
++    /* "View.MemoryView":890
+  * 
+  *     if suboffset >= 0:
+  *         if not is_slice:             # <<<<<<<<<<<<<<
+@@ -16176,7 +17664,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     __pyx_t_2 = ((!(__pyx_v_is_slice != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":882
++      /* "View.MemoryView":891
+  *     if suboffset >= 0:
+  *         if not is_slice:
+  *             if new_ndim == 0:             # <<<<<<<<<<<<<<
+@@ -16186,7 +17674,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       __pyx_t_2 = ((__pyx_v_new_ndim == 0) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":883
++        /* "View.MemoryView":892
+  *         if not is_slice:
+  *             if new_ndim == 0:
+  *                 dst.data = ( dst.data)[0] + suboffset             # <<<<<<<<<<<<<<
+@@ -16195,7 +17683,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+         __pyx_v_dst->data = ((((char **)__pyx_v_dst->data)[0]) + __pyx_v_suboffset);
+ 
+-        /* "View.MemoryView":882
++        /* "View.MemoryView":891
+  *     if suboffset >= 0:
+  *         if not is_slice:
+  *             if new_ndim == 0:             # <<<<<<<<<<<<<<
+@@ -16205,7 +17693,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+         goto __pyx_L26;
+       }
+ 
+-      /* "View.MemoryView":885
++      /* "View.MemoryView":894
+  *                 dst.data = ( dst.data)[0] + suboffset
+  *             else:
+  *                 _err_dim(IndexError, "All dimensions preceding dimension %d "             # <<<<<<<<<<<<<<
+@@ -16214,18 +17702,18 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+       /*else*/ {
+ 
+-        /* "View.MemoryView":886
++        /* "View.MemoryView":895
+  *             else:
+  *                 _err_dim(IndexError, "All dimensions preceding dimension %d "
+  *                                      "must be indexed and not sliced", dim)             # <<<<<<<<<<<<<<
+  *         else:
+  *             suboffset_dim[0] = new_ndim
+  */
+-        __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"All dimensions preceding dimension %d must be indexed and not sliced"), __pyx_v_dim); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 885, __pyx_L1_error)
++        __pyx_t_3 = __pyx_memoryview_err_dim(__pyx_builtin_IndexError, ((char *)"All dimensions preceding dimension %d must be indexed and not sliced"), __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 894, __pyx_L1_error)
+       }
+       __pyx_L26:;
+ 
+-      /* "View.MemoryView":881
++      /* "View.MemoryView":890
+  * 
+  *     if suboffset >= 0:
+  *         if not is_slice:             # <<<<<<<<<<<<<<
+@@ -16235,7 +17723,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+       goto __pyx_L25;
+     }
+ 
+-    /* "View.MemoryView":888
++    /* "View.MemoryView":897
+  *                                      "must be indexed and not sliced", dim)
+  *         else:
+  *             suboffset_dim[0] = new_ndim             # <<<<<<<<<<<<<<
+@@ -16247,7 +17735,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+     }
+     __pyx_L25:;
+ 
+-    /* "View.MemoryView":880
++    /* "View.MemoryView":889
+  *         dst.suboffsets[suboffset_dim[0]] += start * stride
+  * 
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -16256,7 +17744,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+  */
+   }
+ 
+-  /* "View.MemoryView":890
++  /* "View.MemoryView":899
+  *             suboffset_dim[0] = new_ndim
+  * 
+  *     return 0             # <<<<<<<<<<<<<<
+@@ -16266,7 +17754,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":793
++  /* "View.MemoryView":802
+  * 
+  * @cname('__pyx_memoryview_slice_memviewslice')
+  * cdef int slice_memviewslice(             # <<<<<<<<<<<<<<
+@@ -16278,11 +17766,11 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.slice_memviewslice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = -1;
+@@ -16290,7 +17778,7 @@ static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst,
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":896
++/* "View.MemoryView":905
+  * 
+  * @cname('__pyx_pybuffer_index')
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,             # <<<<<<<<<<<<<<
+@@ -16312,7 +17800,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   PyObject *__pyx_t_4 = NULL;
+   __Pyx_RefNannySetupContext("pybuffer_index", 0);
+ 
+-  /* "View.MemoryView":898
++  /* "View.MemoryView":907
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,
+  *                           Py_ssize_t dim) except NULL:
+  *     cdef Py_ssize_t shape, stride, suboffset = -1             # <<<<<<<<<<<<<<
+@@ -16321,7 +17809,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   __pyx_v_suboffset = -1L;
+ 
+-  /* "View.MemoryView":899
++  /* "View.MemoryView":908
+  *                           Py_ssize_t dim) except NULL:
+  *     cdef Py_ssize_t shape, stride, suboffset = -1
+  *     cdef Py_ssize_t itemsize = view.itemsize             # <<<<<<<<<<<<<<
+@@ -16331,7 +17819,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_1 = __pyx_v_view->itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":902
++  /* "View.MemoryView":911
+  *     cdef char *resultp
+  * 
+  *     if view.ndim == 0:             # <<<<<<<<<<<<<<
+@@ -16341,7 +17829,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_view->ndim == 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":903
++    /* "View.MemoryView":912
+  * 
+  *     if view.ndim == 0:
+  *         shape = view.len / itemsize             # <<<<<<<<<<<<<<
+@@ -16350,15 +17838,15 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     if (unlikely(__pyx_v_itemsize == 0)) {
+       PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero");
+-      __PYX_ERR(2, 903, __pyx_L1_error)
++      __PYX_ERR(2, 912, __pyx_L1_error)
+     }
+     else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_itemsize == (Py_ssize_t)-1)  && unlikely(UNARY_NEG_WOULD_OVERFLOW(__pyx_v_view->len))) {
+       PyErr_SetString(PyExc_OverflowError, "value too large to perform division");
+-      __PYX_ERR(2, 903, __pyx_L1_error)
++      __PYX_ERR(2, 912, __pyx_L1_error)
+     }
+     __pyx_v_shape = __Pyx_div_Py_ssize_t(__pyx_v_view->len, __pyx_v_itemsize);
+ 
+-    /* "View.MemoryView":904
++    /* "View.MemoryView":913
+  *     if view.ndim == 0:
+  *         shape = view.len / itemsize
+  *         stride = itemsize             # <<<<<<<<<<<<<<
+@@ -16367,7 +17855,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_stride = __pyx_v_itemsize;
+ 
+-    /* "View.MemoryView":902
++    /* "View.MemoryView":911
+  *     cdef char *resultp
+  * 
+  *     if view.ndim == 0:             # <<<<<<<<<<<<<<
+@@ -16377,7 +17865,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":906
++  /* "View.MemoryView":915
+  *         stride = itemsize
+  *     else:
+  *         shape = view.shape[dim]             # <<<<<<<<<<<<<<
+@@ -16387,7 +17875,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   /*else*/ {
+     __pyx_v_shape = (__pyx_v_view->shape[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":907
++    /* "View.MemoryView":916
+  *     else:
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]             # <<<<<<<<<<<<<<
+@@ -16396,7 +17884,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_stride = (__pyx_v_view->strides[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":908
++    /* "View.MemoryView":917
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -16406,7 +17894,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+     __pyx_t_2 = ((__pyx_v_view->suboffsets != NULL) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":909
++      /* "View.MemoryView":918
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:
+  *             suboffset = view.suboffsets[dim]             # <<<<<<<<<<<<<<
+@@ -16415,7 +17903,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+       __pyx_v_suboffset = (__pyx_v_view->suboffsets[__pyx_v_dim]);
+ 
+-      /* "View.MemoryView":908
++      /* "View.MemoryView":917
+  *         shape = view.shape[dim]
+  *         stride = view.strides[dim]
+  *         if view.suboffsets != NULL:             # <<<<<<<<<<<<<<
+@@ -16426,7 +17914,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":911
++  /* "View.MemoryView":920
+  *             suboffset = view.suboffsets[dim]
+  * 
+  *     if index < 0:             # <<<<<<<<<<<<<<
+@@ -16436,7 +17924,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_index < 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":912
++    /* "View.MemoryView":921
+  * 
+  *     if index < 0:
+  *         index += view.shape[dim]             # <<<<<<<<<<<<<<
+@@ -16445,7 +17933,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_index = (__pyx_v_index + (__pyx_v_view->shape[__pyx_v_dim]));
+ 
+-    /* "View.MemoryView":913
++    /* "View.MemoryView":922
+  *     if index < 0:
+  *         index += view.shape[dim]
+  *         if index < 0:             # <<<<<<<<<<<<<<
+@@ -16453,33 +17941,28 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  * 
+  */
+     __pyx_t_2 = ((__pyx_v_index < 0) != 0);
+-    if (__pyx_t_2) {
++    if (unlikely(__pyx_t_2)) {
+ 
+-      /* "View.MemoryView":914
++      /* "View.MemoryView":923
+  *         index += view.shape[dim]
+  *         if index < 0:
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)             # <<<<<<<<<<<<<<
+  * 
+  *     if index >= shape:
+  */
+-      __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_4);
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 914, __pyx_L1_error)
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_IndexError, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 923, __pyx_L1_error)
+       __Pyx_GOTREF(__pyx_t_3);
+-      __Pyx_GIVEREF(__pyx_t_4);
+-      PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
+-      __pyx_t_4 = 0;
+-      __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 914, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_4);
+-      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-      __Pyx_Raise(__pyx_t_4, 0, 0, 0);
+       __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-      __PYX_ERR(2, 914, __pyx_L1_error)
++      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      __PYX_ERR(2, 923, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":913
++      /* "View.MemoryView":922
+  *     if index < 0:
+  *         index += view.shape[dim]
+  *         if index < 0:             # <<<<<<<<<<<<<<
+@@ -16488,7 +17971,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     }
+ 
+-    /* "View.MemoryView":911
++    /* "View.MemoryView":920
+  *             suboffset = view.suboffsets[dim]
+  * 
+  *     if index < 0:             # <<<<<<<<<<<<<<
+@@ -16497,7 +17980,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":916
++  /* "View.MemoryView":925
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     if index >= shape:             # <<<<<<<<<<<<<<
+@@ -16505,33 +17988,28 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  * 
+  */
+   __pyx_t_2 = ((__pyx_v_index >= __pyx_v_shape) != 0);
+-  if (__pyx_t_2) {
++  if (unlikely(__pyx_t_2)) {
+ 
+-    /* "View.MemoryView":917
++    /* "View.MemoryView":926
+  * 
+  *     if index >= shape:
+  *         raise IndexError("Out of bounds on buffer access (axis %d)" % dim)             # <<<<<<<<<<<<<<
+  * 
+  *     resultp = bufp + index * stride
+  */
+-    __pyx_t_4 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 917, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_4);
+-    __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+-    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-    __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_4);
+-    __Pyx_GIVEREF(__pyx_t_3);
+-    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-    __pyx_t_3 = 0;
+-    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_IndexError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 917, __pyx_L1_error)
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_IndexError, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 926, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-    __PYX_ERR(2, 917, __pyx_L1_error)
++    __PYX_ERR(2, 926, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":916
++    /* "View.MemoryView":925
+  *             raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     if index >= shape:             # <<<<<<<<<<<<<<
+@@ -16540,7 +18018,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":919
++  /* "View.MemoryView":928
+  *         raise IndexError("Out of bounds on buffer access (axis %d)" % dim)
+  * 
+  *     resultp = bufp + index * stride             # <<<<<<<<<<<<<<
+@@ -16549,7 +18027,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   __pyx_v_resultp = (__pyx_v_bufp + (__pyx_v_index * __pyx_v_stride));
+ 
+-  /* "View.MemoryView":920
++  /* "View.MemoryView":929
+  * 
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -16559,7 +18037,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_t_2 = ((__pyx_v_suboffset >= 0) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":921
++    /* "View.MemoryView":930
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:
+  *         resultp = ( resultp)[0] + suboffset             # <<<<<<<<<<<<<<
+@@ -16568,7 +18046,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+     __pyx_v_resultp = ((((char **)__pyx_v_resultp)[0]) + __pyx_v_suboffset);
+ 
+-    /* "View.MemoryView":920
++    /* "View.MemoryView":929
+  * 
+  *     resultp = bufp + index * stride
+  *     if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -16577,7 +18055,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+  */
+   }
+ 
+-  /* "View.MemoryView":923
++  /* "View.MemoryView":932
+  *         resultp = ( resultp)[0] + suboffset
+  * 
+  *     return resultp             # <<<<<<<<<<<<<<
+@@ -16587,7 +18065,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   __pyx_r = __pyx_v_resultp;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":896
++  /* "View.MemoryView":905
+  * 
+  * @cname('__pyx_pybuffer_index')
+  * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index,             # <<<<<<<<<<<<<<
+@@ -16606,7 +18084,7 @@ static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, P
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":929
++/* "View.MemoryView":938
+  * 
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:             # <<<<<<<<<<<<<<
+@@ -16624,13 +18102,14 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   int __pyx_t_1;
+   Py_ssize_t *__pyx_t_2;
+   long __pyx_t_3;
+-  Py_ssize_t __pyx_t_4;
++  long __pyx_t_4;
+   Py_ssize_t __pyx_t_5;
+-  int __pyx_t_6;
++  Py_ssize_t __pyx_t_6;
+   int __pyx_t_7;
+   int __pyx_t_8;
++  int __pyx_t_9;
+ 
+-  /* "View.MemoryView":930
++  /* "View.MemoryView":939
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:
+  *     cdef int ndim = memslice.memview.view.ndim             # <<<<<<<<<<<<<<
+@@ -16640,7 +18119,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_1 = __pyx_v_memslice->memview->view.ndim;
+   __pyx_v_ndim = __pyx_t_1;
+ 
+-  /* "View.MemoryView":932
++  /* "View.MemoryView":941
+  *     cdef int ndim = memslice.memview.view.ndim
+  * 
+  *     cdef Py_ssize_t *shape = memslice.shape             # <<<<<<<<<<<<<<
+@@ -16650,7 +18129,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_2 = __pyx_v_memslice->shape;
+   __pyx_v_shape = __pyx_t_2;
+ 
+-  /* "View.MemoryView":933
++  /* "View.MemoryView":942
+  * 
+  *     cdef Py_ssize_t *shape = memslice.shape
+  *     cdef Py_ssize_t *strides = memslice.strides             # <<<<<<<<<<<<<<
+@@ -16660,7 +18139,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_t_2 = __pyx_v_memslice->strides;
+   __pyx_v_strides = __pyx_t_2;
+ 
+-  /* "View.MemoryView":937
++  /* "View.MemoryView":946
+  * 
+  *     cdef int i, j
+  *     for i in range(ndim / 2):             # <<<<<<<<<<<<<<
+@@ -16668,10 +18147,11 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+  *         strides[i], strides[j] = strides[j], strides[i]
+  */
+   __pyx_t_3 = __Pyx_div_long(__pyx_v_ndim, 2);
+-  for (__pyx_t_1 = 0; __pyx_t_1 < __pyx_t_3; __pyx_t_1+=1) {
++  __pyx_t_4 = __pyx_t_3;
++  for (__pyx_t_1 = 0; __pyx_t_1 < __pyx_t_4; __pyx_t_1+=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":938
++    /* "View.MemoryView":947
+  *     cdef int i, j
+  *     for i in range(ndim / 2):
+  *         j = ndim - 1 - i             # <<<<<<<<<<<<<<
+@@ -16680,58 +18160,58 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+  */
+     __pyx_v_j = ((__pyx_v_ndim - 1) - __pyx_v_i);
+ 
+-    /* "View.MemoryView":939
++    /* "View.MemoryView":948
+  *     for i in range(ndim / 2):
+  *         j = ndim - 1 - i
+  *         strides[i], strides[j] = strides[j], strides[i]             # <<<<<<<<<<<<<<
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  */
+-    __pyx_t_4 = (__pyx_v_strides[__pyx_v_j]);
+-    __pyx_t_5 = (__pyx_v_strides[__pyx_v_i]);
+-    (__pyx_v_strides[__pyx_v_i]) = __pyx_t_4;
+-    (__pyx_v_strides[__pyx_v_j]) = __pyx_t_5;
++    __pyx_t_5 = (__pyx_v_strides[__pyx_v_j]);
++    __pyx_t_6 = (__pyx_v_strides[__pyx_v_i]);
++    (__pyx_v_strides[__pyx_v_i]) = __pyx_t_5;
++    (__pyx_v_strides[__pyx_v_j]) = __pyx_t_6;
+ 
+-    /* "View.MemoryView":940
++    /* "View.MemoryView":949
+  *         j = ndim - 1 - i
+  *         strides[i], strides[j] = strides[j], strides[i]
+  *         shape[i], shape[j] = shape[j], shape[i]             # <<<<<<<<<<<<<<
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:
+  */
+-    __pyx_t_5 = (__pyx_v_shape[__pyx_v_j]);
+-    __pyx_t_4 = (__pyx_v_shape[__pyx_v_i]);
+-    (__pyx_v_shape[__pyx_v_i]) = __pyx_t_5;
+-    (__pyx_v_shape[__pyx_v_j]) = __pyx_t_4;
++    __pyx_t_6 = (__pyx_v_shape[__pyx_v_j]);
++    __pyx_t_5 = (__pyx_v_shape[__pyx_v_i]);
++    (__pyx_v_shape[__pyx_v_i]) = __pyx_t_6;
++    (__pyx_v_shape[__pyx_v_j]) = __pyx_t_5;
+ 
+-    /* "View.MemoryView":942
++    /* "View.MemoryView":951
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:             # <<<<<<<<<<<<<<
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")
+  * 
+  */
+-    __pyx_t_7 = (((__pyx_v_memslice->suboffsets[__pyx_v_i]) >= 0) != 0);
+-    if (!__pyx_t_7) {
++    __pyx_t_8 = (((__pyx_v_memslice->suboffsets[__pyx_v_i]) >= 0) != 0);
++    if (!__pyx_t_8) {
+     } else {
+-      __pyx_t_6 = __pyx_t_7;
++      __pyx_t_7 = __pyx_t_8;
+       goto __pyx_L6_bool_binop_done;
+     }
+-    __pyx_t_7 = (((__pyx_v_memslice->suboffsets[__pyx_v_j]) >= 0) != 0);
+-    __pyx_t_6 = __pyx_t_7;
++    __pyx_t_8 = (((__pyx_v_memslice->suboffsets[__pyx_v_j]) >= 0) != 0);
++    __pyx_t_7 = __pyx_t_8;
+     __pyx_L6_bool_binop_done:;
+-    if (__pyx_t_6) {
++    if (__pyx_t_7) {
+ 
+-      /* "View.MemoryView":943
++      /* "View.MemoryView":952
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")             # <<<<<<<<<<<<<<
+  * 
+  *     return 1
+  */
+-      __pyx_t_8 = __pyx_memoryview_err(__pyx_builtin_ValueError, ((char *)"Cannot transpose memoryview with indirect dimensions")); if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(2, 943, __pyx_L1_error)
++      __pyx_t_9 = __pyx_memoryview_err(__pyx_builtin_ValueError, ((char *)"Cannot transpose memoryview with indirect dimensions")); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(2, 952, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":942
++      /* "View.MemoryView":951
+  *         shape[i], shape[j] = shape[j], shape[i]
+  * 
+  *         if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0:             # <<<<<<<<<<<<<<
+@@ -16741,7 +18221,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+     }
+   }
+ 
+-  /* "View.MemoryView":945
++  /* "View.MemoryView":954
+  *             _err(ValueError, "Cannot transpose memoryview with indirect dimensions")
+  * 
+  *     return 1             # <<<<<<<<<<<<<<
+@@ -16751,7 +18231,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_r = 1;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":929
++  /* "View.MemoryView":938
+  * 
+  * @cname('__pyx_memslice_transpose')
+  * cdef int transpose_memslice(__Pyx_memviewslice *memslice) nogil except 0:             # <<<<<<<<<<<<<<
+@@ -16763,11 +18243,11 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.transpose_memslice", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = 0;
+@@ -16775,7 +18255,7 @@ static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":962
++/* "View.MemoryView":971
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     def __dealloc__(self):             # <<<<<<<<<<<<<<
+@@ -16798,7 +18278,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__dealloc__", 0);
+ 
+-  /* "View.MemoryView":963
++  /* "View.MemoryView":972
+  * 
+  *     def __dealloc__(self):
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)             # <<<<<<<<<<<<<<
+@@ -16807,7 +18287,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+  */
+   __PYX_XDEC_MEMVIEW((&__pyx_v_self->from_slice), 1);
+ 
+-  /* "View.MemoryView":962
++  /* "View.MemoryView":971
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     def __dealloc__(self):             # <<<<<<<<<<<<<<
+@@ -16819,7 +18299,7 @@ static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewsl
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":965
++/* "View.MemoryView":974
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -16834,7 +18314,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   PyObject *__pyx_t_2 = NULL;
+   __Pyx_RefNannySetupContext("convert_item_to_object", 0);
+ 
+-  /* "View.MemoryView":966
++  /* "View.MemoryView":975
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:             # <<<<<<<<<<<<<<
+@@ -16844,7 +18324,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   __pyx_t_1 = ((__pyx_v_self->to_object_func != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":967
++    /* "View.MemoryView":976
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:
+  *             return self.to_object_func(itemp)             # <<<<<<<<<<<<<<
+@@ -16852,13 +18332,13 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  *             return memoryview.convert_item_to_object(self, itemp)
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __pyx_v_self->to_object_func(__pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 967, __pyx_L1_error)
++    __pyx_t_2 = __pyx_v_self->to_object_func(__pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 976, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __pyx_r = __pyx_t_2;
+     __pyx_t_2 = 0;
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":966
++    /* "View.MemoryView":975
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):
+  *         if self.to_object_func != NULL:             # <<<<<<<<<<<<<<
+@@ -16867,7 +18347,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  */
+   }
+ 
+-  /* "View.MemoryView":969
++  /* "View.MemoryView":978
+  *             return self.to_object_func(itemp)
+  *         else:
+  *             return memoryview.convert_item_to_object(self, itemp)             # <<<<<<<<<<<<<<
+@@ -16876,14 +18356,14 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+  */
+   /*else*/ {
+     __Pyx_XDECREF(__pyx_r);
+-    __pyx_t_2 = __pyx_memoryview_convert_item_to_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 969, __pyx_L1_error)
++    __pyx_t_2 = __pyx_memoryview_convert_item_to_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 978, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __pyx_r = __pyx_t_2;
+     __pyx_t_2 = 0;
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":965
++  /* "View.MemoryView":974
+  *         __PYX_XDEC_MEMVIEW(&self.from_slice, 1)
+  * 
+  *     cdef convert_item_to_object(self, char *itemp):             # <<<<<<<<<<<<<<
+@@ -16902,7 +18382,7 @@ static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memor
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":971
++/* "View.MemoryView":980
+  *             return memoryview.convert_item_to_object(self, itemp)
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -16918,7 +18398,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("assign_item_from_object", 0);
+ 
+-  /* "View.MemoryView":972
++  /* "View.MemoryView":981
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:             # <<<<<<<<<<<<<<
+@@ -16928,16 +18408,16 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   __pyx_t_1 = ((__pyx_v_self->to_dtype_func != NULL) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":973
++    /* "View.MemoryView":982
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:
+  *             self.to_dtype_func(itemp, value)             # <<<<<<<<<<<<<<
+  *         else:
+  *             memoryview.assign_item_from_object(self, itemp, value)
+  */
+-    __pyx_t_2 = __pyx_v_self->to_dtype_func(__pyx_v_itemp, __pyx_v_value); if (unlikely(__pyx_t_2 == 0)) __PYX_ERR(2, 973, __pyx_L1_error)
++    __pyx_t_2 = __pyx_v_self->to_dtype_func(__pyx_v_itemp, __pyx_v_value); if (unlikely(__pyx_t_2 == ((int)0))) __PYX_ERR(2, 982, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":972
++    /* "View.MemoryView":981
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):
+  *         if self.to_dtype_func != NULL:             # <<<<<<<<<<<<<<
+@@ -16947,7 +18427,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":975
++  /* "View.MemoryView":984
+  *             self.to_dtype_func(itemp, value)
+  *         else:
+  *             memoryview.assign_item_from_object(self, itemp, value)             # <<<<<<<<<<<<<<
+@@ -16955,13 +18435,13 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+  *     @property
+  */
+   /*else*/ {
+-    __pyx_t_3 = __pyx_memoryview_assign_item_from_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 975, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_assign_item_from_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 984, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":971
++  /* "View.MemoryView":980
+  *             return memoryview.convert_item_to_object(self, itemp)
+  * 
+  *     cdef assign_item_from_object(self, char *itemp, object value):             # <<<<<<<<<<<<<<
+@@ -16982,7 +18462,7 @@ static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memo
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":978
++/* "View.MemoryView":987
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -17008,7 +18488,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   __Pyx_RefNannyDeclarations
+   __Pyx_RefNannySetupContext("__get__", 0);
+ 
+-  /* "View.MemoryView":979
++  /* "View.MemoryView":988
+  *     @property
+  *     def base(self):
+  *         return self.from_object             # <<<<<<<<<<<<<<
+@@ -17020,7 +18500,7 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   __pyx_r = __pyx_v_self->from_object;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":978
++  /* "View.MemoryView":987
+  * 
+  *     @property
+  *     def base(self):             # <<<<<<<<<<<<<<
+@@ -17035,7 +18515,114 @@ static PyObject *__pyx_pf_15View_dot_MemoryView_16_memoryviewslice_4base___get__
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":985
++/* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__reduce_cython__", 0);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__40, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 2, __pyx_L1_error)
++
++  /* "(tree fragment)":1
++ * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state); /*proto*/
++static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
++  __pyx_r = __pyx_pf___pyx_memoryviewslice_2__setstate_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self), ((PyObject *)__pyx_v___pyx_state));
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  __Pyx_RefNannySetupContext("__setstate_cython__", 0);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++  __PYX_ERR(2, 4, __pyx_L1_error)
++
++  /* "(tree fragment)":3
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "View.MemoryView":994
+  * 
+  * @cname('__pyx_memoryview_fromslice')
+  * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice,             # <<<<<<<<<<<<<<
+@@ -17060,7 +18647,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   Py_ssize_t __pyx_t_9;
+   __Pyx_RefNannySetupContext("memoryview_fromslice", 0);
+ 
+-  /* "View.MemoryView":993
++  /* "View.MemoryView":1002
+  *     cdef _memoryviewslice result
+  * 
+  *     if  memviewslice.memview == Py_None:             # <<<<<<<<<<<<<<
+@@ -17070,7 +18657,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_1 = ((((PyObject *)__pyx_v_memviewslice.memview) == Py_None) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":994
++    /* "View.MemoryView":1003
+  * 
+  *     if  memviewslice.memview == Py_None:
+  *         return None             # <<<<<<<<<<<<<<
+@@ -17078,11 +18665,10 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  * 
+  */
+     __Pyx_XDECREF(__pyx_r);
+-    __Pyx_INCREF(Py_None);
+-    __pyx_r = Py_None;
++    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":993
++    /* "View.MemoryView":1002
+  *     cdef _memoryviewslice result
+  * 
+  *     if  memviewslice.memview == Py_None:             # <<<<<<<<<<<<<<
+@@ -17091,16 +18677,16 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   }
+ 
+-  /* "View.MemoryView":999
++  /* "View.MemoryView":1008
+  * 
+  * 
+  *     result = _memoryviewslice(None, 0, dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  *     result.from_slice = memviewslice
+  */
+-  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_INCREF(Py_None);
+   __Pyx_GIVEREF(Py_None);
+@@ -17111,13 +18697,13 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __Pyx_GIVEREF(__pyx_t_2);
+   PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2);
+   __pyx_t_2 = 0;
+-  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryviewslice_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 999, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryviewslice_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1008, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_2);
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":1001
++  /* "View.MemoryView":1010
+  *     result = _memoryviewslice(None, 0, dtype_is_object)
+  * 
+  *     result.from_slice = memviewslice             # <<<<<<<<<<<<<<
+@@ -17126,7 +18712,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->from_slice = __pyx_v_memviewslice;
+ 
+-  /* "View.MemoryView":1002
++  /* "View.MemoryView":1011
+  * 
+  *     result.from_slice = memviewslice
+  *     __PYX_INC_MEMVIEW(&memviewslice, 1)             # <<<<<<<<<<<<<<
+@@ -17135,14 +18721,14 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __PYX_INC_MEMVIEW((&__pyx_v_memviewslice), 1);
+ 
+-  /* "View.MemoryView":1004
++  /* "View.MemoryView":1013
+  *     __PYX_INC_MEMVIEW(&memviewslice, 1)
+  * 
+  *     result.from_object = ( memviewslice.memview).base             # <<<<<<<<<<<<<<
+  *     result.typeinfo = memviewslice.memview.typeinfo
+  * 
+  */
+-  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_memviewslice.memview), __pyx_n_s_base); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1004, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_memviewslice.memview), __pyx_n_s_base); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1013, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+   __Pyx_GIVEREF(__pyx_t_2);
+   __Pyx_GOTREF(__pyx_v_result->from_object);
+@@ -17150,7 +18736,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_v_result->from_object = __pyx_t_2;
+   __pyx_t_2 = 0;
+ 
+-  /* "View.MemoryView":1005
++  /* "View.MemoryView":1014
+  * 
+  *     result.from_object = ( memviewslice.memview).base
+  *     result.typeinfo = memviewslice.memview.typeinfo             # <<<<<<<<<<<<<<
+@@ -17160,7 +18746,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_4 = __pyx_v_memviewslice.memview->typeinfo;
+   __pyx_v_result->__pyx_base.typeinfo = __pyx_t_4;
+ 
+-  /* "View.MemoryView":1007
++  /* "View.MemoryView":1016
+  *     result.typeinfo = memviewslice.memview.typeinfo
+  * 
+  *     result.view = memviewslice.memview.view             # <<<<<<<<<<<<<<
+@@ -17170,7 +18756,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_5 = __pyx_v_memviewslice.memview->view;
+   __pyx_v_result->__pyx_base.view = __pyx_t_5;
+ 
+-  /* "View.MemoryView":1008
++  /* "View.MemoryView":1017
+  * 
+  *     result.view = memviewslice.memview.view
+  *     result.view.buf =  memviewslice.data             # <<<<<<<<<<<<<<
+@@ -17179,7 +18765,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.buf = ((void *)__pyx_v_memviewslice.data);
+ 
+-  /* "View.MemoryView":1009
++  /* "View.MemoryView":1018
+  *     result.view = memviewslice.memview.view
+  *     result.view.buf =  memviewslice.data
+  *     result.view.ndim = ndim             # <<<<<<<<<<<<<<
+@@ -17188,7 +18774,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.ndim = __pyx_v_ndim;
+ 
+-  /* "View.MemoryView":1010
++  /* "View.MemoryView":1019
+  *     result.view.buf =  memviewslice.data
+  *     result.view.ndim = ndim
+  *     (<__pyx_buffer *> &result.view).obj = Py_None             # <<<<<<<<<<<<<<
+@@ -17197,26 +18783,58 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   ((Py_buffer *)(&__pyx_v_result->__pyx_base.view))->obj = Py_None;
+ 
+-  /* "View.MemoryView":1011
++  /* "View.MemoryView":1020
+  *     result.view.ndim = ndim
+  *     (<__pyx_buffer *> &result.view).obj = Py_None
+  *     Py_INCREF(Py_None)             # <<<<<<<<<<<<<<
+  * 
+- *     result.flags = PyBUF_RECORDS
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:
+  */
+   Py_INCREF(Py_None);
+ 
+-  /* "View.MemoryView":1013
++  /* "View.MemoryView":1022
++ *     Py_INCREF(Py_None)
++ * 
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:             # <<<<<<<<<<<<<<
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ */
++  __pyx_t_1 = ((((struct __pyx_memoryview_obj *)__pyx_v_memviewslice.memview)->flags & PyBUF_WRITABLE) != 0);
++  if (__pyx_t_1) {
++
++    /* "View.MemoryView":1023
++ * 
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:
++ *         result.flags = PyBUF_RECORDS             # <<<<<<<<<<<<<<
++ *     else:
++ *         result.flags = PyBUF_RECORDS_RO
++ */
++    __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS;
++
++    /* "View.MemoryView":1022
+  *     Py_INCREF(Py_None)
+  * 
+- *     result.flags = PyBUF_RECORDS             # <<<<<<<<<<<<<<
++ *     if (memviewslice.memview).flags & PyBUF_WRITABLE:             # <<<<<<<<<<<<<<
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ */
++    goto __pyx_L4;
++  }
++
++  /* "View.MemoryView":1025
++ *         result.flags = PyBUF_RECORDS
++ *     else:
++ *         result.flags = PyBUF_RECORDS_RO             # <<<<<<<<<<<<<<
+  * 
+  *     result.view.shape =  result.from_slice.shape
+  */
+-  __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS;
++  /*else*/ {
++    __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS_RO;
++  }
++  __pyx_L4:;
+ 
+-  /* "View.MemoryView":1015
+- *     result.flags = PyBUF_RECORDS
++  /* "View.MemoryView":1027
++ *         result.flags = PyBUF_RECORDS_RO
+  * 
+  *     result.view.shape =  result.from_slice.shape             # <<<<<<<<<<<<<<
+  *     result.view.strides =  result.from_slice.strides
+@@ -17224,7 +18842,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.shape = ((Py_ssize_t *)__pyx_v_result->from_slice.shape);
+ 
+-  /* "View.MemoryView":1016
++  /* "View.MemoryView":1028
+  * 
+  *     result.view.shape =  result.from_slice.shape
+  *     result.view.strides =  result.from_slice.strides             # <<<<<<<<<<<<<<
+@@ -17233,7 +18851,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.strides = ((Py_ssize_t *)__pyx_v_result->from_slice.strides);
+ 
+-  /* "View.MemoryView":1019
++  /* "View.MemoryView":1031
+  * 
+  * 
+  *     result.view.suboffsets = NULL             # <<<<<<<<<<<<<<
+@@ -17242,7 +18860,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->__pyx_base.view.suboffsets = NULL;
+ 
+-  /* "View.MemoryView":1020
++  /* "View.MemoryView":1032
+  * 
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:             # <<<<<<<<<<<<<<
+@@ -17254,7 +18872,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+     __pyx_t_6 = __pyx_t_8;
+     __pyx_v_suboffset = (__pyx_t_6[0]);
+ 
+-    /* "View.MemoryView":1021
++    /* "View.MemoryView":1033
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -17264,7 +18882,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+     __pyx_t_1 = ((__pyx_v_suboffset >= 0) != 0);
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":1022
++      /* "View.MemoryView":1034
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             result.view.suboffsets =  result.from_slice.suboffsets             # <<<<<<<<<<<<<<
+@@ -17273,16 +18891,16 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+       __pyx_v_result->__pyx_base.view.suboffsets = ((Py_ssize_t *)__pyx_v_result->from_slice.suboffsets);
+ 
+-      /* "View.MemoryView":1023
++      /* "View.MemoryView":1035
+  *         if suboffset >= 0:
+  *             result.view.suboffsets =  result.from_slice.suboffsets
+  *             break             # <<<<<<<<<<<<<<
+  * 
+  *     result.view.len = result.view.itemsize
+  */
+-      goto __pyx_L5_break;
++      goto __pyx_L6_break;
+ 
+-      /* "View.MemoryView":1021
++      /* "View.MemoryView":1033
+  *     result.view.suboffsets = NULL
+  *     for suboffset in result.from_slice.suboffsets[:ndim]:
+  *         if suboffset >= 0:             # <<<<<<<<<<<<<<
+@@ -17291,9 +18909,9 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+     }
+   }
+-  __pyx_L5_break:;
++  __pyx_L6_break:;
+ 
+-  /* "View.MemoryView":1025
++  /* "View.MemoryView":1037
+  *             break
+  * 
+  *     result.view.len = result.view.itemsize             # <<<<<<<<<<<<<<
+@@ -17303,7 +18921,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_9 = __pyx_v_result->__pyx_base.view.itemsize;
+   __pyx_v_result->__pyx_base.view.len = __pyx_t_9;
+ 
+-  /* "View.MemoryView":1026
++  /* "View.MemoryView":1038
+  * 
+  *     result.view.len = result.view.itemsize
+  *     for length in result.view.shape[:ndim]:             # <<<<<<<<<<<<<<
+@@ -17313,29 +18931,29 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_t_7 = (__pyx_v_result->__pyx_base.view.shape + __pyx_v_ndim);
+   for (__pyx_t_8 = __pyx_v_result->__pyx_base.view.shape; __pyx_t_8 < __pyx_t_7; __pyx_t_8++) {
+     __pyx_t_6 = __pyx_t_8;
+-    __pyx_t_2 = PyInt_FromSsize_t((__pyx_t_6[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1026, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t((__pyx_t_6[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1038, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+     __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_2);
+     __pyx_t_2 = 0;
+ 
+-    /* "View.MemoryView":1027
++    /* "View.MemoryView":1039
+  *     result.view.len = result.view.itemsize
+  *     for length in result.view.shape[:ndim]:
+  *         result.view.len *= length             # <<<<<<<<<<<<<<
+  * 
+  *     result.to_object_func = to_object_func
+  */
+-    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_result->__pyx_base.view.len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_result->__pyx_base.view.len); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_2);
+-    __pyx_t_3 = PyNumber_InPlaceMultiply(__pyx_t_2, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_3 = PyNumber_InPlaceMultiply(__pyx_t_2, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 1027, __pyx_L1_error)
++    __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(2, 1039, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+     __pyx_v_result->__pyx_base.view.len = __pyx_t_9;
+   }
+ 
+-  /* "View.MemoryView":1029
++  /* "View.MemoryView":1041
+  *         result.view.len *= length
+  * 
+  *     result.to_object_func = to_object_func             # <<<<<<<<<<<<<<
+@@ -17344,7 +18962,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->to_object_func = __pyx_v_to_object_func;
+ 
+-  /* "View.MemoryView":1030
++  /* "View.MemoryView":1042
+  * 
+  *     result.to_object_func = to_object_func
+  *     result.to_dtype_func = to_dtype_func             # <<<<<<<<<<<<<<
+@@ -17353,7 +18971,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+  */
+   __pyx_v_result->to_dtype_func = __pyx_v_to_dtype_func;
+ 
+-  /* "View.MemoryView":1032
++  /* "View.MemoryView":1044
+  *     result.to_dtype_func = to_dtype_func
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -17365,7 +18983,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   __pyx_r = ((PyObject *)__pyx_v_result);
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":985
++  /* "View.MemoryView":994
+  * 
+  * @cname('__pyx_memoryview_fromslice')
+  * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice,             # <<<<<<<<<<<<<<
+@@ -17387,7 +19005,7 @@ static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewsl
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1035
++/* "View.MemoryView":1047
+  * 
+  * @cname('__pyx_memoryview_get_slice_from_memoryview')
+  * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview,             # <<<<<<<<<<<<<<
+@@ -17404,7 +19022,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   PyObject *__pyx_t_3 = NULL;
+   __Pyx_RefNannySetupContext("get_slice_from_memview", 0);
+ 
+-  /* "View.MemoryView":1038
++  /* "View.MemoryView":1050
+  *                                                    __Pyx_memviewslice *mslice):
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -17415,20 +19033,20 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1039
++    /* "View.MemoryView":1051
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):
+  *         obj = memview             # <<<<<<<<<<<<<<
+  *         return &obj.from_slice
+  *     else:
+  */
+-    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 1039, __pyx_L1_error)
++    if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(2, 1051, __pyx_L1_error)
+     __pyx_t_3 = ((PyObject *)__pyx_v_memview);
+     __Pyx_INCREF(__pyx_t_3);
+     __pyx_v_obj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_3);
+     __pyx_t_3 = 0;
+ 
+-    /* "View.MemoryView":1040
++    /* "View.MemoryView":1052
+  *     if isinstance(memview, _memoryviewslice):
+  *         obj = memview
+  *         return &obj.from_slice             # <<<<<<<<<<<<<<
+@@ -17438,7 +19056,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+     __pyx_r = (&__pyx_v_obj->from_slice);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1038
++    /* "View.MemoryView":1050
+  *                                                    __Pyx_memviewslice *mslice):
+  *     cdef _memoryviewslice obj
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -17447,7 +19065,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+  */
+   }
+ 
+-  /* "View.MemoryView":1042
++  /* "View.MemoryView":1054
+  *         return &obj.from_slice
+  *     else:
+  *         slice_copy(memview, mslice)             # <<<<<<<<<<<<<<
+@@ -17457,7 +19075,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   /*else*/ {
+     __pyx_memoryview_slice_copy(__pyx_v_memview, __pyx_v_mslice);
+ 
+-    /* "View.MemoryView":1043
++    /* "View.MemoryView":1055
+  *     else:
+  *         slice_copy(memview, mslice)
+  *         return mslice             # <<<<<<<<<<<<<<
+@@ -17468,7 +19086,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1035
++  /* "View.MemoryView":1047
+  * 
+  * @cname('__pyx_memoryview_get_slice_from_memoryview')
+  * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview,             # <<<<<<<<<<<<<<
+@@ -17479,7 +19097,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   /* function exit code */
+   __pyx_L1_error:;
+   __Pyx_XDECREF(__pyx_t_3);
+-  __Pyx_WriteUnraisable("View.MemoryView.get_slice_from_memview", __pyx_clineno, __pyx_lineno, __pyx_filename, 0, 0);
++  __Pyx_WriteUnraisable("View.MemoryView.get_slice_from_memview", __pyx_clineno, __pyx_lineno, __pyx_filename, 1, 0);
+   __pyx_r = 0;
+   __pyx_L0:;
+   __Pyx_XDECREF((PyObject *)__pyx_v_obj);
+@@ -17487,7 +19105,7 @@ static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __p
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1046
++/* "View.MemoryView":1058
+  * 
+  * @cname('__pyx_memoryview_slice_copy')
+  * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst):             # <<<<<<<<<<<<<<
+@@ -17504,10 +19122,11 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   Py_ssize_t *__pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
+-  Py_ssize_t __pyx_t_4;
++  int __pyx_t_4;
++  Py_ssize_t __pyx_t_5;
+   __Pyx_RefNannySetupContext("slice_copy", 0);
+ 
+-  /* "View.MemoryView":1050
++  /* "View.MemoryView":1062
+  *     cdef (Py_ssize_t*) shape, strides, suboffsets
+  * 
+  *     shape = memview.view.shape             # <<<<<<<<<<<<<<
+@@ -17517,7 +19136,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.shape;
+   __pyx_v_shape = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1051
++  /* "View.MemoryView":1063
+  * 
+  *     shape = memview.view.shape
+  *     strides = memview.view.strides             # <<<<<<<<<<<<<<
+@@ -17527,7 +19146,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.strides;
+   __pyx_v_strides = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1052
++  /* "View.MemoryView":1064
+  *     shape = memview.view.shape
+  *     strides = memview.view.strides
+  *     suboffsets = memview.view.suboffsets             # <<<<<<<<<<<<<<
+@@ -17537,7 +19156,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __pyx_t_1 = __pyx_v_memview->view.suboffsets;
+   __pyx_v_suboffsets = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1054
++  /* "View.MemoryView":1066
+  *     suboffsets = memview.view.suboffsets
+  * 
+  *     dst.memview = <__pyx_memoryview *> memview             # <<<<<<<<<<<<<<
+@@ -17546,7 +19165,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+   __pyx_v_dst->memview = ((struct __pyx_memoryview_obj *)__pyx_v_memview);
+ 
+-  /* "View.MemoryView":1055
++  /* "View.MemoryView":1067
+  * 
+  *     dst.memview = <__pyx_memoryview *> memview
+  *     dst.data =  memview.view.buf             # <<<<<<<<<<<<<<
+@@ -17555,7 +19174,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+   __pyx_v_dst->data = ((char *)__pyx_v_memview->view.buf);
+ 
+-  /* "View.MemoryView":1057
++  /* "View.MemoryView":1069
+  *     dst.data =  memview.view.buf
+  * 
+  *     for dim in range(memview.view.ndim):             # <<<<<<<<<<<<<<
+@@ -17563,10 +19182,11 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  *         dst.strides[dim] = strides[dim]
+  */
+   __pyx_t_2 = __pyx_v_memview->view.ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-    __pyx_v_dim = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_2;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_dim = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1058
++    /* "View.MemoryView":1070
+  * 
+  *     for dim in range(memview.view.ndim):
+  *         dst.shape[dim] = shape[dim]             # <<<<<<<<<<<<<<
+@@ -17575,7 +19195,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+     (__pyx_v_dst->shape[__pyx_v_dim]) = (__pyx_v_shape[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":1059
++    /* "View.MemoryView":1071
+  *     for dim in range(memview.view.ndim):
+  *         dst.shape[dim] = shape[dim]
+  *         dst.strides[dim] = strides[dim]             # <<<<<<<<<<<<<<
+@@ -17584,7 +19204,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  */
+     (__pyx_v_dst->strides[__pyx_v_dim]) = (__pyx_v_strides[__pyx_v_dim]);
+ 
+-    /* "View.MemoryView":1060
++    /* "View.MemoryView":1072
+  *         dst.shape[dim] = shape[dim]
+  *         dst.strides[dim] = strides[dim]
+  *         dst.suboffsets[dim] = suboffsets[dim] if suboffsets else -1             # <<<<<<<<<<<<<<
+@@ -17592,14 +19212,14 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+  * @cname('__pyx_memoryview_copy_object')
+  */
+     if ((__pyx_v_suboffsets != 0)) {
+-      __pyx_t_4 = (__pyx_v_suboffsets[__pyx_v_dim]);
++      __pyx_t_5 = (__pyx_v_suboffsets[__pyx_v_dim]);
+     } else {
+-      __pyx_t_4 = -1L;
++      __pyx_t_5 = -1L;
+     }
+-    (__pyx_v_dst->suboffsets[__pyx_v_dim]) = __pyx_t_4;
++    (__pyx_v_dst->suboffsets[__pyx_v_dim]) = __pyx_t_5;
+   }
+ 
+-  /* "View.MemoryView":1046
++  /* "View.MemoryView":1058
+  * 
+  * @cname('__pyx_memoryview_slice_copy')
+  * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst):             # <<<<<<<<<<<<<<
+@@ -17611,7 +19231,7 @@ static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_mem
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":1063
++/* "View.MemoryView":1075
+  * 
+  * @cname('__pyx_memoryview_copy_object')
+  * cdef memoryview_copy(memoryview memview):             # <<<<<<<<<<<<<<
+@@ -17626,7 +19246,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+   PyObject *__pyx_t_1 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_copy", 0);
+ 
+-  /* "View.MemoryView":1066
++  /* "View.MemoryView":1078
+  *     "Create a new memoryview object"
+  *     cdef __Pyx_memviewslice memviewslice
+  *     slice_copy(memview, &memviewslice)             # <<<<<<<<<<<<<<
+@@ -17635,7 +19255,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+  */
+   __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_memviewslice));
+ 
+-  /* "View.MemoryView":1067
++  /* "View.MemoryView":1079
+  *     cdef __Pyx_memviewslice memviewslice
+  *     slice_copy(memview, &memviewslice)
+  *     return memoryview_copy_from_slice(memview, &memviewslice)             # <<<<<<<<<<<<<<
+@@ -17643,13 +19263,13 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  */
+   __Pyx_XDECREF(__pyx_r);
+-  __pyx_t_1 = __pyx_memoryview_copy_object_from_slice(__pyx_v_memview, (&__pyx_v_memviewslice)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1067, __pyx_L1_error)
++  __pyx_t_1 = __pyx_memoryview_copy_object_from_slice(__pyx_v_memview, (&__pyx_v_memviewslice)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1079, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+   __pyx_r = __pyx_t_1;
+   __pyx_t_1 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1063
++  /* "View.MemoryView":1075
+  * 
+  * @cname('__pyx_memoryview_copy_object')
+  * cdef memoryview_copy(memoryview memview):             # <<<<<<<<<<<<<<
+@@ -17668,7 +19288,7 @@ static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1070
++/* "View.MemoryView":1082
+  * 
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice):             # <<<<<<<<<<<<<<
+@@ -17688,7 +19308,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   PyObject *__pyx_t_5 = NULL;
+   __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 0);
+ 
+-  /* "View.MemoryView":1077
++  /* "View.MemoryView":1089
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -17699,7 +19319,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   __pyx_t_2 = (__pyx_t_1 != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1078
++    /* "View.MemoryView":1090
+  * 
+  *     if isinstance(memview, _memoryviewslice):
+  *         to_object_func = (<_memoryviewslice> memview).to_object_func             # <<<<<<<<<<<<<<
+@@ -17709,7 +19329,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     __pyx_t_3 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_object_func;
+     __pyx_v_to_object_func = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1079
++    /* "View.MemoryView":1091
+  *     if isinstance(memview, _memoryviewslice):
+  *         to_object_func = (<_memoryviewslice> memview).to_object_func
+  *         to_dtype_func = (<_memoryviewslice> memview).to_dtype_func             # <<<<<<<<<<<<<<
+@@ -17719,7 +19339,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     __pyx_t_4 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_dtype_func;
+     __pyx_v_to_dtype_func = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1077
++    /* "View.MemoryView":1089
+  *     cdef int (*to_dtype_func)(char *, object) except 0
+  * 
+  *     if isinstance(memview, _memoryviewslice):             # <<<<<<<<<<<<<<
+@@ -17729,7 +19349,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1081
++  /* "View.MemoryView":1093
+  *         to_dtype_func = (<_memoryviewslice> memview).to_dtype_func
+  *     else:
+  *         to_object_func = NULL             # <<<<<<<<<<<<<<
+@@ -17739,7 +19359,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   /*else*/ {
+     __pyx_v_to_object_func = NULL;
+ 
+-    /* "View.MemoryView":1082
++    /* "View.MemoryView":1094
+  *     else:
+  *         to_object_func = NULL
+  *         to_dtype_func = NULL             # <<<<<<<<<<<<<<
+@@ -17750,7 +19370,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1084
++  /* "View.MemoryView":1096
+  *         to_dtype_func = NULL
+  * 
+  *     return memoryview_fromslice(memviewslice[0], memview.view.ndim,             # <<<<<<<<<<<<<<
+@@ -17759,20 +19379,20 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+  */
+   __Pyx_XDECREF(__pyx_r);
+ 
+-  /* "View.MemoryView":1086
++  /* "View.MemoryView":1098
+  *     return memoryview_fromslice(memviewslice[0], memview.view.ndim,
+  *                                 to_object_func, to_dtype_func,
+  *                                 memview.dtype_is_object)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_5 = __pyx_memoryview_fromslice((__pyx_v_memviewslice[0]), __pyx_v_memview->view.ndim, __pyx_v_to_object_func, __pyx_v_to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1084, __pyx_L1_error)
++  __pyx_t_5 = __pyx_memoryview_fromslice((__pyx_v_memviewslice[0]), __pyx_v_memview->view.ndim, __pyx_v_to_object_func, __pyx_v_to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1096, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __pyx_r = __pyx_t_5;
+   __pyx_t_5 = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1070
++  /* "View.MemoryView":1082
+  * 
+  * @cname('__pyx_memoryview_copy_object_from_slice')
+  * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice):             # <<<<<<<<<<<<<<
+@@ -17791,7 +19411,7 @@ static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1092
++/* "View.MemoryView":1104
+  * 
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:             # <<<<<<<<<<<<<<
+@@ -17803,7 +19423,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   Py_ssize_t __pyx_r;
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":1093
++  /* "View.MemoryView":1105
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:             # <<<<<<<<<<<<<<
+@@ -17813,7 +19433,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   __pyx_t_1 = ((__pyx_v_arg < 0) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1094
++    /* "View.MemoryView":1106
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:
+  *         return -arg             # <<<<<<<<<<<<<<
+@@ -17823,7 +19443,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+     __pyx_r = (-__pyx_v_arg);
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1093
++    /* "View.MemoryView":1105
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:
+  *     if arg < 0:             # <<<<<<<<<<<<<<
+@@ -17832,7 +19452,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+  */
+   }
+ 
+-  /* "View.MemoryView":1096
++  /* "View.MemoryView":1108
+  *         return -arg
+  *     else:
+  *         return arg             # <<<<<<<<<<<<<<
+@@ -17844,7 +19464,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1092
++  /* "View.MemoryView":1104
+  * 
+  * 
+  * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) nogil:             # <<<<<<<<<<<<<<
+@@ -17857,7 +19477,7 @@ static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) {
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1099
++/* "View.MemoryView":1111
+  * 
+  * @cname('__pyx_get_best_slice_order')
+  * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -17873,8 +19493,9 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   int __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1104
++  /* "View.MemoryView":1116
+  *     """
+  *     cdef int i
+  *     cdef Py_ssize_t c_stride = 0             # <<<<<<<<<<<<<<
+@@ -17883,7 +19504,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   __pyx_v_c_stride = 0;
+ 
+-  /* "View.MemoryView":1105
++  /* "View.MemoryView":1117
+  *     cdef int i
+  *     cdef Py_ssize_t c_stride = 0
+  *     cdef Py_ssize_t f_stride = 0             # <<<<<<<<<<<<<<
+@@ -17892,17 +19513,17 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   __pyx_v_f_stride = 0;
+ 
+-  /* "View.MemoryView":1107
++  /* "View.MemoryView":1119
+  *     cdef Py_ssize_t f_stride = 0
+  * 
+  *     for i in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]
+  */
+-  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1L; __pyx_t_1-=1) {
++  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":1108
++    /* "View.MemoryView":1120
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -17912,7 +19533,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_t_2 = (((__pyx_v_mslice->shape[__pyx_v_i]) > 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1109
++      /* "View.MemoryView":1121
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -17921,7 +19542,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       __pyx_v_c_stride = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-      /* "View.MemoryView":1110
++      /* "View.MemoryView":1122
+  *         if mslice.shape[i] > 1:
+  *             c_stride = mslice.strides[i]
+  *             break             # <<<<<<<<<<<<<<
+@@ -17930,7 +19551,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       goto __pyx_L4_break;
+ 
+-      /* "View.MemoryView":1108
++      /* "View.MemoryView":1120
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -17941,7 +19562,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   }
+   __pyx_L4_break:;
+ 
+-  /* "View.MemoryView":1112
++  /* "View.MemoryView":1124
+  *             break
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -17949,10 +19570,11 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  *             f_stride = mslice.strides[i]
+  */
+   __pyx_t_1 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_1; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_1;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1113
++    /* "View.MemoryView":1125
+  * 
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -17962,7 +19584,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_t_2 = (((__pyx_v_mslice->shape[__pyx_v_i]) > 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1114
++      /* "View.MemoryView":1126
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:
+  *             f_stride = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -17971,7 +19593,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       __pyx_v_f_stride = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-      /* "View.MemoryView":1115
++      /* "View.MemoryView":1127
+  *         if mslice.shape[i] > 1:
+  *             f_stride = mslice.strides[i]
+  *             break             # <<<<<<<<<<<<<<
+@@ -17980,7 +19602,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+       goto __pyx_L7_break;
+ 
+-      /* "View.MemoryView":1113
++      /* "View.MemoryView":1125
+  * 
+  *     for i in range(ndim):
+  *         if mslice.shape[i] > 1:             # <<<<<<<<<<<<<<
+@@ -17991,7 +19613,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   }
+   __pyx_L7_break:;
+ 
+-  /* "View.MemoryView":1117
++  /* "View.MemoryView":1129
+  *             break
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):             # <<<<<<<<<<<<<<
+@@ -18001,7 +19623,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   __pyx_t_2 = ((abs_py_ssize_t(__pyx_v_c_stride) <= abs_py_ssize_t(__pyx_v_f_stride)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1118
++    /* "View.MemoryView":1130
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):
+  *         return 'C'             # <<<<<<<<<<<<<<
+@@ -18011,7 +19633,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     __pyx_r = 'C';
+     goto __pyx_L0;
+ 
+-    /* "View.MemoryView":1117
++    /* "View.MemoryView":1129
+  *             break
+  * 
+  *     if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride):             # <<<<<<<<<<<<<<
+@@ -18020,7 +19642,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+  */
+   }
+ 
+-  /* "View.MemoryView":1120
++  /* "View.MemoryView":1132
+  *         return 'C'
+  *     else:
+  *         return 'F'             # <<<<<<<<<<<<<<
+@@ -18032,7 +19654,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+     goto __pyx_L0;
+   }
+ 
+-  /* "View.MemoryView":1099
++  /* "View.MemoryView":1111
+  * 
+  * @cname('__pyx_get_best_slice_order')
+  * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -18045,7 +19667,7 @@ static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int _
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1123
++/* "View.MemoryView":1135
+  * 
+  * @cython.cdivision(True)
+  * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides,             # <<<<<<<<<<<<<<
+@@ -18064,8 +19686,9 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   int __pyx_t_3;
+   Py_ssize_t __pyx_t_4;
+   Py_ssize_t __pyx_t_5;
++  Py_ssize_t __pyx_t_6;
+ 
+-  /* "View.MemoryView":1130
++  /* "View.MemoryView":1142
+  * 
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t src_extent = src_shape[0]             # <<<<<<<<<<<<<<
+@@ -18074,7 +19697,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_src_extent = (__pyx_v_src_shape[0]);
+ 
+-  /* "View.MemoryView":1131
++  /* "View.MemoryView":1143
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t src_extent = src_shape[0]
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]             # <<<<<<<<<<<<<<
+@@ -18083,7 +19706,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_dst_extent = (__pyx_v_dst_shape[0]);
+ 
+-  /* "View.MemoryView":1132
++  /* "View.MemoryView":1144
+  *     cdef Py_ssize_t src_extent = src_shape[0]
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]
+  *     cdef Py_ssize_t src_stride = src_strides[0]             # <<<<<<<<<<<<<<
+@@ -18092,7 +19715,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_src_stride = (__pyx_v_src_strides[0]);
+ 
+-  /* "View.MemoryView":1133
++  /* "View.MemoryView":1145
+  *     cdef Py_ssize_t dst_extent = dst_shape[0]
+  *     cdef Py_ssize_t src_stride = src_strides[0]
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]             # <<<<<<<<<<<<<<
+@@ -18101,7 +19724,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   __pyx_v_dst_stride = (__pyx_v_dst_strides[0]);
+ 
+-  /* "View.MemoryView":1135
++  /* "View.MemoryView":1147
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -18111,7 +19734,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   __pyx_t_1 = ((__pyx_v_ndim == 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1136
++    /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -18131,7 +19754,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+       goto __pyx_L5_bool_binop_done;
+     }
+ 
+-    /* "View.MemoryView":1137
++    /* "View.MemoryView":1149
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and
+  *             src_stride == itemsize ==  dst_stride):             # <<<<<<<<<<<<<<
+@@ -18146,7 +19769,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     __pyx_t_1 = __pyx_t_3;
+     __pyx_L5_bool_binop_done:;
+ 
+-    /* "View.MemoryView":1136
++    /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -18155,16 +19778,16 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+     if (__pyx_t_1) {
+ 
+-      /* "View.MemoryView":1138
++      /* "View.MemoryView":1150
+  *        if (src_stride > 0 and dst_stride > 0 and
+  *             src_stride == itemsize ==  dst_stride):
+  *            memcpy(dst_data, src_data, itemsize * dst_extent)             # <<<<<<<<<<<<<<
+  *        else:
+  *            for i in range(dst_extent):
+  */
+-      memcpy(__pyx_v_dst_data, __pyx_v_src_data, (__pyx_v_itemsize * __pyx_v_dst_extent));
++      (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, (__pyx_v_itemsize * __pyx_v_dst_extent)));
+ 
+-      /* "View.MemoryView":1136
++      /* "View.MemoryView":1148
+  * 
+  *     if ndim == 1:
+  *        if (src_stride > 0 and dst_stride > 0 and             # <<<<<<<<<<<<<<
+@@ -18174,7 +19797,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+       goto __pyx_L4;
+     }
+ 
+-    /* "View.MemoryView":1140
++    /* "View.MemoryView":1152
+  *            memcpy(dst_data, src_data, itemsize * dst_extent)
+  *        else:
+  *            for i in range(dst_extent):             # <<<<<<<<<<<<<<
+@@ -18183,19 +19806,20 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+     /*else*/ {
+       __pyx_t_4 = __pyx_v_dst_extent;
+-      for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-        __pyx_v_i = __pyx_t_5;
++      __pyx_t_5 = __pyx_t_4;
++      for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++        __pyx_v_i = __pyx_t_6;
+ 
+-        /* "View.MemoryView":1141
++        /* "View.MemoryView":1153
+  *        else:
+  *            for i in range(dst_extent):
+  *                memcpy(dst_data, src_data, itemsize)             # <<<<<<<<<<<<<<
+  *                src_data += src_stride
+  *                dst_data += dst_stride
+  */
+-        memcpy(__pyx_v_dst_data, __pyx_v_src_data, __pyx_v_itemsize);
++        (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, __pyx_v_itemsize));
+ 
+-        /* "View.MemoryView":1142
++        /* "View.MemoryView":1154
+  *            for i in range(dst_extent):
+  *                memcpy(dst_data, src_data, itemsize)
+  *                src_data += src_stride             # <<<<<<<<<<<<<<
+@@ -18204,7 +19828,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+         __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride);
+ 
+-        /* "View.MemoryView":1143
++        /* "View.MemoryView":1155
+  *                memcpy(dst_data, src_data, itemsize)
+  *                src_data += src_stride
+  *                dst_data += dst_stride             # <<<<<<<<<<<<<<
+@@ -18216,7 +19840,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     }
+     __pyx_L4:;
+ 
+-    /* "View.MemoryView":1135
++    /* "View.MemoryView":1147
+  *     cdef Py_ssize_t dst_stride = dst_strides[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -18226,7 +19850,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1145
++  /* "View.MemoryView":1157
+  *                dst_data += dst_stride
+  *     else:
+  *         for i in range(dst_extent):             # <<<<<<<<<<<<<<
+@@ -18235,10 +19859,11 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+   /*else*/ {
+     __pyx_t_4 = __pyx_v_dst_extent;
+-    for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) {
+-      __pyx_v_i = __pyx_t_5;
++    __pyx_t_5 = __pyx_t_4;
++    for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++      __pyx_v_i = __pyx_t_6;
+ 
+-      /* "View.MemoryView":1146
++      /* "View.MemoryView":1158
+  *     else:
+  *         for i in range(dst_extent):
+  *             _copy_strided_to_strided(src_data, src_strides + 1,             # <<<<<<<<<<<<<<
+@@ -18247,7 +19872,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+       _copy_strided_to_strided(__pyx_v_src_data, (__pyx_v_src_strides + 1), __pyx_v_dst_data, (__pyx_v_dst_strides + 1), (__pyx_v_src_shape + 1), (__pyx_v_dst_shape + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize);
+ 
+-      /* "View.MemoryView":1150
++      /* "View.MemoryView":1162
+  *                                      src_shape + 1, dst_shape + 1,
+  *                                      ndim - 1, itemsize)
+  *             src_data += src_stride             # <<<<<<<<<<<<<<
+@@ -18256,7 +19881,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+  */
+       __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride);
+ 
+-      /* "View.MemoryView":1151
++      /* "View.MemoryView":1163
+  *                                      ndim - 1, itemsize)
+  *             src_data += src_stride
+  *             dst_data += dst_stride             # <<<<<<<<<<<<<<
+@@ -18268,7 +19893,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1123
++  /* "View.MemoryView":1135
+  * 
+  * @cython.cdivision(True)
+  * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides,             # <<<<<<<<<<<<<<
+@@ -18279,7 +19904,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1153
++/* "View.MemoryView":1165
+  *             dst_data += dst_stride
+  * 
+  * cdef void copy_strided_to_strided(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -18289,7 +19914,7 @@ static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v
+ 
+ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize) {
+ 
+-  /* "View.MemoryView":1156
++  /* "View.MemoryView":1168
+  *                                   __Pyx_memviewslice *dst,
+  *                                   int ndim, size_t itemsize) nogil:
+  *     _copy_strided_to_strided(src.data, src.strides, dst.data, dst.strides,             # <<<<<<<<<<<<<<
+@@ -18298,7 +19923,7 @@ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memvi
+  */
+   _copy_strided_to_strided(__pyx_v_src->data, __pyx_v_src->strides, __pyx_v_dst->data, __pyx_v_dst->strides, __pyx_v_src->shape, __pyx_v_dst->shape, __pyx_v_ndim, __pyx_v_itemsize);
+ 
+-  /* "View.MemoryView":1153
++  /* "View.MemoryView":1165
+  *             dst_data += dst_stride
+  * 
+  * cdef void copy_strided_to_strided(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -18309,7 +19934,7 @@ static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memvi
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1160
++/* "View.MemoryView":1172
+  * 
+  * @cname('__pyx_memoryview_slice_get_size')
+  * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -18324,8 +19949,9 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   Py_ssize_t __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1163
++  /* "View.MemoryView":1175
+  *     "Return the size of the memory occupied by the slice in number of bytes"
+  *     cdef int i
+  *     cdef Py_ssize_t size = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -18335,7 +19961,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   __pyx_t_1 = __pyx_v_src->memview->view.itemsize;
+   __pyx_v_size = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1165
++  /* "View.MemoryView":1177
+  *     cdef Py_ssize_t size = src.memview.view.itemsize
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -18343,10 +19969,11 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+  * 
+  */
+   __pyx_t_2 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_2;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1166
++    /* "View.MemoryView":1178
+  * 
+  *     for i in range(ndim):
+  *         size *= src.shape[i]             # <<<<<<<<<<<<<<
+@@ -18356,7 +19983,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+     __pyx_v_size = (__pyx_v_size * (__pyx_v_src->shape[__pyx_v_i]));
+   }
+ 
+-  /* "View.MemoryView":1168
++  /* "View.MemoryView":1180
+  *         size *= src.shape[i]
+  * 
+  *     return size             # <<<<<<<<<<<<<<
+@@ -18366,7 +19993,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   __pyx_r = __pyx_v_size;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1160
++  /* "View.MemoryView":1172
+  * 
+  * @cname('__pyx_memoryview_slice_get_size')
+  * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) nogil:             # <<<<<<<<<<<<<<
+@@ -18379,7 +20006,7 @@ static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_sr
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1171
++/* "View.MemoryView":1183
+  * 
+  * @cname('__pyx_fill_contig_strides_array')
+  * cdef Py_ssize_t fill_contig_strides_array(             # <<<<<<<<<<<<<<
+@@ -18393,8 +20020,9 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   int __pyx_t_1;
+   int __pyx_t_2;
+   int __pyx_t_3;
++  int __pyx_t_4;
+ 
+-  /* "View.MemoryView":1180
++  /* "View.MemoryView":1192
+  *     cdef int idx
+  * 
+  *     if order == 'F':             # <<<<<<<<<<<<<<
+@@ -18404,7 +20032,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   __pyx_t_1 = ((__pyx_v_order == 'F') != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1181
++    /* "View.MemoryView":1193
+  * 
+  *     if order == 'F':
+  *         for idx in range(ndim):             # <<<<<<<<<<<<<<
+@@ -18412,10 +20040,11 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  *             stride = stride * shape[idx]
+  */
+     __pyx_t_2 = __pyx_v_ndim;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_idx = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_idx = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1182
++      /* "View.MemoryView":1194
+  *     if order == 'F':
+  *         for idx in range(ndim):
+  *             strides[idx] = stride             # <<<<<<<<<<<<<<
+@@ -18424,7 +20053,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  */
+       (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride;
+ 
+-      /* "View.MemoryView":1183
++      /* "View.MemoryView":1195
+  *         for idx in range(ndim):
+  *             strides[idx] = stride
+  *             stride = stride * shape[idx]             # <<<<<<<<<<<<<<
+@@ -18434,7 +20063,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+       __pyx_v_stride = (__pyx_v_stride * (__pyx_v_shape[__pyx_v_idx]));
+     }
+ 
+-    /* "View.MemoryView":1180
++    /* "View.MemoryView":1192
+  *     cdef int idx
+  * 
+  *     if order == 'F':             # <<<<<<<<<<<<<<
+@@ -18444,7 +20073,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1185
++  /* "View.MemoryView":1197
+  *             stride = stride * shape[idx]
+  *     else:
+  *         for idx in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+@@ -18452,10 +20081,10 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  *             stride = stride * shape[idx]
+  */
+   /*else*/ {
+-    for (__pyx_t_2 = (__pyx_v_ndim - 1); __pyx_t_2 > -1L; __pyx_t_2-=1) {
++    for (__pyx_t_2 = (__pyx_v_ndim - 1); __pyx_t_2 > -1; __pyx_t_2-=1) {
+       __pyx_v_idx = __pyx_t_2;
+ 
+-      /* "View.MemoryView":1186
++      /* "View.MemoryView":1198
+  *     else:
+  *         for idx in range(ndim - 1, -1, -1):
+  *             strides[idx] = stride             # <<<<<<<<<<<<<<
+@@ -18464,7 +20093,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+  */
+       (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride;
+ 
+-      /* "View.MemoryView":1187
++      /* "View.MemoryView":1199
+  *         for idx in range(ndim - 1, -1, -1):
+  *             strides[idx] = stride
+  *             stride = stride * shape[idx]             # <<<<<<<<<<<<<<
+@@ -18476,7 +20105,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1189
++  /* "View.MemoryView":1201
+  *             stride = stride * shape[idx]
+  * 
+  *     return stride             # <<<<<<<<<<<<<<
+@@ -18486,7 +20115,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   __pyx_r = __pyx_v_stride;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1171
++  /* "View.MemoryView":1183
+  * 
+  * @cname('__pyx_fill_contig_strides_array')
+  * cdef Py_ssize_t fill_contig_strides_array(             # <<<<<<<<<<<<<<
+@@ -18499,7 +20128,7 @@ static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1192
++/* "View.MemoryView":1204
+  * 
+  * @cname('__pyx_memoryview_copy_data_to_temp')
+  * cdef void *copy_data_to_temp(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -18518,8 +20147,9 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   int __pyx_t_3;
+   struct __pyx_memoryview_obj *__pyx_t_4;
+   int __pyx_t_5;
++  int __pyx_t_6;
+ 
+-  /* "View.MemoryView":1203
++  /* "View.MemoryView":1215
+  *     cdef void *result
+  * 
+  *     cdef size_t itemsize = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -18529,7 +20159,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_1 = __pyx_v_src->memview->view.itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1204
++  /* "View.MemoryView":1216
+  * 
+  *     cdef size_t itemsize = src.memview.view.itemsize
+  *     cdef size_t size = slice_get_size(src, ndim)             # <<<<<<<<<<<<<<
+@@ -18538,7 +20168,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_size = __pyx_memoryview_slice_get_size(__pyx_v_src, __pyx_v_ndim);
+ 
+-  /* "View.MemoryView":1206
++  /* "View.MemoryView":1218
+  *     cdef size_t size = slice_get_size(src, ndim)
+  * 
+  *     result = malloc(size)             # <<<<<<<<<<<<<<
+@@ -18547,7 +20177,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_result = malloc(__pyx_v_size);
+ 
+-  /* "View.MemoryView":1207
++  /* "View.MemoryView":1219
+  * 
+  *     result = malloc(size)
+  *     if not result:             # <<<<<<<<<<<<<<
+@@ -18557,16 +20187,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_2 = ((!(__pyx_v_result != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1208
++    /* "View.MemoryView":1220
+  *     result = malloc(size)
+  *     if not result:
+  *         _err(MemoryError, NULL)             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-    __pyx_t_3 = __pyx_memoryview_err(__pyx_builtin_MemoryError, NULL); if (unlikely(__pyx_t_3 == -1)) __PYX_ERR(2, 1208, __pyx_L1_error)
++    __pyx_t_3 = __pyx_memoryview_err(__pyx_builtin_MemoryError, NULL); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 1220, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1207
++    /* "View.MemoryView":1219
+  * 
+  *     result = malloc(size)
+  *     if not result:             # <<<<<<<<<<<<<<
+@@ -18575,7 +20205,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   }
+ 
+-  /* "View.MemoryView":1211
++  /* "View.MemoryView":1223
+  * 
+  * 
+  *     tmpslice.data =  result             # <<<<<<<<<<<<<<
+@@ -18584,7 +20214,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+   __pyx_v_tmpslice->data = ((char *)__pyx_v_result);
+ 
+-  /* "View.MemoryView":1212
++  /* "View.MemoryView":1224
+  * 
+  *     tmpslice.data =  result
+  *     tmpslice.memview = src.memview             # <<<<<<<<<<<<<<
+@@ -18594,7 +20224,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_4 = __pyx_v_src->memview;
+   __pyx_v_tmpslice->memview = __pyx_t_4;
+ 
+-  /* "View.MemoryView":1213
++  /* "View.MemoryView":1225
+  *     tmpslice.data =  result
+  *     tmpslice.memview = src.memview
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -18602,10 +20232,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  *         tmpslice.suboffsets[i] = -1
+  */
+   __pyx_t_3 = __pyx_v_ndim;
+-  for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_3; __pyx_t_5+=1) {
+-    __pyx_v_i = __pyx_t_5;
++  __pyx_t_5 = __pyx_t_3;
++  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++    __pyx_v_i = __pyx_t_6;
+ 
+-    /* "View.MemoryView":1214
++    /* "View.MemoryView":1226
+  *     tmpslice.memview = src.memview
+  *     for i in range(ndim):
+  *         tmpslice.shape[i] = src.shape[i]             # <<<<<<<<<<<<<<
+@@ -18614,7 +20245,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+     (__pyx_v_tmpslice->shape[__pyx_v_i]) = (__pyx_v_src->shape[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1215
++    /* "View.MemoryView":1227
+  *     for i in range(ndim):
+  *         tmpslice.shape[i] = src.shape[i]
+  *         tmpslice.suboffsets[i] = -1             # <<<<<<<<<<<<<<
+@@ -18624,16 +20255,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     (__pyx_v_tmpslice->suboffsets[__pyx_v_i]) = -1L;
+   }
+ 
+-  /* "View.MemoryView":1217
++  /* "View.MemoryView":1229
+  *         tmpslice.suboffsets[i] = -1
+  * 
+  *     fill_contig_strides_array(&tmpslice.shape[0], &tmpslice.strides[0], itemsize,             # <<<<<<<<<<<<<<
+  *                               ndim, order)
+  * 
+  */
+-  __pyx_fill_contig_strides_array((&(__pyx_v_tmpslice->shape[0])), (&(__pyx_v_tmpslice->strides[0])), __pyx_v_itemsize, __pyx_v_ndim, __pyx_v_order);
++  (void)(__pyx_fill_contig_strides_array((&(__pyx_v_tmpslice->shape[0])), (&(__pyx_v_tmpslice->strides[0])), __pyx_v_itemsize, __pyx_v_ndim, __pyx_v_order));
+ 
+-  /* "View.MemoryView":1221
++  /* "View.MemoryView":1233
+  * 
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -18641,10 +20272,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  *             tmpslice.strides[i] = 0
+  */
+   __pyx_t_3 = __pyx_v_ndim;
+-  for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_3; __pyx_t_5+=1) {
+-    __pyx_v_i = __pyx_t_5;
++  __pyx_t_5 = __pyx_t_3;
++  for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) {
++    __pyx_v_i = __pyx_t_6;
+ 
+-    /* "View.MemoryView":1222
++    /* "View.MemoryView":1234
+  * 
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -18654,7 +20286,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     __pyx_t_2 = (((__pyx_v_tmpslice->shape[__pyx_v_i]) == 1) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1223
++      /* "View.MemoryView":1235
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:
+  *             tmpslice.strides[i] = 0             # <<<<<<<<<<<<<<
+@@ -18663,7 +20295,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+  */
+       (__pyx_v_tmpslice->strides[__pyx_v_i]) = 0;
+ 
+-      /* "View.MemoryView":1222
++      /* "View.MemoryView":1234
+  * 
+  *     for i in range(ndim):
+  *         if tmpslice.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -18673,7 +20305,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     }
+   }
+ 
+-  /* "View.MemoryView":1225
++  /* "View.MemoryView":1237
+  *             tmpslice.strides[i] = 0
+  * 
+  *     if slice_is_contig(src[0], order, ndim):             # <<<<<<<<<<<<<<
+@@ -18683,16 +20315,16 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_t_2 = (__pyx_memviewslice_is_contig((__pyx_v_src[0]), __pyx_v_order, __pyx_v_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1226
++    /* "View.MemoryView":1238
+  * 
+  *     if slice_is_contig(src[0], order, ndim):
+  *         memcpy(result, src.data, size)             # <<<<<<<<<<<<<<
+  *     else:
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)
+  */
+-    memcpy(__pyx_v_result, __pyx_v_src->data, __pyx_v_size);
++    (void)(memcpy(__pyx_v_result, __pyx_v_src->data, __pyx_v_size));
+ 
+-    /* "View.MemoryView":1225
++    /* "View.MemoryView":1237
+  *             tmpslice.strides[i] = 0
+  * 
+  *     if slice_is_contig(src[0], order, ndim):             # <<<<<<<<<<<<<<
+@@ -18702,7 +20334,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+     goto __pyx_L9;
+   }
+ 
+-  /* "View.MemoryView":1228
++  /* "View.MemoryView":1240
+  *         memcpy(result, src.data, size)
+  *     else:
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)             # <<<<<<<<<<<<<<
+@@ -18714,7 +20346,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   }
+   __pyx_L9:;
+ 
+-  /* "View.MemoryView":1230
++  /* "View.MemoryView":1242
+  *         copy_strided_to_strided(src, tmpslice, ndim, itemsize)
+  * 
+  *     return result             # <<<<<<<<<<<<<<
+@@ -18724,7 +20356,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_r = __pyx_v_result;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1192
++  /* "View.MemoryView":1204
+  * 
+  * @cname('__pyx_memoryview_copy_data_to_temp')
+  * cdef void *copy_data_to_temp(__Pyx_memviewslice *src,             # <<<<<<<<<<<<<<
+@@ -18736,11 +20368,11 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.copy_data_to_temp", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = NULL;
+@@ -18748,7 +20380,7 @@ static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src,
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1235
++/* "View.MemoryView":1247
+  * 
+  * @cname('__pyx_memoryview_err_extents')
+  * cdef int _err_extents(int i, Py_ssize_t extent1,             # <<<<<<<<<<<<<<
+@@ -18764,24 +20396,24 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   PyObject *__pyx_t_3 = NULL;
+   PyObject *__pyx_t_4 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err_extents", 0);
+ 
+-  /* "View.MemoryView":1238
++  /* "View.MemoryView":1250
+  *                              Py_ssize_t extent2) except -1 with gil:
+  *     raise ValueError("got differing extents in dimension %d (got %d and %d)" %
+  *                                                         (i, extent1, extent2))             # <<<<<<<<<<<<<<
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  */
+-  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_1);
+-  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_extent1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_extent1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_extent2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_extent2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+-  __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1238, __pyx_L1_error)
++  __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1250, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_GIVEREF(__pyx_t_1);
+   PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1);
+@@ -18793,29 +20425,24 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   __pyx_t_2 = 0;
+   __pyx_t_3 = 0;
+ 
+-  /* "View.MemoryView":1237
++  /* "View.MemoryView":1249
+  * cdef int _err_extents(int i, Py_ssize_t extent1,
+  *                              Py_ssize_t extent2) except -1 with gil:
+  *     raise ValueError("got differing extents in dimension %d (got %d and %d)" %             # <<<<<<<<<<<<<<
+  *                                                         (i, extent1, extent2))
+  * 
+  */
+-  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1237, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyString_Format(__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1249, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-  __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1237, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_builtin_ValueError, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1249, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  __Pyx_GIVEREF(__pyx_t_3);
+-  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3);
+-  __pyx_t_3 = 0;
+-  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1237, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_t_3);
+-  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+-  __Pyx_Raise(__pyx_t_3, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-  __PYX_ERR(2, 1237, __pyx_L1_error)
++  __Pyx_Raise(__pyx_t_4, 0, 0, 0);
++  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++  __PYX_ERR(2, 1249, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":1235
++  /* "View.MemoryView":1247
+  * 
+  * @cname('__pyx_memoryview_err_extents')
+  * cdef int _err_extents(int i, Py_ssize_t extent1,             # <<<<<<<<<<<<<<
+@@ -18833,12 +20460,12 @@ static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent
+   __pyx_r = -1;
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1241
++/* "View.MemoryView":1253
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -18855,29 +20482,29 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+   PyObject *__pyx_t_4 = NULL;
+   PyObject *__pyx_t_5 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err_dim", 0);
+   __Pyx_INCREF(__pyx_v_error);
+ 
+-  /* "View.MemoryView":1242
++  /* "View.MemoryView":1254
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:
+  *     raise error(msg.decode('ascii') % dim)             # <<<<<<<<<<<<<<
+  * 
+  * @cname('__pyx_memoryview_err')
+  */
+-  __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_dim); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+-  __pyx_t_4 = PyUnicode_Format(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1242, __pyx_L1_error)
++  __pyx_t_4 = PyUnicode_Format(__pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 1254, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+   __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_INCREF(__pyx_v_error);
+   __pyx_t_3 = __pyx_v_error; __pyx_t_2 = NULL;
+-  if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_3))) {
++  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
+     __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
+     if (likely(__pyx_t_2)) {
+       PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
+@@ -18887,26 +20514,46 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+     }
+   }
+   if (!__pyx_t_2) {
+-    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1242, __pyx_L1_error)
++    __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_GOTREF(__pyx_t_1);
+   } else {
+-    __pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1242, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_5);
+-    __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2); __pyx_t_2 = NULL;
+-    __Pyx_GIVEREF(__pyx_t_4);
+-    PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_4);
+-    __pyx_t_4 = 0;
+-    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1242, __pyx_L1_error)
+-    __Pyx_GOTREF(__pyx_t_1);
+-    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_3)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_4};
++      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_2, __pyx_t_4};
++      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    } else
++    #endif
++    {
++      __pyx_t_5 = PyTuple_New(1+1); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_5);
++      __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2); __pyx_t_2 = NULL;
++      __Pyx_GIVEREF(__pyx_t_4);
++      PyTuple_SET_ITEM(__pyx_t_5, 0+1, __pyx_t_4);
++      __pyx_t_4 = 0;
++      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1254, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_1);
++      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
++    }
+   }
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+   __Pyx_Raise(__pyx_t_1, 0, 0, 0);
+   __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+-  __PYX_ERR(2, 1242, __pyx_L1_error)
++  __PYX_ERR(2, 1254, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":1241
++  /* "View.MemoryView":1253
+  * 
+  * @cname('__pyx_memoryview_err_dim')
+  * cdef int _err_dim(object error, char *msg, int dim) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -18926,12 +20573,12 @@ static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, char *__pyx_v_msg,
+   __Pyx_XDECREF(__pyx_v_error);
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1245
++/* "View.MemoryView":1257
+  * 
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -18949,12 +20596,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+   PyObject *__pyx_t_5 = NULL;
+   PyObject *__pyx_t_6 = NULL;
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("_err", 0);
+   __Pyx_INCREF(__pyx_v_error);
+ 
+-  /* "View.MemoryView":1246
++  /* "View.MemoryView":1258
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:             # <<<<<<<<<<<<<<
+@@ -18962,20 +20609,20 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  *     else:
+  */
+   __pyx_t_1 = ((__pyx_v_msg != NULL) != 0);
+-  if (__pyx_t_1) {
++  if (unlikely(__pyx_t_1)) {
+ 
+-    /* "View.MemoryView":1247
++    /* "View.MemoryView":1259
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:
+  *         raise error(msg.decode('ascii'))             # <<<<<<<<<<<<<<
+  *     else:
+  *         raise error
+  */
+-    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1247, __pyx_L1_error)
++    __pyx_t_3 = __Pyx_decode_c_string(__pyx_v_msg, 0, strlen(__pyx_v_msg), NULL, NULL, PyUnicode_DecodeASCII); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1259, __pyx_L1_error)
+     __Pyx_GOTREF(__pyx_t_3);
+     __Pyx_INCREF(__pyx_v_error);
+     __pyx_t_4 = __pyx_v_error; __pyx_t_5 = NULL;
+-    if (CYTHON_COMPILING_IN_CPYTHON && unlikely(PyMethod_Check(__pyx_t_4))) {
++    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
+       __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
+       if (likely(__pyx_t_5)) {
+         PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
+@@ -18985,26 +20632,46 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+       }
+     }
+     if (!__pyx_t_5) {
+-      __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1247, __pyx_L1_error)
++      __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
+       __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+       __Pyx_GOTREF(__pyx_t_2);
+     } else {
+-      __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 1247, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_6);
+-      __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
+-      __Pyx_GIVEREF(__pyx_t_3);
+-      PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_3);
+-      __pyx_t_3 = 0;
+-      __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1247, __pyx_L1_error)
+-      __Pyx_GOTREF(__pyx_t_2);
+-      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_4)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_3};
++        __pyx_t_2 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_3};
++        __pyx_t_2 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
++        __Pyx_GIVEREF(__pyx_t_3);
++        PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_3);
++        __pyx_t_3 = 0;
++        __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1259, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_2);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      }
+     }
+     __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+     __Pyx_Raise(__pyx_t_2, 0, 0, 0);
+     __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+-    __PYX_ERR(2, 1247, __pyx_L1_error)
++    __PYX_ERR(2, 1259, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1246
++    /* "View.MemoryView":1258
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:
+  *     if msg != NULL:             # <<<<<<<<<<<<<<
+@@ -19013,7 +20680,7 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  */
+   }
+ 
+-  /* "View.MemoryView":1249
++  /* "View.MemoryView":1261
+  *         raise error(msg.decode('ascii'))
+  *     else:
+  *         raise error             # <<<<<<<<<<<<<<
+@@ -19022,10 +20689,10 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+  */
+   /*else*/ {
+     __Pyx_Raise(__pyx_v_error, 0, 0, 0);
+-    __PYX_ERR(2, 1249, __pyx_L1_error)
++    __PYX_ERR(2, 1261, __pyx_L1_error)
+   }
+ 
+-  /* "View.MemoryView":1245
++  /* "View.MemoryView":1257
+  * 
+  * @cname('__pyx_memoryview_err')
+  * cdef int _err(object error, char *msg) except -1 with gil:             # <<<<<<<<<<<<<<
+@@ -19045,12 +20712,12 @@ static int __pyx_memoryview_err(PyObject *__pyx_v_error, char *__pyx_v_msg) {
+   __Pyx_XDECREF(__pyx_v_error);
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1252
++/* "View.MemoryView":1264
+  * 
+  * @cname('__pyx_memoryview_copy_contents')
+  * cdef int memoryview_copy_contents(__Pyx_memviewslice src,             # <<<<<<<<<<<<<<
+@@ -19073,10 +20740,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   int __pyx_t_3;
+   int __pyx_t_4;
+   int __pyx_t_5;
+-  void *__pyx_t_6;
+-  int __pyx_t_7;
++  int __pyx_t_6;
++  void *__pyx_t_7;
++  int __pyx_t_8;
+ 
+-  /* "View.MemoryView":1260
++  /* "View.MemoryView":1272
+  *     Check for overlapping memory and verify the shapes.
+  *     """
+  *     cdef void *tmpdata = NULL             # <<<<<<<<<<<<<<
+@@ -19085,7 +20753,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_tmpdata = NULL;
+ 
+-  /* "View.MemoryView":1261
++  /* "View.MemoryView":1273
+  *     """
+  *     cdef void *tmpdata = NULL
+  *     cdef size_t itemsize = src.memview.view.itemsize             # <<<<<<<<<<<<<<
+@@ -19095,7 +20763,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_1 = __pyx_v_src.memview->view.itemsize;
+   __pyx_v_itemsize = __pyx_t_1;
+ 
+-  /* "View.MemoryView":1263
++  /* "View.MemoryView":1275
+  *     cdef size_t itemsize = src.memview.view.itemsize
+  *     cdef int i
+  *     cdef char order = get_best_order(&src, src_ndim)             # <<<<<<<<<<<<<<
+@@ -19104,7 +20772,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_src), __pyx_v_src_ndim);
+ 
+-  /* "View.MemoryView":1264
++  /* "View.MemoryView":1276
+  *     cdef int i
+  *     cdef char order = get_best_order(&src, src_ndim)
+  *     cdef bint broadcasting = False             # <<<<<<<<<<<<<<
+@@ -19113,7 +20781,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_broadcasting = 0;
+ 
+-  /* "View.MemoryView":1265
++  /* "View.MemoryView":1277
+  *     cdef char order = get_best_order(&src, src_ndim)
+  *     cdef bint broadcasting = False
+  *     cdef bint direct_copy = False             # <<<<<<<<<<<<<<
+@@ -19122,7 +20790,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_v_direct_copy = 0;
+ 
+-  /* "View.MemoryView":1268
++  /* "View.MemoryView":1280
+  *     cdef __Pyx_memviewslice tmp
+  * 
+  *     if src_ndim < dst_ndim:             # <<<<<<<<<<<<<<
+@@ -19132,7 +20800,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((__pyx_v_src_ndim < __pyx_v_dst_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1269
++    /* "View.MemoryView":1281
+  * 
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)             # <<<<<<<<<<<<<<
+@@ -19141,7 +20809,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_memoryview_broadcast_leading((&__pyx_v_src), __pyx_v_src_ndim, __pyx_v_dst_ndim);
+ 
+-    /* "View.MemoryView":1268
++    /* "View.MemoryView":1280
+  *     cdef __Pyx_memviewslice tmp
+  * 
+  *     if src_ndim < dst_ndim:             # <<<<<<<<<<<<<<
+@@ -19151,7 +20819,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1270
++  /* "View.MemoryView":1282
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:             # <<<<<<<<<<<<<<
+@@ -19161,7 +20829,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((__pyx_v_dst_ndim < __pyx_v_src_ndim) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1271
++    /* "View.MemoryView":1283
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:
+  *         broadcast_leading(&dst, dst_ndim, src_ndim)             # <<<<<<<<<<<<<<
+@@ -19170,7 +20838,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_memoryview_broadcast_leading((&__pyx_v_dst), __pyx_v_dst_ndim, __pyx_v_src_ndim);
+ 
+-    /* "View.MemoryView":1270
++    /* "View.MemoryView":1282
+  *     if src_ndim < dst_ndim:
+  *         broadcast_leading(&src, src_ndim, dst_ndim)
+  *     elif dst_ndim < src_ndim:             # <<<<<<<<<<<<<<
+@@ -19180,7 +20848,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   }
+   __pyx_L3:;
+ 
+-  /* "View.MemoryView":1273
++  /* "View.MemoryView":1285
+  *         broadcast_leading(&dst, dst_ndim, src_ndim)
+  * 
+  *     cdef int ndim = max(src_ndim, dst_ndim)             # <<<<<<<<<<<<<<
+@@ -19196,7 +20864,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   }
+   __pyx_v_ndim = __pyx_t_5;
+ 
+-  /* "View.MemoryView":1275
++  /* "View.MemoryView":1287
+  *     cdef int ndim = max(src_ndim, dst_ndim)
+  * 
+  *     for i in range(ndim):             # <<<<<<<<<<<<<<
+@@ -19204,10 +20872,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  *             if src.shape[i] == 1:
+  */
+   __pyx_t_5 = __pyx_v_ndim;
+-  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_5; __pyx_t_3+=1) {
+-    __pyx_v_i = __pyx_t_3;
++  __pyx_t_3 = __pyx_t_5;
++  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++    __pyx_v_i = __pyx_t_4;
+ 
+-    /* "View.MemoryView":1276
++    /* "View.MemoryView":1288
+  * 
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:             # <<<<<<<<<<<<<<
+@@ -19217,7 +20886,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (((__pyx_v_src.shape[__pyx_v_i]) != (__pyx_v_dst.shape[__pyx_v_i])) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1277
++      /* "View.MemoryView":1289
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -19227,7 +20896,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       __pyx_t_2 = (((__pyx_v_src.shape[__pyx_v_i]) == 1) != 0);
+       if (__pyx_t_2) {
+ 
+-        /* "View.MemoryView":1278
++        /* "View.MemoryView":1290
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:
+  *                 broadcasting = True             # <<<<<<<<<<<<<<
+@@ -19236,7 +20905,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+         __pyx_v_broadcasting = 1;
+ 
+-        /* "View.MemoryView":1279
++        /* "View.MemoryView":1291
+  *             if src.shape[i] == 1:
+  *                 broadcasting = True
+  *                 src.strides[i] = 0             # <<<<<<<<<<<<<<
+@@ -19245,7 +20914,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+         (__pyx_v_src.strides[__pyx_v_i]) = 0;
+ 
+-        /* "View.MemoryView":1277
++        /* "View.MemoryView":1289
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:
+  *             if src.shape[i] == 1:             # <<<<<<<<<<<<<<
+@@ -19255,7 +20924,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+         goto __pyx_L7;
+       }
+ 
+-      /* "View.MemoryView":1281
++      /* "View.MemoryView":1293
+  *                 src.strides[i] = 0
+  *             else:
+  *                 _err_extents(i, dst.shape[i], src.shape[i])             # <<<<<<<<<<<<<<
+@@ -19263,11 +20932,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  *         if src.suboffsets[i] >= 0:
+  */
+       /*else*/ {
+-        __pyx_t_4 = __pyx_memoryview_err_extents(__pyx_v_i, (__pyx_v_dst.shape[__pyx_v_i]), (__pyx_v_src.shape[__pyx_v_i])); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 1281, __pyx_L1_error)
++        __pyx_t_6 = __pyx_memoryview_err_extents(__pyx_v_i, (__pyx_v_dst.shape[__pyx_v_i]), (__pyx_v_src.shape[__pyx_v_i])); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(2, 1293, __pyx_L1_error)
+       }
+       __pyx_L7:;
+ 
+-      /* "View.MemoryView":1276
++      /* "View.MemoryView":1288
+  * 
+  *     for i in range(ndim):
+  *         if src.shape[i] != dst.shape[i]:             # <<<<<<<<<<<<<<
+@@ -19276,7 +20945,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1283
++    /* "View.MemoryView":1295
+  *                 _err_extents(i, dst.shape[i], src.shape[i])
+  * 
+  *         if src.suboffsets[i] >= 0:             # <<<<<<<<<<<<<<
+@@ -19286,16 +20955,16 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (((__pyx_v_src.suboffsets[__pyx_v_i]) >= 0) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1284
++      /* "View.MemoryView":1296
+  * 
+  *         if src.suboffsets[i] >= 0:
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)             # <<<<<<<<<<<<<<
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  */
+-      __pyx_t_4 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Dimension %d is not direct"), __pyx_v_i); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(2, 1284, __pyx_L1_error)
++      __pyx_t_6 = __pyx_memoryview_err_dim(__pyx_builtin_ValueError, ((char *)"Dimension %d is not direct"), __pyx_v_i); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(2, 1296, __pyx_L1_error)
+ 
+-      /* "View.MemoryView":1283
++      /* "View.MemoryView":1295
+  *                 _err_extents(i, dst.shape[i], src.shape[i])
+  * 
+  *         if src.suboffsets[i] >= 0:             # <<<<<<<<<<<<<<
+@@ -19305,7 +20974,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     }
+   }
+ 
+-  /* "View.MemoryView":1286
++  /* "View.MemoryView":1298
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):             # <<<<<<<<<<<<<<
+@@ -19315,7 +20984,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = (__pyx_slices_overlap((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1288
++    /* "View.MemoryView":1300
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  * 
+  *         if not slice_is_contig(src, order, ndim):             # <<<<<<<<<<<<<<
+@@ -19325,7 +20994,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = ((!(__pyx_memviewslice_is_contig(__pyx_v_src, __pyx_v_order, __pyx_v_ndim) != 0)) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1289
++      /* "View.MemoryView":1301
+  * 
+  *         if not slice_is_contig(src, order, ndim):
+  *             order = get_best_order(&dst, ndim)             # <<<<<<<<<<<<<<
+@@ -19334,7 +21003,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1288
++      /* "View.MemoryView":1300
+  *     if slices_overlap(&src, &dst, ndim, itemsize):
+  * 
+  *         if not slice_is_contig(src, order, ndim):             # <<<<<<<<<<<<<<
+@@ -19343,17 +21012,17 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1291
++    /* "View.MemoryView":1303
+  *             order = get_best_order(&dst, ndim)
+  * 
+  *         tmpdata = copy_data_to_temp(&src, &tmp, order, ndim)             # <<<<<<<<<<<<<<
+  *         src = tmp
+  * 
+  */
+-    __pyx_t_6 = __pyx_memoryview_copy_data_to_temp((&__pyx_v_src), (&__pyx_v_tmp), __pyx_v_order, __pyx_v_ndim); if (unlikely(__pyx_t_6 == NULL)) __PYX_ERR(2, 1291, __pyx_L1_error)
+-    __pyx_v_tmpdata = __pyx_t_6;
++    __pyx_t_7 = __pyx_memoryview_copy_data_to_temp((&__pyx_v_src), (&__pyx_v_tmp), __pyx_v_order, __pyx_v_ndim); if (unlikely(__pyx_t_7 == ((void *)NULL))) __PYX_ERR(2, 1303, __pyx_L1_error)
++    __pyx_v_tmpdata = __pyx_t_7;
+ 
+-    /* "View.MemoryView":1292
++    /* "View.MemoryView":1304
+  * 
+  *         tmpdata = copy_data_to_temp(&src, &tmp, order, ndim)
+  *         src = tmp             # <<<<<<<<<<<<<<
+@@ -19362,7 +21031,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     __pyx_v_src = __pyx_v_tmp;
+ 
+-    /* "View.MemoryView":1286
++    /* "View.MemoryView":1298
+  *             _err_dim(ValueError, "Dimension %d is not direct", i)
+  * 
+  *     if slices_overlap(&src, &dst, ndim, itemsize):             # <<<<<<<<<<<<<<
+@@ -19371,7 +21040,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1294
++  /* "View.MemoryView":1306
+  *         src = tmp
+  * 
+  *     if not broadcasting:             # <<<<<<<<<<<<<<
+@@ -19381,7 +21050,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_t_2 = ((!(__pyx_v_broadcasting != 0)) != 0);
+   if (__pyx_t_2) {
+ 
+-    /* "View.MemoryView":1297
++    /* "View.MemoryView":1309
+  * 
+  * 
+  *         if slice_is_contig(src, 'C', ndim):             # <<<<<<<<<<<<<<
+@@ -19391,7 +21060,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_memviewslice_is_contig(__pyx_v_src, 'C', __pyx_v_ndim) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1298
++      /* "View.MemoryView":1310
+  * 
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)             # <<<<<<<<<<<<<<
+@@ -19400,7 +21069,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'C', __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1297
++      /* "View.MemoryView":1309
+  * 
+  * 
+  *         if slice_is_contig(src, 'C', ndim):             # <<<<<<<<<<<<<<
+@@ -19410,7 +21079,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       goto __pyx_L12;
+     }
+ 
+-    /* "View.MemoryView":1299
++    /* "View.MemoryView":1311
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):             # <<<<<<<<<<<<<<
+@@ -19420,7 +21089,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_memviewslice_is_contig(__pyx_v_src, 'F', __pyx_v_ndim) != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1300
++      /* "View.MemoryView":1312
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)             # <<<<<<<<<<<<<<
+@@ -19429,7 +21098,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'F', __pyx_v_ndim);
+ 
+-      /* "View.MemoryView":1299
++      /* "View.MemoryView":1311
+  *         if slice_is_contig(src, 'C', ndim):
+  *             direct_copy = slice_is_contig(dst, 'C', ndim)
+  *         elif slice_is_contig(src, 'F', ndim):             # <<<<<<<<<<<<<<
+@@ -19439,7 +21108,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     }
+     __pyx_L12:;
+ 
+-    /* "View.MemoryView":1302
++    /* "View.MemoryView":1314
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)
+  * 
+  *         if direct_copy:             # <<<<<<<<<<<<<<
+@@ -19449,7 +21118,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+     __pyx_t_2 = (__pyx_v_direct_copy != 0);
+     if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1304
++      /* "View.MemoryView":1316
+  *         if direct_copy:
+  * 
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -19458,16 +21127,16 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-      /* "View.MemoryView":1305
++      /* "View.MemoryView":1317
+  * 
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))             # <<<<<<<<<<<<<<
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)
+  */
+-      memcpy(__pyx_v_dst.data, __pyx_v_src.data, __pyx_memoryview_slice_get_size((&__pyx_v_src), __pyx_v_ndim));
++      (void)(memcpy(__pyx_v_dst.data, __pyx_v_src.data, __pyx_memoryview_slice_get_size((&__pyx_v_src), __pyx_v_ndim)));
+ 
+-      /* "View.MemoryView":1306
++      /* "View.MemoryView":1318
+  *             refcount_copying(&dst, dtype_is_object, ndim, False)
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -19476,7 +21145,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-      /* "View.MemoryView":1307
++      /* "View.MemoryView":1319
+  *             memcpy(dst.data, src.data, slice_get_size(&src, ndim))
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)             # <<<<<<<<<<<<<<
+@@ -19485,7 +21154,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+       free(__pyx_v_tmpdata);
+ 
+-      /* "View.MemoryView":1308
++      /* "View.MemoryView":1320
+  *             refcount_copying(&dst, dtype_is_object, ndim, True)
+  *             free(tmpdata)
+  *             return 0             # <<<<<<<<<<<<<<
+@@ -19495,7 +21164,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+       __pyx_r = 0;
+       goto __pyx_L0;
+ 
+-      /* "View.MemoryView":1302
++      /* "View.MemoryView":1314
+  *             direct_copy = slice_is_contig(dst, 'F', ndim)
+  * 
+  *         if direct_copy:             # <<<<<<<<<<<<<<
+@@ -19504,7 +21173,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+     }
+ 
+-    /* "View.MemoryView":1294
++    /* "View.MemoryView":1306
+  *         src = tmp
+  * 
+  *     if not broadcasting:             # <<<<<<<<<<<<<<
+@@ -19513,7 +21182,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1310
++  /* "View.MemoryView":1322
+  *             return 0
+  * 
+  *     if order == 'F' == get_best_order(&dst, ndim):             # <<<<<<<<<<<<<<
+@@ -19524,28 +21193,28 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   if (__pyx_t_2) {
+     __pyx_t_2 = ('F' == __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim));
+   }
+-  __pyx_t_7 = (__pyx_t_2 != 0);
+-  if (__pyx_t_7) {
++  __pyx_t_8 = (__pyx_t_2 != 0);
++  if (__pyx_t_8) {
+ 
+-    /* "View.MemoryView":1313
++    /* "View.MemoryView":1325
+  * 
+  * 
+  *         transpose_memslice(&src)             # <<<<<<<<<<<<<<
+  *         transpose_memslice(&dst)
+  * 
+  */
+-    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_src)); if (unlikely(__pyx_t_5 == 0)) __PYX_ERR(2, 1313, __pyx_L1_error)
++    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_src)); if (unlikely(__pyx_t_5 == ((int)0))) __PYX_ERR(2, 1325, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1314
++    /* "View.MemoryView":1326
+  * 
+  *         transpose_memslice(&src)
+  *         transpose_memslice(&dst)             # <<<<<<<<<<<<<<
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  */
+-    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_dst)); if (unlikely(__pyx_t_5 == 0)) __PYX_ERR(2, 1314, __pyx_L1_error)
++    __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_dst)); if (unlikely(__pyx_t_5 == ((int)0))) __PYX_ERR(2, 1326, __pyx_L1_error)
+ 
+-    /* "View.MemoryView":1310
++    /* "View.MemoryView":1322
+  *             return 0
+  * 
+  *     if order == 'F' == get_best_order(&dst, ndim):             # <<<<<<<<<<<<<<
+@@ -19554,7 +21223,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   }
+ 
+-  /* "View.MemoryView":1316
++  /* "View.MemoryView":1328
+  *         transpose_memslice(&dst)
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -19563,7 +21232,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-  /* "View.MemoryView":1317
++  /* "View.MemoryView":1329
+  * 
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  *     copy_strided_to_strided(&src, &dst, ndim, itemsize)             # <<<<<<<<<<<<<<
+@@ -19572,7 +21241,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   copy_strided_to_strided((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize);
+ 
+-  /* "View.MemoryView":1318
++  /* "View.MemoryView":1330
+  *     refcount_copying(&dst, dtype_is_object, ndim, False)
+  *     copy_strided_to_strided(&src, &dst, ndim, itemsize)
+  *     refcount_copying(&dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -19581,7 +21250,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-  /* "View.MemoryView":1320
++  /* "View.MemoryView":1332
+  *     refcount_copying(&dst, dtype_is_object, ndim, True)
+  * 
+  *     free(tmpdata)             # <<<<<<<<<<<<<<
+@@ -19590,7 +21259,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+  */
+   free(__pyx_v_tmpdata);
+ 
+-  /* "View.MemoryView":1321
++  /* "View.MemoryView":1333
+  * 
+  *     free(tmpdata)
+  *     return 0             # <<<<<<<<<<<<<<
+@@ -19600,7 +21269,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_r = 0;
+   goto __pyx_L0;
+ 
+-  /* "View.MemoryView":1252
++  /* "View.MemoryView":1264
+  * 
+  * @cname('__pyx_memoryview_copy_contents')
+  * cdef int memoryview_copy_contents(__Pyx_memviewslice src,             # <<<<<<<<<<<<<<
+@@ -19612,11 +21281,11 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   __pyx_L1_error:;
+   {
+     #ifdef WITH_THREAD
+-    PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++    PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+     #endif
+     __Pyx_AddTraceback("View.MemoryView.memoryview_copy_contents", __pyx_clineno, __pyx_lineno, __pyx_filename);
+     #ifdef WITH_THREAD
+-    PyGILState_Release(__pyx_gilstate_save);
++    __Pyx_PyGILState_Release(__pyx_gilstate_save);
+     #endif
+   }
+   __pyx_r = -1;
+@@ -19624,7 +21293,7 @@ static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_
+   return __pyx_r;
+ }
+ 
+-/* "View.MemoryView":1324
++/* "View.MemoryView":1336
+  * 
+  * @cname('__pyx_memoryview_broadcast_leading')
+  * cdef void broadcast_leading(__Pyx_memviewslice *mslice,             # <<<<<<<<<<<<<<
+@@ -19637,8 +21306,9 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+   int __pyx_v_offset;
+   int __pyx_t_1;
+   int __pyx_t_2;
++  int __pyx_t_3;
+ 
+-  /* "View.MemoryView":1328
++  /* "View.MemoryView":1340
+  *                             int ndim_other) nogil:
+  *     cdef int i
+  *     cdef int offset = ndim_other - ndim             # <<<<<<<<<<<<<<
+@@ -19647,17 +21317,17 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+   __pyx_v_offset = (__pyx_v_ndim_other - __pyx_v_ndim);
+ 
+-  /* "View.MemoryView":1330
++  /* "View.MemoryView":1342
+  *     cdef int offset = ndim_other - ndim
+  * 
+  *     for i in range(ndim - 1, -1, -1):             # <<<<<<<<<<<<<<
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]
+  */
+-  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1L; __pyx_t_1-=1) {
++  for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) {
+     __pyx_v_i = __pyx_t_1;
+ 
+-    /* "View.MemoryView":1331
++    /* "View.MemoryView":1343
+  * 
+  *     for i in range(ndim - 1, -1, -1):
+  *         mslice.shape[i + offset] = mslice.shape[i]             # <<<<<<<<<<<<<<
+@@ -19666,7 +21336,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->shape[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->shape[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1332
++    /* "View.MemoryView":1344
+  *     for i in range(ndim - 1, -1, -1):
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]             # <<<<<<<<<<<<<<
+@@ -19675,7 +21345,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->strides[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->strides[__pyx_v_i]);
+ 
+-    /* "View.MemoryView":1333
++    /* "View.MemoryView":1345
+  *         mslice.shape[i + offset] = mslice.shape[i]
+  *         mslice.strides[i + offset] = mslice.strides[i]
+  *         mslice.suboffsets[i + offset] = mslice.suboffsets[i]             # <<<<<<<<<<<<<<
+@@ -19685,7 +21355,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+     (__pyx_v_mslice->suboffsets[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->suboffsets[__pyx_v_i]);
+   }
+ 
+-  /* "View.MemoryView":1335
++  /* "View.MemoryView":1347
+  *         mslice.suboffsets[i + offset] = mslice.suboffsets[i]
+  * 
+  *     for i in range(offset):             # <<<<<<<<<<<<<<
+@@ -19693,10 +21363,11 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  *         mslice.strides[i] = mslice.strides[0]
+  */
+   __pyx_t_1 = __pyx_v_offset;
+-  for (__pyx_t_2 = 0; __pyx_t_2 < __pyx_t_1; __pyx_t_2+=1) {
+-    __pyx_v_i = __pyx_t_2;
++  __pyx_t_2 = __pyx_t_1;
++  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
++    __pyx_v_i = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1336
++    /* "View.MemoryView":1348
+  * 
+  *     for i in range(offset):
+  *         mslice.shape[i] = 1             # <<<<<<<<<<<<<<
+@@ -19705,7 +21376,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->shape[__pyx_v_i]) = 1;
+ 
+-    /* "View.MemoryView":1337
++    /* "View.MemoryView":1349
+  *     for i in range(offset):
+  *         mslice.shape[i] = 1
+  *         mslice.strides[i] = mslice.strides[0]             # <<<<<<<<<<<<<<
+@@ -19714,7 +21385,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+  */
+     (__pyx_v_mslice->strides[__pyx_v_i]) = (__pyx_v_mslice->strides[0]);
+ 
+-    /* "View.MemoryView":1338
++    /* "View.MemoryView":1350
+  *         mslice.shape[i] = 1
+  *         mslice.strides[i] = mslice.strides[0]
+  *         mslice.suboffsets[i] = -1             # <<<<<<<<<<<<<<
+@@ -19724,7 +21395,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+     (__pyx_v_mslice->suboffsets[__pyx_v_i]) = -1L;
+   }
+ 
+-  /* "View.MemoryView":1324
++  /* "View.MemoryView":1336
+  * 
+  * @cname('__pyx_memoryview_broadcast_leading')
+  * cdef void broadcast_leading(__Pyx_memviewslice *mslice,             # <<<<<<<<<<<<<<
+@@ -19735,7 +21406,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1346
++/* "View.MemoryView":1358
+  * 
+  * @cname('__pyx_memoryview_refcount_copying')
+  * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object,             # <<<<<<<<<<<<<<
+@@ -19746,7 +21417,7 @@ static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslic
+ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_dtype_is_object, int __pyx_v_ndim, int __pyx_v_inc) {
+   int __pyx_t_1;
+ 
+-  /* "View.MemoryView":1350
++  /* "View.MemoryView":1362
+  * 
+  * 
+  *     if dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -19756,7 +21427,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+   __pyx_t_1 = (__pyx_v_dtype_is_object != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1351
++    /* "View.MemoryView":1363
+  * 
+  *     if dtype_is_object:
+  *         refcount_objects_in_slice_with_gil(dst.data, dst.shape,             # <<<<<<<<<<<<<<
+@@ -19765,7 +21436,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+  */
+     __pyx_memoryview_refcount_objects_in_slice_with_gil(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_inc);
+ 
+-    /* "View.MemoryView":1350
++    /* "View.MemoryView":1362
+  * 
+  * 
+  *     if dtype_is_object:             # <<<<<<<<<<<<<<
+@@ -19774,7 +21445,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+  */
+   }
+ 
+-  /* "View.MemoryView":1346
++  /* "View.MemoryView":1358
+  * 
+  * @cname('__pyx_memoryview_refcount_copying')
+  * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object,             # <<<<<<<<<<<<<<
+@@ -19785,7 +21456,7 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1355
++/* "View.MemoryView":1367
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil')
+  * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -19796,11 +21467,11 @@ static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, i
+ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) {
+   __Pyx_RefNannyDeclarations
+   #ifdef WITH_THREAD
+-  PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();
++  PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure();
+   #endif
+   __Pyx_RefNannySetupContext("refcount_objects_in_slice_with_gil", 0);
+ 
+-  /* "View.MemoryView":1358
++  /* "View.MemoryView":1370
+  *                                              Py_ssize_t *strides, int ndim,
+  *                                              bint inc) with gil:
+  *     refcount_objects_in_slice(data, shape, strides, ndim, inc)             # <<<<<<<<<<<<<<
+@@ -19809,7 +21480,7 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
+  */
+   __pyx_memoryview_refcount_objects_in_slice(__pyx_v_data, __pyx_v_shape, __pyx_v_strides, __pyx_v_ndim, __pyx_v_inc);
+ 
+-  /* "View.MemoryView":1355
++  /* "View.MemoryView":1367
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil')
+  * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -19820,11 +21491,11 @@ static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_da
+   /* function exit code */
+   __Pyx_RefNannyFinishContext();
+   #ifdef WITH_THREAD
+-  PyGILState_Release(__pyx_gilstate_save);
++  __Pyx_PyGILState_Release(__pyx_gilstate_save);
+   #endif
+ }
+ 
+-/* "View.MemoryView":1361
++/* "View.MemoryView":1373
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice')
+  * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -19837,10 +21508,11 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+   __Pyx_RefNannyDeclarations
+   Py_ssize_t __pyx_t_1;
+   Py_ssize_t __pyx_t_2;
+-  int __pyx_t_3;
++  Py_ssize_t __pyx_t_3;
++  int __pyx_t_4;
+   __Pyx_RefNannySetupContext("refcount_objects_in_slice", 0);
+ 
+-  /* "View.MemoryView":1365
++  /* "View.MemoryView":1377
+  *     cdef Py_ssize_t i
+  * 
+  *     for i in range(shape[0]):             # <<<<<<<<<<<<<<
+@@ -19848,30 +21520,31 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  *             if inc:
+  */
+   __pyx_t_1 = (__pyx_v_shape[0]);
+-  for (__pyx_t_2 = 0; __pyx_t_2 < __pyx_t_1; __pyx_t_2+=1) {
+-    __pyx_v_i = __pyx_t_2;
++  __pyx_t_2 = __pyx_t_1;
++  for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
++    __pyx_v_i = __pyx_t_3;
+ 
+-    /* "View.MemoryView":1366
++    /* "View.MemoryView":1378
+  * 
+  *     for i in range(shape[0]):
+  *         if ndim == 1:             # <<<<<<<<<<<<<<
+  *             if inc:
+  *                 Py_INCREF(( data)[0])
+  */
+-    __pyx_t_3 = ((__pyx_v_ndim == 1) != 0);
+-    if (__pyx_t_3) {
++    __pyx_t_4 = ((__pyx_v_ndim == 1) != 0);
++    if (__pyx_t_4) {
+ 
+-      /* "View.MemoryView":1367
++      /* "View.MemoryView":1379
+  *     for i in range(shape[0]):
+  *         if ndim == 1:
+  *             if inc:             # <<<<<<<<<<<<<<
+  *                 Py_INCREF(( data)[0])
+  *             else:
+  */
+-      __pyx_t_3 = (__pyx_v_inc != 0);
+-      if (__pyx_t_3) {
++      __pyx_t_4 = (__pyx_v_inc != 0);
++      if (__pyx_t_4) {
+ 
+-        /* "View.MemoryView":1368
++        /* "View.MemoryView":1380
+  *         if ndim == 1:
+  *             if inc:
+  *                 Py_INCREF(( data)[0])             # <<<<<<<<<<<<<<
+@@ -19880,7 +21553,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  */
+         Py_INCREF((((PyObject **)__pyx_v_data)[0]));
+ 
+-        /* "View.MemoryView":1367
++        /* "View.MemoryView":1379
+  *     for i in range(shape[0]):
+  *         if ndim == 1:
+  *             if inc:             # <<<<<<<<<<<<<<
+@@ -19890,7 +21563,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+         goto __pyx_L6;
+       }
+ 
+-      /* "View.MemoryView":1370
++      /* "View.MemoryView":1382
+  *                 Py_INCREF(( data)[0])
+  *             else:
+  *                 Py_DECREF(( data)[0])             # <<<<<<<<<<<<<<
+@@ -19902,7 +21575,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+       }
+       __pyx_L6:;
+ 
+-      /* "View.MemoryView":1366
++      /* "View.MemoryView":1378
+  * 
+  *     for i in range(shape[0]):
+  *         if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -19912,7 +21585,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+       goto __pyx_L5;
+     }
+ 
+-    /* "View.MemoryView":1372
++    /* "View.MemoryView":1384
+  *                 Py_DECREF(( data)[0])
+  *         else:
+  *             refcount_objects_in_slice(data, shape + 1, strides + 1,             # <<<<<<<<<<<<<<
+@@ -19921,7 +21594,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+  */
+     /*else*/ {
+ 
+-      /* "View.MemoryView":1373
++      /* "View.MemoryView":1385
+  *         else:
+  *             refcount_objects_in_slice(data, shape + 1, strides + 1,
+  *                                       ndim - 1, inc)             # <<<<<<<<<<<<<<
+@@ -19932,7 +21605,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+     }
+     __pyx_L5:;
+ 
+-    /* "View.MemoryView":1375
++    /* "View.MemoryView":1387
+  *                                       ndim - 1, inc)
+  * 
+  *         data += strides[0]             # <<<<<<<<<<<<<<
+@@ -19942,7 +21615,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+     __pyx_v_data = (__pyx_v_data + (__pyx_v_strides[0]));
+   }
+ 
+-  /* "View.MemoryView":1361
++  /* "View.MemoryView":1373
+  * 
+  * @cname('__pyx_memoryview_refcount_objects_in_slice')
+  * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -19954,7 +21627,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+   __Pyx_RefNannyFinishContext();
+ }
+ 
+-/* "View.MemoryView":1381
++/* "View.MemoryView":1393
+  * 
+  * @cname('__pyx_memoryview_slice_assign_scalar')
+  * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim,             # <<<<<<<<<<<<<<
+@@ -19964,7 +21637,7 @@ static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ss
+ 
+ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize, void *__pyx_v_item, int __pyx_v_dtype_is_object) {
+ 
+-  /* "View.MemoryView":1384
++  /* "View.MemoryView":1396
+  *                               size_t itemsize, void *item,
+  *                               bint dtype_is_object) nogil:
+  *     refcount_copying(dst, dtype_is_object, ndim, False)             # <<<<<<<<<<<<<<
+@@ -19973,7 +21646,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 0);
+ 
+-  /* "View.MemoryView":1385
++  /* "View.MemoryView":1397
+  *                               bint dtype_is_object) nogil:
+  *     refcount_copying(dst, dtype_is_object, ndim, False)
+  *     _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim,             # <<<<<<<<<<<<<<
+@@ -19982,7 +21655,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview__slice_assign_scalar(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_itemsize, __pyx_v_item);
+ 
+-  /* "View.MemoryView":1387
++  /* "View.MemoryView":1399
+  *     _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim,
+  *                          itemsize, item)
+  *     refcount_copying(dst, dtype_is_object, ndim, True)             # <<<<<<<<<<<<<<
+@@ -19991,7 +21664,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+  */
+   __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 1);
+ 
+-  /* "View.MemoryView":1381
++  /* "View.MemoryView":1393
+  * 
+  * @cname('__pyx_memoryview_slice_assign_scalar')
+  * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim,             # <<<<<<<<<<<<<<
+@@ -20002,7 +21675,7 @@ static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst
+   /* function exit code */
+ }
+ 
+-/* "View.MemoryView":1391
++/* "View.MemoryView":1403
+  * 
+  * @cname('__pyx_memoryview__slice_assign_scalar')
+  * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+@@ -20017,8 +21690,9 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+   int __pyx_t_1;
+   Py_ssize_t __pyx_t_2;
+   Py_ssize_t __pyx_t_3;
++  Py_ssize_t __pyx_t_4;
+ 
+-  /* "View.MemoryView":1395
++  /* "View.MemoryView":1407
+  *                               size_t itemsize, void *item) nogil:
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t stride = strides[0]             # <<<<<<<<<<<<<<
+@@ -20027,7 +21701,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   __pyx_v_stride = (__pyx_v_strides[0]);
+ 
+-  /* "View.MemoryView":1396
++  /* "View.MemoryView":1408
+  *     cdef Py_ssize_t i
+  *     cdef Py_ssize_t stride = strides[0]
+  *     cdef Py_ssize_t extent = shape[0]             # <<<<<<<<<<<<<<
+@@ -20036,7 +21710,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   __pyx_v_extent = (__pyx_v_shape[0]);
+ 
+-  /* "View.MemoryView":1398
++  /* "View.MemoryView":1410
+  *     cdef Py_ssize_t extent = shape[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -20046,7 +21720,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+   __pyx_t_1 = ((__pyx_v_ndim == 1) != 0);
+   if (__pyx_t_1) {
+ 
+-    /* "View.MemoryView":1399
++    /* "View.MemoryView":1411
+  * 
+  *     if ndim == 1:
+  *         for i in range(extent):             # <<<<<<<<<<<<<<
+@@ -20054,19 +21728,20 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  *             data += stride
+  */
+     __pyx_t_2 = __pyx_v_extent;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_i = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_i = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1400
++      /* "View.MemoryView":1412
+  *     if ndim == 1:
+  *         for i in range(extent):
+  *             memcpy(data, item, itemsize)             # <<<<<<<<<<<<<<
+  *             data += stride
+  *     else:
+  */
+-      memcpy(__pyx_v_data, __pyx_v_item, __pyx_v_itemsize);
++      (void)(memcpy(__pyx_v_data, __pyx_v_item, __pyx_v_itemsize));
+ 
+-      /* "View.MemoryView":1401
++      /* "View.MemoryView":1413
+  *         for i in range(extent):
+  *             memcpy(data, item, itemsize)
+  *             data += stride             # <<<<<<<<<<<<<<
+@@ -20076,7 +21751,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+       __pyx_v_data = (__pyx_v_data + __pyx_v_stride);
+     }
+ 
+-    /* "View.MemoryView":1398
++    /* "View.MemoryView":1410
+  *     cdef Py_ssize_t extent = shape[0]
+  * 
+  *     if ndim == 1:             # <<<<<<<<<<<<<<
+@@ -20086,7 +21761,7 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+     goto __pyx_L3;
+   }
+ 
+-  /* "View.MemoryView":1403
++  /* "View.MemoryView":1415
+  *             data += stride
+  *     else:
+  *         for i in range(extent):             # <<<<<<<<<<<<<<
+@@ -20095,39 +21770,518 @@ static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t
+  */
+   /*else*/ {
+     __pyx_t_2 = __pyx_v_extent;
+-    for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
+-      __pyx_v_i = __pyx_t_3;
++    __pyx_t_3 = __pyx_t_2;
++    for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
++      __pyx_v_i = __pyx_t_4;
+ 
+-      /* "View.MemoryView":1404
++      /* "View.MemoryView":1416
+  *     else:
+  *         for i in range(extent):
+  *             _slice_assign_scalar(data, shape + 1, strides + 1,             # <<<<<<<<<<<<<<
+  *                                 ndim - 1, itemsize, item)
+  *             data += stride
+  */
+-      __pyx_memoryview__slice_assign_scalar(__pyx_v_data, (__pyx_v_shape + 1), (__pyx_v_strides + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize, __pyx_v_item);
++      __pyx_memoryview__slice_assign_scalar(__pyx_v_data, (__pyx_v_shape + 1), (__pyx_v_strides + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize, __pyx_v_item);
++
++      /* "View.MemoryView":1418
++ *             _slice_assign_scalar(data, shape + 1, strides + 1,
++ *                                 ndim - 1, itemsize, item)
++ *             data += stride             # <<<<<<<<<<<<<<
++ * 
++ * 
++ */
++      __pyx_v_data = (__pyx_v_data + __pyx_v_stride);
++    }
++  }
++  __pyx_L3:;
++
++  /* "View.MemoryView":1403
++ * 
++ * @cname('__pyx_memoryview__slice_assign_scalar')
++ * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
++ *                               Py_ssize_t *strides, int ndim,
++ *                               size_t itemsize, void *item) nogil:
++ */
++
++  /* function exit code */
++}
++
++/* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++
++/* Python wrapper */
++static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
++static PyMethodDef __pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum = {"__pyx_unpickle_Enum", (PyCFunction)__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum, METH_VARARGS|METH_KEYWORDS, 0};
++static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
++  PyObject *__pyx_v___pyx_type = 0;
++  long __pyx_v___pyx_checksum;
++  PyObject *__pyx_v___pyx_state = 0;
++  PyObject *__pyx_r = 0;
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum (wrapper)", 0);
++  {
++    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_type,&__pyx_n_s_pyx_checksum,&__pyx_n_s_pyx_state,0};
++    PyObject* values[3] = {0,0,0};
++    if (unlikely(__pyx_kwds)) {
++      Py_ssize_t kw_args;
++      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
++      switch (pos_args) {
++        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++        CYTHON_FALLTHROUGH;
++        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++        CYTHON_FALLTHROUGH;
++        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++        CYTHON_FALLTHROUGH;
++        case  0: break;
++        default: goto __pyx_L5_argtuple_error;
++      }
++      kw_args = PyDict_Size(__pyx_kwds);
++      switch (pos_args) {
++        case  0:
++        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_type)) != 0)) kw_args--;
++        else goto __pyx_L5_argtuple_error;
++        CYTHON_FALLTHROUGH;
++        case  1:
++        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_checksum)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 1); __PYX_ERR(2, 1, __pyx_L3_error)
++        }
++        CYTHON_FALLTHROUGH;
++        case  2:
++        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pyx_state)) != 0)) kw_args--;
++        else {
++          __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 2); __PYX_ERR(2, 1, __pyx_L3_error)
++        }
++      }
++      if (unlikely(kw_args > 0)) {
++        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__pyx_unpickle_Enum") < 0)) __PYX_ERR(2, 1, __pyx_L3_error)
++      }
++    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
++      goto __pyx_L5_argtuple_error;
++    } else {
++      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
++      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
++      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
++    }
++    __pyx_v___pyx_type = values[0];
++    __pyx_v___pyx_checksum = __Pyx_PyInt_As_long(values[1]); if (unlikely((__pyx_v___pyx_checksum == (long)-1) && PyErr_Occurred())) __PYX_ERR(2, 1, __pyx_L3_error)
++    __pyx_v___pyx_state = values[2];
++  }
++  goto __pyx_L4_argument_unpacking_done;
++  __pyx_L5_argtuple_error:;
++  __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(2, 1, __pyx_L3_error)
++  __pyx_L3_error:;
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __Pyx_RefNannyFinishContext();
++  return NULL;
++  __pyx_L4_argument_unpacking_done:;
++  __pyx_r = __pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state);
++
++  /* function exit code */
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_v___pyx_PickleError = NULL;
++  PyObject *__pyx_v___pyx_result = NULL;
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  int __pyx_t_1;
++  PyObject *__pyx_t_2 = NULL;
++  PyObject *__pyx_t_3 = NULL;
++  PyObject *__pyx_t_4 = NULL;
++  PyObject *__pyx_t_5 = NULL;
++  PyObject *__pyx_t_6 = NULL;
++  int __pyx_t_7;
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 0);
++
++  /* "(tree fragment)":2
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:             # <<<<<<<<<<<<<<
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ */
++  __pyx_t_1 = ((__pyx_v___pyx_checksum != 0xb068931) != 0);
++  if (__pyx_t_1) {
++
++    /* "(tree fragment)":3
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError             # <<<<<<<<<<<<<<
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ */
++    __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_INCREF(__pyx_n_s_PickleError);
++    __Pyx_GIVEREF(__pyx_n_s_PickleError);
++    PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_PickleError);
++    __pyx_t_3 = __Pyx_Import(__pyx_n_s_pickle, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PickleError); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 3, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __Pyx_INCREF(__pyx_t_2);
++    __pyx_v___pyx_PickleError = __pyx_t_2;
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++
++    /* "(tree fragment)":4
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)             # <<<<<<<<<<<<<<
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:
++ */
++    __pyx_t_2 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 4, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_2);
++    __pyx_t_4 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_s_vs_0xb0, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 4, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_4);
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_INCREF(__pyx_v___pyx_PickleError);
++    __pyx_t_2 = __pyx_v___pyx_PickleError; __pyx_t_5 = NULL;
++    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_2))) {
++      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2);
++      if (likely(__pyx_t_5)) {
++        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
++        __Pyx_INCREF(__pyx_t_5);
++        __Pyx_INCREF(function);
++        __Pyx_DECREF_SET(__pyx_t_2, function);
++      }
++    }
++    if (!__pyx_t_5) {
++      __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else {
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_2)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_4};
++        __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_5, __pyx_t_4};
++        __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_6 = PyTuple_New(1+1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_6);
++        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5); __pyx_t_5 = NULL;
++        __Pyx_GIVEREF(__pyx_t_4);
++        PyTuple_SET_ITEM(__pyx_t_6, 0+1, __pyx_t_4);
++        __pyx_t_4 = 0;
++        __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 4, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_3);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      }
++    }
++    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++    __PYX_ERR(2, 4, __pyx_L1_error)
++
++    /* "(tree fragment)":2
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):
++ *     if __pyx_checksum != 0xb068931:             # <<<<<<<<<<<<<<
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ */
++  }
++
++  /* "(tree fragment)":5
++ *         from pickle import PickleError as __pyx_PickleError
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)             # <<<<<<<<<<<<<<
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ */
++  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_MemviewEnum_type), __pyx_n_s_new); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_2);
++  __pyx_t_6 = NULL;
++  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
++    __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_2);
++    if (likely(__pyx_t_6)) {
++      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
++      __Pyx_INCREF(__pyx_t_6);
++      __Pyx_INCREF(function);
++      __Pyx_DECREF_SET(__pyx_t_2, function);
++    }
++  }
++  if (!__pyx_t_6) {
++    __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v___pyx_type); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++  } else {
++    #if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_v___pyx_type};
++      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else
++    #endif
++    #if CYTHON_FAST_PYCCALL
++    if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
++      PyObject *__pyx_temp[2] = {__pyx_t_6, __pyx_v___pyx_type};
++      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_3);
++    } else
++    #endif
++    {
++      __pyx_t_4 = PyTuple_New(1+1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_4);
++      __Pyx_GIVEREF(__pyx_t_6); PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_6); __pyx_t_6 = NULL;
++      __Pyx_INCREF(__pyx_v___pyx_type);
++      __Pyx_GIVEREF(__pyx_v___pyx_type);
++      PyTuple_SET_ITEM(__pyx_t_4, 0+1, __pyx_v___pyx_type);
++      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error)
++      __Pyx_GOTREF(__pyx_t_3);
++      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
++    }
++  }
++  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
++  __pyx_v___pyx_result = __pyx_t_3;
++  __pyx_t_3 = 0;
++
++  /* "(tree fragment)":6
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:             # <<<<<<<<<<<<<<
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ */
++  __pyx_t_1 = (__pyx_v___pyx_state != Py_None);
++  __pyx_t_7 = (__pyx_t_1 != 0);
++  if (__pyx_t_7) {
++
++    /* "(tree fragment)":7
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)             # <<<<<<<<<<<<<<
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ */
++    if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "tuple", Py_TYPE(__pyx_v___pyx_state)->tp_name), 0))) __PYX_ERR(2, 7, __pyx_L1_error)
++    __pyx_t_3 = __pyx_unpickle_Enum__set_state(((struct __pyx_MemviewEnum_obj *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 7, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_3);
++    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
++
++    /* "(tree fragment)":6
++ *         raise __pyx_PickleError("Incompatible checksums (%s vs 0xb068931 = (name))" % __pyx_checksum)
++ *     __pyx_result = Enum.__new__(__pyx_type)
++ *     if __pyx_state is not None:             # <<<<<<<<<<<<<<
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ */
++  }
++
++  /* "(tree fragment)":8
++ *     if __pyx_state is not None:
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result             # <<<<<<<<<<<<<<
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ */
++  __Pyx_XDECREF(__pyx_r);
++  __Pyx_INCREF(__pyx_v___pyx_result);
++  __pyx_r = __pyx_v___pyx_result;
++  goto __pyx_L0;
++
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++
++  /* function exit code */
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_2);
++  __Pyx_XDECREF(__pyx_t_3);
++  __Pyx_XDECREF(__pyx_t_4);
++  __Pyx_XDECREF(__pyx_t_5);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = NULL;
++  __pyx_L0:;
++  __Pyx_XDECREF(__pyx_v___pyx_PickleError);
++  __Pyx_XDECREF(__pyx_v___pyx_result);
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
++}
++
++/* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ */
++
++static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
++  PyObject *__pyx_r = NULL;
++  __Pyx_RefNannyDeclarations
++  PyObject *__pyx_t_1 = NULL;
++  int __pyx_t_2;
++  Py_ssize_t __pyx_t_3;
++  int __pyx_t_4;
++  int __pyx_t_5;
++  PyObject *__pyx_t_6 = NULL;
++  PyObject *__pyx_t_7 = NULL;
++  PyObject *__pyx_t_8 = NULL;
++  PyObject *__pyx_t_9 = NULL;
++  __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 0);
++
++  /* "(tree fragment)":10
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]             # <<<<<<<<<<<<<<
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
++  if (unlikely(__pyx_v___pyx_state == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
++    __PYX_ERR(2, 10, __pyx_L1_error)
++  }
++  __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 10, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_1);
++  __Pyx_GIVEREF(__pyx_t_1);
++  __Pyx_GOTREF(__pyx_v___pyx_result->name);
++  __Pyx_DECREF(__pyx_v___pyx_result->name);
++  __pyx_v___pyx_result->name = __pyx_t_1;
++  __pyx_t_1 = 0;
++
++  /* "(tree fragment)":11
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):             # <<<<<<<<<<<<<<
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
++  if (unlikely(__pyx_v___pyx_state == Py_None)) {
++    PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
++    __PYX_ERR(2, 11, __pyx_L1_error)
++  }
++  __pyx_t_3 = PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(2, 11, __pyx_L1_error)
++  __pyx_t_4 = ((__pyx_t_3 > 1) != 0);
++  if (__pyx_t_4) {
++  } else {
++    __pyx_t_2 = __pyx_t_4;
++    goto __pyx_L4_bool_binop_done;
++  }
++  __pyx_t_4 = __Pyx_HasAttr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 11, __pyx_L1_error)
++  __pyx_t_5 = (__pyx_t_4 != 0);
++  __pyx_t_2 = __pyx_t_5;
++  __pyx_L4_bool_binop_done:;
++  if (__pyx_t_2) {
+ 
+-      /* "View.MemoryView":1406
+- *             _slice_assign_scalar(data, shape + 1, strides + 1,
+- *                                 ndim - 1, itemsize, item)
+- *             data += stride             # <<<<<<<<<<<<<<
+- * 
+- * 
++    /* "(tree fragment)":12
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
++ *         __pyx_result.__dict__.update(__pyx_state[1])             # <<<<<<<<<<<<<<
+  */
+-      __pyx_v_data = (__pyx_v_data + __pyx_v_stride);
++    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_update); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_7);
++    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++    if (unlikely(__pyx_v___pyx_state == Py_None)) {
++      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
++      __PYX_ERR(2, 12, __pyx_L1_error)
++    }
++    __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 12, __pyx_L1_error)
++    __Pyx_GOTREF(__pyx_t_6);
++    __pyx_t_8 = NULL;
++    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_7))) {
++      __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
++      if (likely(__pyx_t_8)) {
++        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
++        __Pyx_INCREF(__pyx_t_8);
++        __Pyx_INCREF(function);
++        __Pyx_DECREF_SET(__pyx_t_7, function);
++      }
++    }
++    if (!__pyx_t_8) {
++      __pyx_t_1 = __Pyx_PyObject_CallOneArg(__pyx_t_7, __pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      __Pyx_GOTREF(__pyx_t_1);
++    } else {
++      #if CYTHON_FAST_PYCALL
++      if (PyFunction_Check(__pyx_t_7)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_6};
++        __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_7, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      #if CYTHON_FAST_PYCCALL
++      if (__Pyx_PyFastCFunction_Check(__pyx_t_7)) {
++        PyObject *__pyx_temp[2] = {__pyx_t_8, __pyx_t_6};
++        __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_7, __pyx_temp+1-1, 1+1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++      } else
++      #endif
++      {
++        __pyx_t_9 = PyTuple_New(1+1); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_9);
++        __Pyx_GIVEREF(__pyx_t_8); PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_8); __pyx_t_8 = NULL;
++        __Pyx_GIVEREF(__pyx_t_6);
++        PyTuple_SET_ITEM(__pyx_t_9, 0+1, __pyx_t_6);
++        __pyx_t_6 = 0;
++        __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_t_9, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error)
++        __Pyx_GOTREF(__pyx_t_1);
++        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
++      }
+     }
++    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
++    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
++
++    /* "(tree fragment)":11
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):             # <<<<<<<<<<<<<<
++ *         __pyx_result.__dict__.update(__pyx_state[1])
++ */
+   }
+-  __pyx_L3:;
+ 
+-  /* "View.MemoryView":1391
+- * 
+- * @cname('__pyx_memoryview__slice_assign_scalar')
+- * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+- *                               Py_ssize_t *strides, int ndim,
+- *                               size_t itemsize, void *item) nogil:
++  /* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
+  */
+ 
+   /* function exit code */
++  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
++  goto __pyx_L0;
++  __pyx_L1_error:;
++  __Pyx_XDECREF(__pyx_t_1);
++  __Pyx_XDECREF(__pyx_t_6);
++  __Pyx_XDECREF(__pyx_t_7);
++  __Pyx_XDECREF(__pyx_t_8);
++  __Pyx_XDECREF(__pyx_t_9);
++  __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename);
++  __pyx_r = 0;
++  __pyx_L0:;
++  __Pyx_XGIVEREF(__pyx_r);
++  __Pyx_RefNannyFinishContext();
++  return __pyx_r;
+ }
+ static struct __pyx_vtabstruct_array __pyx_vtable_array;
+ 
+@@ -20144,16 +22298,17 @@ static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k) {
+   p->__pyx_vtab = __pyx_vtabptr_array;
+   p->mode = ((PyObject*)Py_None); Py_INCREF(Py_None);
+   p->_format = ((PyObject*)Py_None); Py_INCREF(Py_None);
+-  if (unlikely(__pyx_array___cinit__(o, a, k) < 0)) {
+-    Py_DECREF(o); o = 0;
+-  }
++  if (unlikely(__pyx_array___cinit__(o, a, k) < 0)) goto bad;
+   return o;
++  bad:
++  Py_DECREF(o); o = 0;
++  return NULL;
+ }
+ 
+ static void __pyx_tp_dealloc_array(PyObject *o) {
+   struct __pyx_array_obj *p = (struct __pyx_array_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && (!PyType_IS_GC(Py_TYPE(o)) || !_PyGC_FINALIZED(o))) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -20189,7 +22344,7 @@ static int __pyx_mp_ass_subscript_array(PyObject *o, PyObject *i, PyObject *v) {
+ }
+ 
+ static PyObject *__pyx_tp_getattro_array(PyObject *o, PyObject *n) {
+-  PyObject *v = PyObject_GenericGetAttr(o, n);
++  PyObject *v = __Pyx_PyObject_GenericGetAttr(o, n);
+   if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {
+     PyErr_Clear();
+     v = __pyx_array___getattr__(o, n);
+@@ -20203,6 +22358,8 @@ static PyObject *__pyx_getprop___pyx_array_memview(PyObject *o, CYTHON_UNUSED vo
+ 
+ static PyMethodDef __pyx_methods_array[] = {
+   {"__getattr__", (PyCFunction)__pyx_array___getattr__, METH_O|METH_COEXIST, 0},
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_array_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_array_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -20212,7 +22369,7 @@ static struct PyGetSetDef __pyx_getsets_array[] = {
+ };
+ 
+ static PySequenceMethods __pyx_tp_as_sequence_array = {
+-  0, /*sq_length*/
++  __pyx_array___len__, /*sq_length*/
+   0, /*sq_concat*/
+   0, /*sq_repeat*/
+   __pyx_sq_item_array, /*sq_item*/
+@@ -20225,7 +22382,7 @@ static PySequenceMethods __pyx_tp_as_sequence_array = {
+ };
+ 
+ static PyMappingMethods __pyx_tp_as_mapping_array = {
+-  0, /*mp_length*/
++  __pyx_array___len__, /*mp_length*/
+   __pyx_array___getitem__, /*mp_subscript*/
+   __pyx_mp_ass_subscript_array, /*mp_ass_subscript*/
+ };
+@@ -20321,8 +22478,8 @@ static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, CYTHON_UNUSED PyObject *a, C
+ 
+ static void __pyx_tp_dealloc_Enum(PyObject *o) {
+   struct __pyx_MemviewEnum_obj *p = (struct __pyx_MemviewEnum_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -20350,6 +22507,8 @@ static int __pyx_tp_clear_Enum(PyObject *o) {
+ }
+ 
+ static PyMethodDef __pyx_methods_Enum[] = {
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_MemviewEnum_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_MemviewEnum_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -20427,16 +22586,17 @@ static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject
+   p->_size = Py_None; Py_INCREF(Py_None);
+   p->_array_interface = Py_None; Py_INCREF(Py_None);
+   p->view.obj = NULL;
+-  if (unlikely(__pyx_memoryview___cinit__(o, a, k) < 0)) {
+-    Py_DECREF(o); o = 0;
+-  }
++  if (unlikely(__pyx_memoryview___cinit__(o, a, k) < 0)) goto bad;
+   return o;
++  bad:
++  Py_DECREF(o); o = 0;
++  return NULL;
+ }
+ 
+ static void __pyx_tp_dealloc_memoryview(PyObject *o) {
+   struct __pyx_memoryview_obj *p = (struct __pyx_memoryview_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -20548,6 +22708,8 @@ static PyMethodDef __pyx_methods_memoryview[] = {
+   {"is_f_contig", (PyCFunction)__pyx_memoryview_is_f_contig, METH_NOARGS, 0},
+   {"copy", (PyCFunction)__pyx_memoryview_copy, METH_NOARGS, 0},
+   {"copy_fortran", (PyCFunction)__pyx_memoryview_copy_fortran, METH_NOARGS, 0},
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_memoryview_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_memoryview_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -20672,8 +22834,8 @@ static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyO
+ 
+ static void __pyx_tp_dealloc__memoryviewslice(PyObject *o) {
+   struct __pyx_memoryviewslice_obj *p = (struct __pyx_memoryviewslice_obj *)o;
+-  #if PY_VERSION_HEX >= 0x030400a1
+-  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
++  #if CYTHON_USE_TP_FINALIZE
++  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
+     if (PyObject_CallFinalizerFromDealloc(o)) return;
+   }
+   #endif
+@@ -20717,6 +22879,8 @@ static PyObject *__pyx_getprop___pyx_memoryviewslice_base(PyObject *o, CYTHON_UN
+ }
+ 
+ static PyMethodDef __pyx_methods__memoryviewslice[] = {
++  {"__reduce_cython__", (PyCFunction)__pyx_pw___pyx_memoryviewslice_1__reduce_cython__, METH_NOARGS, 0},
++  {"__setstate_cython__", (PyCFunction)__pyx_pw___pyx_memoryviewslice_3__setstate_cython__, METH_O, 0},
+   {0, 0, 0, 0}
+ };
+ 
+@@ -20796,17 +22960,31 @@ static PyMethodDef __pyx_methods[] = {
+ };
+ 
+ #if PY_MAJOR_VERSION >= 3
++#if CYTHON_PEP489_MULTI_PHASE_INIT
++static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
++static int __pyx_pymod_exec__ll2cr(PyObject* module); /*proto*/
++static PyModuleDef_Slot __pyx_moduledef_slots[] = {
++  {Py_mod_create, (void*)__pyx_pymod_create},
++  {Py_mod_exec, (void*)__pyx_pymod_exec__ll2cr},
++  {0, NULL}
++};
++#endif
++
+ static struct PyModuleDef __pyx_moduledef = {
+-  #if PY_VERSION_HEX < 0x03020000
+-    { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
+-  #else
+     PyModuleDef_HEAD_INIT,
+-  #endif
+     "_ll2cr",
+     __pyx_k_Map_longitude_latitude_points_to, /* m_doc */
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++    0, /* m_size */
++  #else
+     -1, /* m_size */
++  #endif
+     __pyx_methods /* m_methods */,
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++    __pyx_moduledef_slots, /* m_slots */
++  #else
+     NULL, /* m_reload */
++  #endif
+     NULL, /* m_traverse */
+     NULL, /* m_clear */
+     NULL /* m_free */
+@@ -20815,18 +22993,20 @@ static struct PyModuleDef __pyx_moduledef = {
+ 
+ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_ASCII, __pyx_k_ASCII, sizeof(__pyx_k_ASCII), 0, 0, 1, 1},
+-  {&__pyx_n_s_AttributeError, __pyx_k_AttributeError, sizeof(__pyx_k_AttributeError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Buffer_view_does_not_expose_stri, __pyx_k_Buffer_view_does_not_expose_stri, sizeof(__pyx_k_Buffer_view_does_not_expose_stri), 0, 0, 1, 0},
+   {&__pyx_kp_s_Can_only_create_a_buffer_that_is, __pyx_k_Can_only_create_a_buffer_that_is, sizeof(__pyx_k_Can_only_create_a_buffer_that_is), 0, 0, 1, 0},
++  {&__pyx_kp_s_Cannot_assign_to_read_only_memor, __pyx_k_Cannot_assign_to_read_only_memor, sizeof(__pyx_k_Cannot_assign_to_read_only_memor), 0, 0, 1, 0},
++  {&__pyx_kp_s_Cannot_create_writable_memory_vi, __pyx_k_Cannot_create_writable_memory_vi, sizeof(__pyx_k_Cannot_create_writable_memory_vi), 0, 0, 1, 0},
+   {&__pyx_kp_s_Cannot_index_with_type_s, __pyx_k_Cannot_index_with_type_s, sizeof(__pyx_k_Cannot_index_with_type_s), 0, 0, 1, 0},
+   {&__pyx_kp_s_Custom_class_to_make_ll2cr_proje, __pyx_k_Custom_class_to_make_ll2cr_proje, sizeof(__pyx_k_Custom_class_to_make_ll2cr_proje), 0, 0, 1, 0},
+   {&__pyx_n_s_Ellipsis, __pyx_k_Ellipsis, sizeof(__pyx_k_Ellipsis), 0, 0, 1, 1},
+   {&__pyx_kp_s_Empty_shape_tuple_for_cython_arr, __pyx_k_Empty_shape_tuple_for_cython_arr, sizeof(__pyx_k_Empty_shape_tuple_for_cython_arr), 0, 0, 1, 0},
+-  {&__pyx_kp_s_Expected_at_least_d_arguments, __pyx_k_Expected_at_least_d_arguments, sizeof(__pyx_k_Expected_at_least_d_arguments), 0, 0, 1, 0},
++  {&__pyx_kp_s_Expected_at_least_d_argument_s_g, __pyx_k_Expected_at_least_d_argument_s_g, sizeof(__pyx_k_Expected_at_least_d_argument_s_g), 0, 0, 1, 0},
+   {&__pyx_kp_u_Format_string_allocated_too_shor, __pyx_k_Format_string_allocated_too_shor, sizeof(__pyx_k_Format_string_allocated_too_shor), 0, 1, 0, 0},
+   {&__pyx_kp_u_Format_string_allocated_too_shor_2, __pyx_k_Format_string_allocated_too_shor_2, sizeof(__pyx_k_Format_string_allocated_too_shor_2), 0, 1, 0, 0},
+   {&__pyx_kp_s_Function_call_with_ambiguous_arg, __pyx_k_Function_call_with_ambiguous_arg, sizeof(__pyx_k_Function_call_with_ambiguous_arg), 0, 0, 1, 0},
+   {&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1},
++  {&__pyx_kp_s_Incompatible_checksums_s_vs_0xb0, __pyx_k_Incompatible_checksums_s_vs_0xb0, sizeof(__pyx_k_Incompatible_checksums_s_vs_0xb0), 0, 0, 1, 0},
+   {&__pyx_n_s_IndexError, __pyx_k_IndexError, sizeof(__pyx_k_IndexError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Indirect_dimensions_not_supporte, __pyx_k_Indirect_dimensions_not_supporte, sizeof(__pyx_k_Indirect_dimensions_not_supporte), 0, 0, 1, 0},
+   {&__pyx_kp_s_Invalid_mode_expected_c_or_fortr, __pyx_k_Invalid_mode_expected_c_or_fortr, sizeof(__pyx_k_Invalid_mode_expected_c_or_fortr), 0, 0, 1, 0},
+@@ -20840,12 +23020,13 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_u_Non_native_byte_order_not_suppor, __pyx_k_Non_native_byte_order_not_suppor, sizeof(__pyx_k_Non_native_byte_order_not_suppor), 0, 1, 0, 0},
+   {&__pyx_n_b_O, __pyx_k_O, sizeof(__pyx_k_O), 0, 0, 0, 1},
+   {&__pyx_kp_s_Out_of_bounds_on_buffer_access_a, __pyx_k_Out_of_bounds_on_buffer_access_a, sizeof(__pyx_k_Out_of_bounds_on_buffer_access_a), 0, 0, 1, 0},
++  {&__pyx_n_s_PickleError, __pyx_k_PickleError, sizeof(__pyx_k_PickleError), 0, 0, 1, 1},
+   {&__pyx_n_s_Proj, __pyx_k_Proj, sizeof(__pyx_k_Proj), 0, 0, 1, 1},
+   {&__pyx_n_s_RuntimeError, __pyx_k_RuntimeError, sizeof(__pyx_k_RuntimeError), 0, 0, 1, 1},
+   {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
+   {&__pyx_kp_s_Unable_to_convert_item_to_object, __pyx_k_Unable_to_convert_item_to_object, sizeof(__pyx_k_Unable_to_convert_item_to_object), 0, 0, 1, 0},
+-  {&__pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_k_Users_davidh_repos_git_pyresamp, sizeof(__pyx_k_Users_davidh_repos_git_pyresamp), 0, 0, 1, 0},
+   {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
++  {&__pyx_n_s_View_MemoryView, __pyx_k_View_MemoryView, sizeof(__pyx_k_View_MemoryView), 0, 0, 1, 1},
+   {&__pyx_kp_s__2, __pyx_k__2, sizeof(__pyx_k__2), 0, 0, 1, 0},
+   {&__pyx_kp_s__4, __pyx_k__4, sizeof(__pyx_k__4), 0, 0, 1, 0},
+   {&__pyx_n_s_allocate_buffer, __pyx_k_allocate_buffer, sizeof(__pyx_k_allocate_buffer), 0, 0, 1, 1},
+@@ -20857,11 +23038,13 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_cell_height, __pyx_k_cell_height, sizeof(__pyx_k_cell_height), 0, 0, 1, 1},
+   {&__pyx_n_s_cell_width, __pyx_k_cell_width, sizeof(__pyx_k_cell_width), 0, 0, 1, 1},
+   {&__pyx_n_s_class, __pyx_k_class, sizeof(__pyx_k_class), 0, 0, 1, 1},
++  {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
+   {&__pyx_n_s_col, __pyx_k_col, sizeof(__pyx_k_col), 0, 0, 1, 1},
+   {&__pyx_n_s_cols_out, __pyx_k_cols_out, sizeof(__pyx_k_cols_out), 0, 0, 1, 1},
+   {&__pyx_kp_s_contiguous_and_direct, __pyx_k_contiguous_and_direct, sizeof(__pyx_k_contiguous_and_direct), 0, 0, 1, 0},
+   {&__pyx_kp_s_contiguous_and_indirect, __pyx_k_contiguous_and_indirect, sizeof(__pyx_k_contiguous_and_indirect), 0, 0, 1, 0},
+   {&__pyx_n_s_defaults, __pyx_k_defaults, sizeof(__pyx_k_defaults), 0, 0, 1, 1},
++  {&__pyx_n_s_dict, __pyx_k_dict, sizeof(__pyx_k_dict), 0, 0, 1, 1},
+   {&__pyx_n_s_doc, __pyx_k_doc, sizeof(__pyx_k_doc), 0, 0, 1, 1},
+   {&__pyx_n_s_docformat, __pyx_k_docformat, sizeof(__pyx_k_docformat), 0, 0, 1, 1},
+   {&__pyx_n_s_dtype, __pyx_k_dtype, sizeof(__pyx_k_dtype), 0, 0, 1, 1},
+@@ -20878,6 +23061,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_u_fortran, __pyx_k_fortran, sizeof(__pyx_k_fortran), 0, 1, 0, 1},
+   {&__pyx_n_s_fwd, __pyx_k_fwd, sizeof(__pyx_k_fwd), 0, 0, 1, 1},
+   {&__pyx_n_s_get, __pyx_k_get, sizeof(__pyx_k_get), 0, 0, 1, 1},
++  {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1},
+   {&__pyx_kp_s_got_differing_extents_in_dimensi, __pyx_k_got_differing_extents_in_dimensi, sizeof(__pyx_k_got_differing_extents_in_dimensi), 0, 0, 1, 0},
+   {&__pyx_n_s_h, __pyx_k_h, sizeof(__pyx_k_h), 0, 0, 1, 1},
+   {&__pyx_n_s_height, __pyx_k_height, sizeof(__pyx_k_height), 0, 0, 1, 1},
+@@ -20907,13 +23091,16 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_module, __pyx_k_module, sizeof(__pyx_k_module), 0, 0, 1, 1},
+   {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
+   {&__pyx_n_s_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1},
+-  {&__pyx_n_s_ndarray, __pyx_k_ndarray, sizeof(__pyx_k_ndarray), 0, 0, 1, 1},
+   {&__pyx_kp_u_ndarray_is_not_C_contiguous, __pyx_k_ndarray_is_not_C_contiguous, sizeof(__pyx_k_ndarray_is_not_C_contiguous), 0, 1, 0, 0},
+   {&__pyx_kp_u_ndarray_is_not_Fortran_contiguou, __pyx_k_ndarray_is_not_Fortran_contiguou, sizeof(__pyx_k_ndarray_is_not_Fortran_contiguou), 0, 1, 0, 0},
+   {&__pyx_n_s_ndim, __pyx_k_ndim, sizeof(__pyx_k_ndim), 0, 0, 1, 1},
++  {&__pyx_n_s_new, __pyx_k_new, sizeof(__pyx_k_new), 0, 0, 1, 1},
++  {&__pyx_kp_s_no_default___reduce___due_to_non, __pyx_k_no_default___reduce___due_to_non, sizeof(__pyx_k_no_default___reduce___due_to_non), 0, 0, 1, 0},
+   {&__pyx_n_s_num_cols, __pyx_k_num_cols, sizeof(__pyx_k_num_cols), 0, 0, 1, 1},
+   {&__pyx_n_s_num_rows, __pyx_k_num_rows, sizeof(__pyx_k_num_rows), 0, 0, 1, 1},
+   {&__pyx_n_s_numpy, __pyx_k_numpy, sizeof(__pyx_k_numpy), 0, 0, 1, 1},
++  {&__pyx_kp_s_numpy_core_multiarray_failed_to, __pyx_k_numpy_core_multiarray_failed_to, sizeof(__pyx_k_numpy_core_multiarray_failed_to), 0, 0, 1, 0},
++  {&__pyx_kp_s_numpy_core_umath_failed_to_impor, __pyx_k_numpy_core_umath_failed_to_impor, sizeof(__pyx_k_numpy_core_umath_failed_to_impor), 0, 0, 1, 0},
+   {&__pyx_n_s_obj, __pyx_k_obj, sizeof(__pyx_k_obj), 0, 0, 1, 1},
+   {&__pyx_n_s_origin_x, __pyx_k_origin_x, sizeof(__pyx_k_origin_x), 0, 0, 1, 1},
+   {&__pyx_n_s_origin_y, __pyx_k_origin_y, sizeof(__pyx_k_origin_y), 0, 0, 1, 1},
+@@ -20921,6 +23108,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_oy, __pyx_k_oy, sizeof(__pyx_k_oy), 0, 0, 1, 1},
+   {&__pyx_n_s_p, __pyx_k_p, sizeof(__pyx_k_p), 0, 0, 1, 1},
+   {&__pyx_n_s_pack, __pyx_k_pack, sizeof(__pyx_k_pack), 0, 0, 1, 1},
++  {&__pyx_n_s_pickle, __pyx_k_pickle, sizeof(__pyx_k_pickle), 0, 0, 1, 1},
+   {&__pyx_n_s_points_in_grid, __pyx_k_points_in_grid, sizeof(__pyx_k_points_in_grid), 0, 0, 1, 1},
+   {&__pyx_n_s_prepare, __pyx_k_prepare, sizeof(__pyx_k_prepare), 0, 0, 1, 1},
+   {&__pyx_n_s_proj, __pyx_k_proj, sizeof(__pyx_k_proj), 0, 0, 1, 1},
+@@ -20930,15 +23118,28 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_projection_circumference, __pyx_k_projection_circumference, sizeof(__pyx_k_projection_circumference), 0, 0, 1, 1},
+   {&__pyx_n_s_pyproj, __pyx_k_pyproj, sizeof(__pyx_k_pyproj), 0, 0, 1, 1},
+   {&__pyx_n_s_pyresample_ewa__ll2cr, __pyx_k_pyresample_ewa__ll2cr, sizeof(__pyx_k_pyresample_ewa__ll2cr), 0, 0, 1, 1},
++  {&__pyx_kp_s_pyresample_ewa__ll2cr_pyx, __pyx_k_pyresample_ewa__ll2cr_pyx, sizeof(__pyx_k_pyresample_ewa__ll2cr_pyx), 0, 0, 1, 0},
++  {&__pyx_n_s_pyx_PickleError, __pyx_k_pyx_PickleError, sizeof(__pyx_k_pyx_PickleError), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_checksum, __pyx_k_pyx_checksum, sizeof(__pyx_k_pyx_checksum), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_getbuffer, __pyx_k_pyx_getbuffer, sizeof(__pyx_k_pyx_getbuffer), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_result, __pyx_k_pyx_result, sizeof(__pyx_k_pyx_result), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_state, __pyx_k_pyx_state, sizeof(__pyx_k_pyx_state), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_type, __pyx_k_pyx_type, sizeof(__pyx_k_pyx_type), 0, 0, 1, 1},
++  {&__pyx_n_s_pyx_unpickle_Enum, __pyx_k_pyx_unpickle_Enum, sizeof(__pyx_k_pyx_unpickle_Enum), 0, 0, 1, 1},
+   {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
+   {&__pyx_n_s_qualname, __pyx_k_qualname, sizeof(__pyx_k_qualname), 0, 0, 1, 1},
+   {&__pyx_n_s_radians, __pyx_k_radians, sizeof(__pyx_k_radians), 0, 0, 1, 1},
+   {&__pyx_n_s_range, __pyx_k_range, sizeof(__pyx_k_range), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1},
++  {&__pyx_n_s_reduce_ex, __pyx_k_reduce_ex, sizeof(__pyx_k_reduce_ex), 0, 0, 1, 1},
+   {&__pyx_kp_s_restructuredtext_en, __pyx_k_restructuredtext_en, sizeof(__pyx_k_restructuredtext_en), 0, 0, 1, 0},
+   {&__pyx_n_s_row, __pyx_k_row, sizeof(__pyx_k_row), 0, 0, 1, 1},
+   {&__pyx_n_s_rows_out, __pyx_k_rows_out, sizeof(__pyx_k_rows_out), 0, 0, 1, 1},
++  {&__pyx_n_s_s, __pyx_k_s, sizeof(__pyx_k_s), 0, 0, 1, 1},
+   {&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1},
++  {&__pyx_n_s_setstate, __pyx_k_setstate, sizeof(__pyx_k_setstate), 0, 0, 1, 1},
++  {&__pyx_n_s_setstate_cython, __pyx_k_setstate_cython, sizeof(__pyx_k_setstate_cython), 0, 0, 1, 1},
+   {&__pyx_n_s_shape, __pyx_k_shape, sizeof(__pyx_k_shape), 0, 0, 1, 1},
+   {&__pyx_n_s_signatures, __pyx_k_signatures, sizeof(__pyx_k_signatures), 0, 0, 1, 1},
+   {&__pyx_n_s_size, __pyx_k_size, sizeof(__pyx_k_size), 0, 0, 1, 1},
+@@ -20949,6 +23150,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_s_strided_and_direct, __pyx_k_strided_and_direct, sizeof(__pyx_k_strided_and_direct), 0, 0, 1, 0},
+   {&__pyx_kp_s_strided_and_direct_or_indirect, __pyx_k_strided_and_direct_or_indirect, sizeof(__pyx_k_strided_and_direct_or_indirect), 0, 0, 1, 0},
+   {&__pyx_kp_s_strided_and_indirect, __pyx_k_strided_and_indirect, sizeof(__pyx_k_strided_and_indirect), 0, 0, 1, 0},
++  {&__pyx_kp_s_stringsource, __pyx_k_stringsource, sizeof(__pyx_k_stringsource), 0, 0, 1, 0},
+   {&__pyx_n_s_strip, __pyx_k_strip, sizeof(__pyx_k_strip), 0, 0, 1, 1},
+   {&__pyx_n_s_struct, __pyx_k_struct, sizeof(__pyx_k_struct), 0, 0, 1, 1},
+   {&__pyx_n_s_super, __pyx_k_super, sizeof(__pyx_k_super), 0, 0, 1, 1},
+@@ -20957,6 +23159,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_kp_s_unable_to_allocate_shape_and_str, __pyx_k_unable_to_allocate_shape_and_str, sizeof(__pyx_k_unable_to_allocate_shape_and_str), 0, 0, 1, 0},
+   {&__pyx_kp_u_unknown_dtype_code_in_numpy_pxd, __pyx_k_unknown_dtype_code_in_numpy_pxd, sizeof(__pyx_k_unknown_dtype_code_in_numpy_pxd), 0, 1, 0, 0},
+   {&__pyx_n_s_unpack, __pyx_k_unpack, sizeof(__pyx_k_unpack), 0, 0, 1, 1},
++  {&__pyx_n_s_update, __pyx_k_update, sizeof(__pyx_k_update), 0, 0, 1, 1},
+   {&__pyx_n_s_w, __pyx_k_w, sizeof(__pyx_k_w), 0, 0, 1, 1},
+   {&__pyx_n_s_width, __pyx_k_width, sizeof(__pyx_k_width), 0, 0, 1, 1},
+   {&__pyx_n_s_x0, __pyx_k_x0, sizeof(__pyx_k_x0), 0, 0, 1, 1},
+@@ -20971,23 +23174,20 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
+   {&__pyx_n_s_y_tmp, __pyx_k_y_tmp, sizeof(__pyx_k_y_tmp), 0, 0, 1, 1},
+   {&__pyx_n_s_ymax, __pyx_k_ymax, sizeof(__pyx_k_ymax), 0, 0, 1, 1},
+   {&__pyx_n_s_ymin, __pyx_k_ymin, sizeof(__pyx_k_ymin), 0, 0, 1, 1},
+-  {&__pyx_n_s_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 0, 0, 1, 1},
+   {0, 0, 0, 0, 0, 0, 0}
+ };
+ static int __Pyx_InitCachedBuiltins(void) {
+   __pyx_builtin_super = __Pyx_GetBuiltinName(__pyx_n_s_super); if (!__pyx_builtin_super) __PYX_ERR(0, 64, __pyx_L1_error)
+-  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 87, __pyx_L1_error)
+   __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 150, __pyx_L1_error)
+-  __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(1, 218, __pyx_L1_error)
+-  __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) __PYX_ERR(1, 799, __pyx_L1_error)
+-  __pyx_builtin_MemoryError = __Pyx_GetBuiltinName(__pyx_n_s_MemoryError); if (!__pyx_builtin_MemoryError) __PYX_ERR(2, 146, __pyx_L1_error)
+-  __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(2, 149, __pyx_L1_error)
+-  __pyx_builtin_Ellipsis = __Pyx_GetBuiltinName(__pyx_n_s_Ellipsis); if (!__pyx_builtin_Ellipsis) __PYX_ERR(2, 396, __pyx_L1_error)
+-  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(2, 599, __pyx_L1_error)
+-  __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(2, 818, __pyx_L1_error)
++  __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(1, 229, __pyx_L1_error)
++  __pyx_builtin_RuntimeError = __Pyx_GetBuiltinName(__pyx_n_s_RuntimeError); if (!__pyx_builtin_RuntimeError) __PYX_ERR(1, 810, __pyx_L1_error)
++  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1000, __pyx_L1_error)
++  __pyx_builtin_MemoryError = __Pyx_GetBuiltinName(__pyx_n_s_MemoryError); if (!__pyx_builtin_MemoryError) __PYX_ERR(2, 147, __pyx_L1_error)
++  __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(2, 150, __pyx_L1_error)
++  __pyx_builtin_Ellipsis = __Pyx_GetBuiltinName(__pyx_n_s_Ellipsis); if (!__pyx_builtin_Ellipsis) __PYX_ERR(2, 399, __pyx_L1_error)
++  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(2, 608, __pyx_L1_error)
++  __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(2, 827, __pyx_L1_error)
+   return 0;
+   __pyx_L1_error:;
+   return -1;
+@@ -21048,217 +23248,327 @@ static int __Pyx_InitCachedConstants(void) {
+   __Pyx_GOTREF(__pyx_tuple__11);
+   __Pyx_GIVEREF(__pyx_tuple__11);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":218
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":229
+  *             if ((flags & pybuf.PyBUF_C_CONTIGUOUS == pybuf.PyBUF_C_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_C_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not C contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  */
+-  __pyx_tuple__12 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_C_contiguous); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(1, 218, __pyx_L1_error)
++  __pyx_tuple__12 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_C_contiguous); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(1, 229, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__12);
+   __Pyx_GIVEREF(__pyx_tuple__12);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":222
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":233
+  *             if ((flags & pybuf.PyBUF_F_CONTIGUOUS == pybuf.PyBUF_F_CONTIGUOUS)
+  *                 and not PyArray_CHKFLAGS(self, NPY_F_CONTIGUOUS)):
+  *                 raise ValueError(u"ndarray is not Fortran contiguous")             # <<<<<<<<<<<<<<
+  * 
+  *             info.buf = PyArray_DATA(self)
+  */
+-  __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_Fortran_contiguou); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(1, 222, __pyx_L1_error)
++  __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_u_ndarray_is_not_Fortran_contiguou); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(1, 233, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__13);
+   __Pyx_GIVEREF(__pyx_tuple__13);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":259
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":263
+  *                 if ((descr.byteorder == c'>' and little_endian) or
+  *                     (descr.byteorder == c'<' and not little_endian)):
+  *                     raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *                 if   t == NPY_BYTE:        f = "b"
+  *                 elif t == NPY_UBYTE:       f = "B"
+  */
+-  __pyx_tuple__14 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(1, 259, __pyx_L1_error)
++  __pyx_tuple__14 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(1, 263, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__14);
+   __Pyx_GIVEREF(__pyx_tuple__14);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":799
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":810
+  * 
+  *         if (end - f) - (new_offset - offset[0]) < 15:
+  *             raise RuntimeError(u"Format string allocated too short, see comment in numpy.pxd")             # <<<<<<<<<<<<<<
+  * 
+  *         if ((child.byteorder == c'>' and little_endian) or
+  */
+-  __pyx_tuple__15 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(1, 799, __pyx_L1_error)
++  __pyx_tuple__15 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(1, 810, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__15);
+   __Pyx_GIVEREF(__pyx_tuple__15);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":803
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":814
+  *         if ((child.byteorder == c'>' and little_endian) or
+  *             (child.byteorder == c'<' and not little_endian)):
+  *             raise ValueError(u"Non-native byte order not supported")             # <<<<<<<<<<<<<<
+  *             # One could encode it in the format string and have Cython
+  *             # complain instead, BUT: < and > in format strings also imply
+  */
+-  __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(1, 803, __pyx_L1_error)
++  __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_u_Non_native_byte_order_not_suppor); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(1, 814, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__16);
+   __Pyx_GIVEREF(__pyx_tuple__16);
+ 
+-  /* "../../../../../opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Cython/Includes/numpy/__init__.pxd":823
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":834
+  *             t = child.type_num
+  *             if end - f < 5:
+  *                 raise RuntimeError(u"Format string allocated too short.")             # <<<<<<<<<<<<<<
+  * 
+  *             # Until ticket #99 is fixed, use integers to avoid warnings
+  */
+-  __pyx_tuple__17 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor_2); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(1, 823, __pyx_L1_error)
++  __pyx_tuple__17 = PyTuple_Pack(1, __pyx_kp_u_Format_string_allocated_too_shor_2); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(1, 834, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_tuple__17);
+   __Pyx_GIVEREF(__pyx_tuple__17);
+ 
+-  /* "View.MemoryView":131
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1000
++ *         _import_array()
++ *     except Exception:
++ *         raise ImportError("numpy.core.multiarray failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_umath() except -1:
++ */
++  __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_multiarray_failed_to); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(1, 1000, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__18);
++  __Pyx_GIVEREF(__pyx_tuple__18);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1006
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ * 
++ * cdef inline int import_ufunc() except -1:
++ */
++  __pyx_tuple__19 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(1, 1006, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__19);
++  __Pyx_GIVEREF(__pyx_tuple__19);
++
++  /* "../../../../../usr/lib/python3/dist-packages/Cython/Includes/numpy/__init__.pxd":1012
++ *         _import_umath()
++ *     except Exception:
++ *         raise ImportError("numpy.core.umath failed to import")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__20 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(1, 1012, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__20);
++  __Pyx_GIVEREF(__pyx_tuple__20);
++
++  /* "View.MemoryView":132
+  * 
+  *         if not self.ndim:
+  *             raise ValueError("Empty shape tuple for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if itemsize <= 0:
+  */
+-  __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_s_Empty_shape_tuple_for_cython_arr); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(2, 131, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__18);
+-  __Pyx_GIVEREF(__pyx_tuple__18);
++  __pyx_tuple__21 = PyTuple_Pack(1, __pyx_kp_s_Empty_shape_tuple_for_cython_arr); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(2, 132, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__21);
++  __Pyx_GIVEREF(__pyx_tuple__21);
+ 
+-  /* "View.MemoryView":134
++  /* "View.MemoryView":135
+  * 
+  *         if itemsize <= 0:
+  *             raise ValueError("itemsize <= 0 for cython.array")             # <<<<<<<<<<<<<<
+  * 
+  *         if not isinstance(format, bytes):
+  */
+-  __pyx_tuple__19 = PyTuple_Pack(1, __pyx_kp_s_itemsize_0_for_cython_array); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(2, 134, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__19);
+-  __Pyx_GIVEREF(__pyx_tuple__19);
++  __pyx_tuple__22 = PyTuple_Pack(1, __pyx_kp_s_itemsize_0_for_cython_array); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(2, 135, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__22);
++  __Pyx_GIVEREF(__pyx_tuple__22);
+ 
+-  /* "View.MemoryView":137
++  /* "View.MemoryView":138
+  * 
+  *         if not isinstance(format, bytes):
+  *             format = format.encode('ASCII')             # <<<<<<<<<<<<<<
+  *         self._format = format  # keep a reference to the byte string
+  *         self.format = self._format
+  */
+-  __pyx_tuple__20 = PyTuple_Pack(1, __pyx_n_s_ASCII); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(2, 137, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__20);
+-  __Pyx_GIVEREF(__pyx_tuple__20);
++  __pyx_tuple__23 = PyTuple_Pack(1, __pyx_n_s_ASCII); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(2, 138, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__23);
++  __Pyx_GIVEREF(__pyx_tuple__23);
+ 
+-  /* "View.MemoryView":146
++  /* "View.MemoryView":147
+  * 
+  *         if not self._shape:
+  *             raise MemoryError("unable to allocate shape and strides.")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__21 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_shape_and_str); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(2, 146, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__21);
+-  __Pyx_GIVEREF(__pyx_tuple__21);
++  __pyx_tuple__24 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_shape_and_str); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(2, 147, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__24);
++  __Pyx_GIVEREF(__pyx_tuple__24);
+ 
+-  /* "View.MemoryView":174
++  /* "View.MemoryView":175
+  *             self.data = malloc(self.len)
+  *             if not self.data:
+  *                 raise MemoryError("unable to allocate array data.")             # <<<<<<<<<<<<<<
+  * 
+  *             if self.dtype_is_object:
+  */
+-  __pyx_tuple__22 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_array_data); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(2, 174, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__22);
+-  __Pyx_GIVEREF(__pyx_tuple__22);
++  __pyx_tuple__25 = PyTuple_Pack(1, __pyx_kp_s_unable_to_allocate_array_data); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(2, 175, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__25);
++  __Pyx_GIVEREF(__pyx_tuple__25);
+ 
+-  /* "View.MemoryView":190
++  /* "View.MemoryView":191
+  *             bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS
+  *         if not (flags & bufmode):
+  *             raise ValueError("Can only create a buffer that is contiguous in memory.")             # <<<<<<<<<<<<<<
+  *         info.buf = self.data
+  *         info.len = self.len
+  */
+-  __pyx_tuple__23 = PyTuple_Pack(1, __pyx_kp_s_Can_only_create_a_buffer_that_is); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(2, 190, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__23);
+-  __Pyx_GIVEREF(__pyx_tuple__23);
++  __pyx_tuple__26 = PyTuple_Pack(1, __pyx_kp_s_Can_only_create_a_buffer_that_is); if (unlikely(!__pyx_tuple__26)) __PYX_ERR(2, 191, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__26);
++  __Pyx_GIVEREF(__pyx_tuple__26);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__27 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__27);
++  __Pyx_GIVEREF(__pyx_tuple__27);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__28 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__28);
++  __Pyx_GIVEREF(__pyx_tuple__28);
++
++  /* "View.MemoryView":413
++ *     def __setitem__(memoryview self, object index, object value):
++ *         if self.view.readonly:
++ *             raise TypeError("Cannot assign to read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         have_slices, index = _unellipsify(index, self.view.ndim)
++ */
++  __pyx_tuple__29 = PyTuple_Pack(1, __pyx_kp_s_Cannot_assign_to_read_only_memor); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(2, 413, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__29);
++  __Pyx_GIVEREF(__pyx_tuple__29);
+ 
+-  /* "View.MemoryView":484
++  /* "View.MemoryView":490
+  *             result = struct.unpack(self.view.format, bytesitem)
+  *         except struct.error:
+  *             raise ValueError("Unable to convert item to object")             # <<<<<<<<<<<<<<
+  *         else:
+  *             if len(self.view.format) == 1:
+  */
+-  __pyx_tuple__24 = PyTuple_Pack(1, __pyx_kp_s_Unable_to_convert_item_to_object); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(2, 484, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__24);
+-  __Pyx_GIVEREF(__pyx_tuple__24);
++  __pyx_tuple__30 = PyTuple_Pack(1, __pyx_kp_s_Unable_to_convert_item_to_object); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(2, 490, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__30);
++  __Pyx_GIVEREF(__pyx_tuple__30);
++
++  /* "View.MemoryView":515
++ *     def __getbuffer__(self, Py_buffer *info, int flags):
++ *         if flags & PyBUF_WRITABLE and self.view.readonly:
++ *             raise ValueError("Cannot create writable memory view from read-only memoryview")             # <<<<<<<<<<<<<<
++ * 
++ *         if flags & PyBUF_STRIDES:
++ */
++  __pyx_tuple__31 = PyTuple_Pack(1, __pyx_kp_s_Cannot_create_writable_memory_vi); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(2, 515, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__31);
++  __Pyx_GIVEREF(__pyx_tuple__31);
+ 
+-  /* "View.MemoryView":556
++  /* "View.MemoryView":565
+  *         if self.view.strides == NULL:
+  * 
+  *             raise ValueError("Buffer view does not expose strides")             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([stride for stride in self.view.strides[:self.view.ndim]])
+  */
+-  __pyx_tuple__25 = PyTuple_Pack(1, __pyx_kp_s_Buffer_view_does_not_expose_stri); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(2, 556, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__25);
+-  __Pyx_GIVEREF(__pyx_tuple__25);
++  __pyx_tuple__32 = PyTuple_Pack(1, __pyx_kp_s_Buffer_view_does_not_expose_stri); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(2, 565, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__32);
++  __Pyx_GIVEREF(__pyx_tuple__32);
+ 
+-  /* "View.MemoryView":563
++  /* "View.MemoryView":572
+  *     def suboffsets(self):
+  *         if self.view.suboffsets == NULL:
+  *             return (-1,) * self.view.ndim             # <<<<<<<<<<<<<<
+  * 
+  *         return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]])
+  */
+-  __pyx_tuple__26 = PyTuple_New(1); if (unlikely(!__pyx_tuple__26)) __PYX_ERR(2, 563, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__26);
++  __pyx_tuple__33 = PyTuple_New(1); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(2, 572, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__33);
+   __Pyx_INCREF(__pyx_int_neg_1);
+   __Pyx_GIVEREF(__pyx_int_neg_1);
+-  PyTuple_SET_ITEM(__pyx_tuple__26, 0, __pyx_int_neg_1);
+-  __Pyx_GIVEREF(__pyx_tuple__26);
++  PyTuple_SET_ITEM(__pyx_tuple__33, 0, __pyx_int_neg_1);
++  __Pyx_GIVEREF(__pyx_tuple__33);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__34 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__34);
++  __Pyx_GIVEREF(__pyx_tuple__34);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__35 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__35);
++  __Pyx_GIVEREF(__pyx_tuple__35);
+ 
+-  /* "View.MemoryView":668
++  /* "View.MemoryView":677
+  *         if item is Ellipsis:
+  *             if not seen_ellipsis:
+  *                 result.extend([slice(None)] * (ndim - len(tup) + 1))             # <<<<<<<<<<<<<<
+  *                 seen_ellipsis = True
+  *             else:
+  */
+-  __pyx_slice__27 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__27)) __PYX_ERR(2, 668, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__27);
+-  __Pyx_GIVEREF(__pyx_slice__27);
++  __pyx_slice__36 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__36)) __PYX_ERR(2, 677, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__36);
++  __Pyx_GIVEREF(__pyx_slice__36);
+ 
+-  /* "View.MemoryView":671
++  /* "View.MemoryView":680
+  *                 seen_ellipsis = True
+  *             else:
+  *                 result.append(slice(None))             # <<<<<<<<<<<<<<
+  *             have_slices = True
+  *         else:
+  */
+-  __pyx_slice__28 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__28)) __PYX_ERR(2, 671, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__28);
+-  __Pyx_GIVEREF(__pyx_slice__28);
++  __pyx_slice__37 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__37)) __PYX_ERR(2, 680, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__37);
++  __Pyx_GIVEREF(__pyx_slice__37);
+ 
+-  /* "View.MemoryView":682
++  /* "View.MemoryView":691
+  *     nslices = ndim - len(result)
+  *     if nslices:
+  *         result.extend([slice(None)] * nslices)             # <<<<<<<<<<<<<<
+  * 
+  *     return have_slices or nslices, tuple(result)
+  */
+-  __pyx_slice__29 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__29)) __PYX_ERR(2, 682, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_slice__29);
+-  __Pyx_GIVEREF(__pyx_slice__29);
++  __pyx_slice__38 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__38)) __PYX_ERR(2, 691, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_slice__38);
++  __Pyx_GIVEREF(__pyx_slice__38);
+ 
+-  /* "View.MemoryView":689
++  /* "View.MemoryView":698
+  *     for suboffset in suboffsets[:ndim]:
+  *         if suboffset >= 0:
+  *             raise ValueError("Indirect dimensions not supported")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__30 = PyTuple_Pack(1, __pyx_kp_s_Indirect_dimensions_not_supporte); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(2, 689, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__30);
+-  __Pyx_GIVEREF(__pyx_tuple__30);
++  __pyx_tuple__39 = PyTuple_Pack(1, __pyx_kp_s_Indirect_dimensions_not_supporte); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(2, 698, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__39);
++  __Pyx_GIVEREF(__pyx_tuple__39);
++
++  /* "(tree fragment)":2
++ * def __reduce_cython__(self):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ */
++  __pyx_tuple__40 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(2, 2, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__40);
++  __Pyx_GIVEREF(__pyx_tuple__40);
++
++  /* "(tree fragment)":4
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")
++ * def __setstate_cython__(self, __pyx_state):
++ *     raise TypeError("no default __reduce__ due to non-trivial __cinit__")             # <<<<<<<<<<<<<<
++ */
++  __pyx_tuple__41 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(2, 4, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__41);
++  __Pyx_GIVEREF(__pyx_tuple__41);
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":48
+  *     of the ll2cr modules.
+@@ -21267,10 +23577,10 @@ static int __Pyx_InitCachedConstants(void) {
+  *         if self.is_latlong():
+  *             return lons, lats
+  */
+-  __pyx_tuple__31 = PyTuple_Pack(7, __pyx_n_s_self, __pyx_n_s_lons, __pyx_n_s_lats, __pyx_n_s_kwargs, __pyx_n_s_inverse, __pyx_n_s_radians, __pyx_n_s_errcheck); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 48, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__31);
+-  __Pyx_GIVEREF(__pyx_tuple__31);
+-  __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(3, 0, 7, 0, CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_n_s_call, 48, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) __PYX_ERR(0, 48, __pyx_L1_error)
++  __pyx_tuple__42 = PyTuple_Pack(7, __pyx_n_s_self, __pyx_n_s_lons, __pyx_n_s_lats, __pyx_n_s_kwargs, __pyx_n_s_inverse, __pyx_n_s_radians, __pyx_n_s_errcheck); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(0, 48, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__42);
++  __Pyx_GIVEREF(__pyx_tuple__42);
++  __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(3, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pyresample_ewa__ll2cr_pyx, __pyx_n_s_call, 48, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(0, 48, __pyx_L1_error)
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":67
+  * 
+@@ -21279,10 +23589,10 @@ static int __Pyx_InitCachedConstants(void) {
+  *     """Return the projection circumference if the projection is cylindrical. None is returned otherwise.
+  * 
+  */
+-  __pyx_tuple__33 = PyTuple_Pack(11, __pyx_n_s_p, __pyx_n_s_lon0, __pyx_n_s_lat0, __pyx_n_s_lon1, __pyx_n_s_lat1, __pyx_n_s_x0, __pyx_n_s_y0, __pyx_n_s_x1, __pyx_n_s_y1, __pyx_n_s_x2, __pyx_n_s_y2); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 67, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__33);
+-  __Pyx_GIVEREF(__pyx_tuple__33);
+-  __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(1, 0, 11, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_n_s_projection_circumference, 67, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 67, __pyx_L1_error)
++  __pyx_tuple__44 = PyTuple_Pack(11, __pyx_n_s_p, __pyx_n_s_lon0, __pyx_n_s_lat0, __pyx_n_s_lon1, __pyx_n_s_lat1, __pyx_n_s_x0, __pyx_n_s_y0, __pyx_n_s_x1, __pyx_n_s_y1, __pyx_n_s_x2, __pyx_n_s_y2); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 67, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__44);
++  __Pyx_GIVEREF(__pyx_tuple__44);
++  __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(1, 0, 11, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pyresample_ewa__ll2cr_pyx, __pyx_n_s_projection_circumference, 67, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 67, __pyx_L1_error)
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":87
+  * @cython.wraparound(False)
+@@ -21291,10 +23601,10 @@ static int __Pyx_InitCachedConstants(void) {
+  *                   cr_dtype fill_in, str proj4_definition,
+  *                   double cell_width, double cell_height,
+  */
+-  __pyx_tuple__35 = PyTuple_Pack(30, __pyx_n_s_lon_arr, __pyx_n_s_lat_arr, __pyx_n_s_fill_in, __pyx_n_s_proj4_definition, __pyx_n_s_cell_width, __pyx_n_s_cell_height, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_origin_x, __pyx_n_s_origin_y, __pyx_n_s_p, __pyx_n_s_projected_tuple, __pyx_n_s_rows_out, __pyx_n_s_cols_out, __pyx_n_s_proj_circum, __pyx_n_s_w, __pyx_n_s_h, __pyx_n_s_ox, __pyx_n_s_oy, __pyx_n_s_row, __pyx_n_s_col, __pyx_n_s_num_rows, __pyx_n_s_num_cols, __pyx_n_s_xmin, __pyx_n_s_xmax, __pyx_n_s_ymin, __pyx_n_s_ymax, __pyx_n_s_x_tmp, __pyx_n_s_y_tmp, __pyx_n_s_points_in_grid); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 87, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__35);
+-  __Pyx_GIVEREF(__pyx_tuple__35);
+-  __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(10, 0, 30, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__35, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_n_s_ll2cr_dynamic, 87, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_tuple__46 = PyTuple_Pack(30, __pyx_n_s_lon_arr, __pyx_n_s_lat_arr, __pyx_n_s_fill_in, __pyx_n_s_proj4_definition, __pyx_n_s_cell_width, __pyx_n_s_cell_height, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_origin_x, __pyx_n_s_origin_y, __pyx_n_s_p, __pyx_n_s_projected_tuple, __pyx_n_s_rows_out, __pyx_n_s_cols_out, __pyx_n_s_proj_circum, __pyx_n_s_w, __pyx_n_s_h, __pyx_n_s_ox, __pyx_n_s_oy, __pyx_n_s_row, __pyx_n_s_col, __pyx_n_s_num_rows, __pyx_n_s_num_cols, __pyx_n_s_xmin, __pyx_n_s_xmax, __pyx_n_s_ymin, __pyx_n_s_ymax, __pyx_n_s_x_tmp, __pyx_n_s_y_tmp, __pyx_n_s_points_in_grid); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__46);
++  __Pyx_GIVEREF(__pyx_tuple__46);
++  __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(10, 0, 30, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__46, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pyresample_ewa__ll2cr_pyx, __pyx_n_s_ll2cr_dynamic, 87, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 87, __pyx_L1_error)
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":229
+  * @cython.wraparound(False)
+@@ -21303,65 +23613,184 @@ static int __Pyx_InitCachedConstants(void) {
+  *                       cr_dtype fill_in, str proj4_definition,
+  *                       double cell_width, double cell_height,
+  */
+-  __pyx_tuple__37 = PyTuple_Pack(22, __pyx_n_s_lon_arr, __pyx_n_s_lat_arr, __pyx_n_s_fill_in, __pyx_n_s_proj4_definition, __pyx_n_s_cell_width, __pyx_n_s_cell_height, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_origin_x, __pyx_n_s_origin_y, __pyx_n_s_p, __pyx_n_s_projected_tuple, __pyx_n_s_rows_out, __pyx_n_s_cols_out, __pyx_n_s_proj_circum, __pyx_n_s_row, __pyx_n_s_col, __pyx_n_s_num_rows, __pyx_n_s_num_cols, __pyx_n_s_x_tmp, __pyx_n_s_y_tmp, __pyx_n_s_points_in_grid); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(0, 229, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__37);
+-  __Pyx_GIVEREF(__pyx_tuple__37);
+-  __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(10, 0, 22, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_davidh_repos_git_pyresamp, __pyx_n_s_ll2cr_static, 229, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_tuple__48 = PyTuple_Pack(22, __pyx_n_s_lon_arr, __pyx_n_s_lat_arr, __pyx_n_s_fill_in, __pyx_n_s_proj4_definition, __pyx_n_s_cell_width, __pyx_n_s_cell_height, __pyx_n_s_width, __pyx_n_s_height, __pyx_n_s_origin_x, __pyx_n_s_origin_y, __pyx_n_s_p, __pyx_n_s_projected_tuple, __pyx_n_s_rows_out, __pyx_n_s_cols_out, __pyx_n_s_proj_circum, __pyx_n_s_row, __pyx_n_s_col, __pyx_n_s_num_rows, __pyx_n_s_num_cols, __pyx_n_s_x_tmp, __pyx_n_s_y_tmp, __pyx_n_s_points_in_grid); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__48);
++  __Pyx_GIVEREF(__pyx_tuple__48);
++  __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(10, 0, 22, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pyresample_ewa__ll2cr_pyx, __pyx_n_s_ll2cr_static, 229, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(0, 229, __pyx_L1_error)
+ 
+-  /* "View.MemoryView":282
++  /* "View.MemoryView":285
+  *         return self.name
+  * 
+  * cdef generic = Enum("")             # <<<<<<<<<<<<<<
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")
+  */
+-  __pyx_tuple__39 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct_or_indirect); if (unlikely(!__pyx_tuple__39)) __PYX_ERR(2, 282, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__39);
+-  __Pyx_GIVEREF(__pyx_tuple__39);
++  __pyx_tuple__50 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct_or_indirect); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(2, 285, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__50);
++  __Pyx_GIVEREF(__pyx_tuple__50);
+ 
+-  /* "View.MemoryView":283
++  /* "View.MemoryView":286
+  * 
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default             # <<<<<<<<<<<<<<
+  * cdef indirect = Enum("")
+  * 
+  */
+-  __pyx_tuple__40 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(2, 283, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__40);
+-  __Pyx_GIVEREF(__pyx_tuple__40);
++  __pyx_tuple__51 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(2, 286, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__51);
++  __Pyx_GIVEREF(__pyx_tuple__51);
+ 
+-  /* "View.MemoryView":284
++  /* "View.MemoryView":287
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__41 = PyTuple_Pack(1, __pyx_kp_s_strided_and_indirect); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(2, 284, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__41);
+-  __Pyx_GIVEREF(__pyx_tuple__41);
++  __pyx_tuple__52 = PyTuple_Pack(1, __pyx_kp_s_strided_and_indirect); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(2, 287, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__52);
++  __Pyx_GIVEREF(__pyx_tuple__52);
+ 
+-  /* "View.MemoryView":287
++  /* "View.MemoryView":290
+  * 
+  * 
+  * cdef contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * cdef indirect_contiguous = Enum("")
+  * 
+  */
+-  __pyx_tuple__42 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_direct); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(2, 287, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__42);
+-  __Pyx_GIVEREF(__pyx_tuple__42);
++  __pyx_tuple__53 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_direct); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(2, 290, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__53);
++  __Pyx_GIVEREF(__pyx_tuple__53);
+ 
+-  /* "View.MemoryView":288
++  /* "View.MemoryView":291
+  * 
+  * cdef contiguous = Enum("")
+  * cdef indirect_contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_tuple__43 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_indirect); if (unlikely(!__pyx_tuple__43)) __PYX_ERR(2, 288, __pyx_L1_error)
+-  __Pyx_GOTREF(__pyx_tuple__43);
+-  __Pyx_GIVEREF(__pyx_tuple__43);
++  __pyx_tuple__54 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_indirect); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(2, 291, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__54);
++  __Pyx_GIVEREF(__pyx_tuple__54);
++
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++  __pyx_tuple__55 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_tuple__55);
++  __Pyx_GIVEREF(__pyx_tuple__55);
++  __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(3, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Enum, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_RefNannyFinishContext();
++  return 0;
++  __pyx_L1_error:;
++  __Pyx_RefNannyFinishContext();
++  return -1;
++}
++
++static int __Pyx_InitGlobals(void) {
++  __pyx_umethod_PyDict_Type_get.type = (PyObject*)&PyDict_Type;
++  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
++  __pyx_float_0_0 = PyFloat_FromDouble(0.0); if (unlikely(!__pyx_float_0_0)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_float_5_0 = PyFloat_FromDouble(5.0); if (unlikely(!__pyx_float_5_0)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_float_180_0 = PyFloat_FromDouble(180.0); if (unlikely(!__pyx_float_180_0)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_6 = PyInt_FromLong(6); if (unlikely(!__pyx_int_6)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_10 = PyInt_FromLong(10); if (unlikely(!__pyx_int_10)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_184977713 = PyInt_FromLong(184977713L); if (unlikely(!__pyx_int_184977713)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++  return 0;
++  __pyx_L1_error:;
++  return -1;
++}
++
++static int __Pyx_modinit_global_init_code(void); /*proto*/
++static int __Pyx_modinit_variable_export_code(void); /*proto*/
++static int __Pyx_modinit_function_export_code(void); /*proto*/
++static int __Pyx_modinit_type_init_code(void); /*proto*/
++static int __Pyx_modinit_type_import_code(void); /*proto*/
++static int __Pyx_modinit_variable_import_code(void); /*proto*/
++static int __Pyx_modinit_function_import_code(void); /*proto*/
++
++static int __Pyx_modinit_global_init_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0);
++  /*--- Global init code ---*/
++  generic = Py_None; Py_INCREF(Py_None);
++  strided = Py_None; Py_INCREF(Py_None);
++  indirect = Py_None; Py_INCREF(Py_None);
++  contiguous = Py_None; Py_INCREF(Py_None);
++  indirect_contiguous = Py_None; Py_INCREF(Py_None);
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_variable_export_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0);
++  /*--- Variable export code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_function_export_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0);
++  /*--- Function export code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_type_init_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
++  /*--- Type init code ---*/
++  __pyx_vtabptr_array = &__pyx_vtable_array;
++  __pyx_vtable_array.get_memview = (PyObject *(*)(struct __pyx_array_obj *))__pyx_array_get_memview;
++  if (PyType_Ready(&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  __pyx_type___pyx_array.tp_print = 0;
++  if (__Pyx_SetVtable(__pyx_type___pyx_array.tp_dict, __pyx_vtabptr_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 104, __pyx_L1_error)
++  __pyx_array_type = &__pyx_type___pyx_array;
++  if (PyType_Ready(&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 278, __pyx_L1_error)
++  __pyx_type___pyx_MemviewEnum.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_MemviewEnum.tp_dictoffset && __pyx_type___pyx_MemviewEnum.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_MemviewEnum.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 278, __pyx_L1_error)
++  __pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
++  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
++  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
++  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
++  __pyx_vtable_memoryview.setitem_slice_assignment = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_slice_assignment;
++  __pyx_vtable_memoryview.setitem_slice_assign_scalar = (PyObject *(*)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_setitem_slice_assign_scalar;
++  __pyx_vtable_memoryview.setitem_indexed = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_indexed;
++  __pyx_vtable_memoryview.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryview_convert_item_to_object;
++  __pyx_vtable_memoryview.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryview_assign_item_from_object;
++  if (PyType_Ready(&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  __pyx_type___pyx_memoryview.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_memoryview.tp_dictoffset && __pyx_type___pyx_memoryview.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_memoryview.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_SetVtable(__pyx_type___pyx_memoryview.tp_dict, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 329, __pyx_L1_error)
++  __pyx_memoryview_type = &__pyx_type___pyx_memoryview;
++  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
++  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
++  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
++  __pyx_vtable__memoryviewslice.__pyx_base.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryviewslice_assign_item_from_object;
++  __pyx_type___pyx_memoryviewslice.tp_base = __pyx_memoryview_type;
++  if (PyType_Ready(&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  __pyx_type___pyx_memoryviewslice.tp_print = 0;
++  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type___pyx_memoryviewslice.tp_dictoffset && __pyx_type___pyx_memoryviewslice.tp_getattro == PyObject_GenericGetAttr)) {
++    __pyx_type___pyx_memoryviewslice.tp_getattro = __Pyx_PyObject_GenericGetAttr;
++  }
++  if (__Pyx_SetVtable(__pyx_type___pyx_memoryviewslice.tp_dict, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  if (__Pyx_setup_reduce((PyObject*)&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 960, __pyx_L1_error)
++  __pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
+   __Pyx_RefNannyFinishContext();
+   return 0;
+   __pyx_L1_error:;
+@@ -21369,26 +23798,119 @@ static int __Pyx_InitCachedConstants(void) {
+   return -1;
+ }
+ 
+-static int __Pyx_InitGlobals(void) {
+-  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
+-  __pyx_float_0_0 = PyFloat_FromDouble(0.0); if (unlikely(!__pyx_float_0_0)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_float_5_0 = PyFloat_FromDouble(5.0); if (unlikely(!__pyx_float_5_0)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_float_180_0 = PyFloat_FromDouble(180.0); if (unlikely(!__pyx_float_180_0)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) __PYX_ERR(0, 1, __pyx_L1_error)
+-  __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error)
++static int __Pyx_modinit_type_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0);
++  /*--- Type import code ---*/
++  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
++  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
++  sizeof(PyTypeObject),
++  #else
++  sizeof(PyHeapTypeObject),
++  #endif
++  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) __PYX_ERR(3, 9, __pyx_L1_error)
++  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) __PYX_ERR(4, 8, __pyx_L1_error)
++  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) __PYX_ERR(5, 15, __pyx_L1_error)
++  __pyx_ptype_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr), 0); if (unlikely(!__pyx_ptype_5numpy_dtype)) __PYX_ERR(1, 164, __pyx_L1_error)
++  __pyx_ptype_5numpy_flatiter = __Pyx_ImportType("numpy", "flatiter", sizeof(PyArrayIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_flatiter)) __PYX_ERR(1, 186, __pyx_L1_error)
++  __pyx_ptype_5numpy_broadcast = __Pyx_ImportType("numpy", "broadcast", sizeof(PyArrayMultiIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_broadcast)) __PYX_ERR(1, 190, __pyx_L1_error)
++  __pyx_ptype_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_5numpy_ndarray)) __PYX_ERR(1, 199, __pyx_L1_error)
++  __pyx_ptype_5numpy_ufunc = __Pyx_ImportType("numpy", "ufunc", sizeof(PyUFuncObject), 0); if (unlikely(!__pyx_ptype_5numpy_ufunc)) __PYX_ERR(1, 872, __pyx_L1_error)
++  __Pyx_RefNannyFinishContext();
+   return 0;
+   __pyx_L1_error:;
++  __Pyx_RefNannyFinishContext();
+   return -1;
+ }
+ 
++static int __Pyx_modinit_variable_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0);
++  /*--- Variable import code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++static int __Pyx_modinit_function_import_code(void) {
++  __Pyx_RefNannyDeclarations
++  __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0);
++  /*--- Function import code ---*/
++  __Pyx_RefNannyFinishContext();
++  return 0;
++}
++
++
++#if PY_MAJOR_VERSION < 3
++#ifdef CYTHON_NO_PYINIT_EXPORT
++#define __Pyx_PyMODINIT_FUNC void
++#else
++#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
++#endif
++#else
++#ifdef CYTHON_NO_PYINIT_EXPORT
++#define __Pyx_PyMODINIT_FUNC PyObject *
++#else
++#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
++#endif
++#endif
++#ifndef CYTHON_SMALL_CODE
++#if defined(__clang__)
++    #define CYTHON_SMALL_CODE
++#elif defined(__GNUC__)
++    #define CYTHON_SMALL_CODE __attribute__((optimize("Os")))
++#else
++    #define CYTHON_SMALL_CODE
++#endif
++#endif
++
++
+ #if PY_MAJOR_VERSION < 3
+-PyMODINIT_FUNC init_ll2cr(void); /*proto*/
+-PyMODINIT_FUNC init_ll2cr(void)
++__Pyx_PyMODINIT_FUNC init_ll2cr(void) CYTHON_SMALL_CODE; /*proto*/
++__Pyx_PyMODINIT_FUNC init_ll2cr(void)
+ #else
+-PyMODINIT_FUNC PyInit__ll2cr(void); /*proto*/
+-PyMODINIT_FUNC PyInit__ll2cr(void)
++__Pyx_PyMODINIT_FUNC PyInit__ll2cr(void) CYTHON_SMALL_CODE; /*proto*/
++__Pyx_PyMODINIT_FUNC PyInit__ll2cr(void)
++#if CYTHON_PEP489_MULTI_PHASE_INIT
++{
++  return PyModuleDef_Init(&__pyx_moduledef);
++}
++static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name) {
++    PyObject *value = PyObject_GetAttrString(spec, from_name);
++    int result = 0;
++    if (likely(value)) {
++        result = PyDict_SetItemString(moddict, to_name, value);
++        Py_DECREF(value);
++    } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
++        PyErr_Clear();
++    } else {
++        result = -1;
++    }
++    return result;
++}
++static PyObject* __pyx_pymod_create(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
++    PyObject *module = NULL, *moddict, *modname;
++    if (__pyx_m)
++        return __Pyx_NewRef(__pyx_m);
++    modname = PyObject_GetAttrString(spec, "name");
++    if (unlikely(!modname)) goto bad;
++    module = PyModule_NewObject(modname);
++    Py_DECREF(modname);
++    if (unlikely(!module)) goto bad;
++    moddict = PyModule_GetDict(module);
++    if (unlikely(!moddict)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__") < 0)) goto bad;
++    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__") < 0)) goto bad;
++    return module;
++bad:
++    Py_XDECREF(module);
++    return NULL;
++}
++
++
++static int __pyx_pymod_exec__ll2cr(PyObject *__pyx_pyinit_module)
++#endif
+ #endif
+ {
+   PyObject *__pyx_t_1 = NULL;
+@@ -21399,16 +23921,21 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   PyObject *__pyx_t_6 = NULL;
+   static PyThread_type_lock __pyx_t_7[8];
+   __Pyx_RefNannyDeclarations
+-  #if CYTHON_REFNANNY
+-  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
+-  if (!__Pyx_RefNanny) {
+-      PyErr_Clear();
+-      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
+-      if (!__Pyx_RefNanny)
+-          Py_FatalError("failed to import 'refnanny' module");
+-  }
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  if (__pyx_m && __pyx_m == __pyx_pyinit_module) return 0;
++  #elif PY_MAJOR_VERSION >= 3
++  if (__pyx_m) return __Pyx_NewRef(__pyx_m);
+   #endif
+-  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit__ll2cr(void)", 0);
++  #if CYTHON_REFNANNY
++__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
++if (!__Pyx_RefNanny) {
++  PyErr_Clear();
++  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
++  if (!__Pyx_RefNanny)
++      Py_FatalError("failed to import 'refnanny' module");
++}
++#endif
++  __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit__ll2cr(void)", 0);
+   if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error)
+   __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
+@@ -21425,6 +23952,9 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   #ifdef __Pyx_Generator_USED
+   if (__pyx_Generator_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   #endif
++  #ifdef __Pyx_AsyncGen_USED
++  if (__pyx_AsyncGen_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
++  #endif
+   #ifdef __Pyx_StopAsyncIteration_USED
+   if (__pyx_StopAsyncIteration_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   #endif
+@@ -21436,15 +23966,21 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   #endif
+   #endif
+   /*--- Module creation code ---*/
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  __pyx_m = __pyx_pyinit_module;
++  Py_INCREF(__pyx_m);
++  #else
+   #if PY_MAJOR_VERSION < 3
+   __pyx_m = Py_InitModule4("_ll2cr", __pyx_methods, __pyx_k_Map_longitude_latitude_points_to, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
+   #else
+   __pyx_m = PyModule_Create(&__pyx_moduledef);
+   #endif
+   if (unlikely(!__pyx_m)) __PYX_ERR(0, 1, __pyx_L1_error)
++  #endif
+   __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
+   Py_INCREF(__pyx_d);
+   __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
+   #if CYTHON_COMPILING_IN_PYPY
+   Py_INCREF(__pyx_b);
+   #endif
+@@ -21469,62 +24005,14 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   /*--- Constants init code ---*/
+   if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+-  /*--- Global init code ---*/
+-  generic = Py_None; Py_INCREF(Py_None);
+-  strided = Py_None; Py_INCREF(Py_None);
+-  indirect = Py_None; Py_INCREF(Py_None);
+-  contiguous = Py_None; Py_INCREF(Py_None);
+-  indirect_contiguous = Py_None; Py_INCREF(Py_None);
+-  /*--- Variable export code ---*/
+-  /*--- Function export code ---*/
+-  /*--- Type init code ---*/
+-  __pyx_vtabptr_array = &__pyx_vtable_array;
+-  __pyx_vtable_array.get_memview = (PyObject *(*)(struct __pyx_array_obj *))__pyx_array_get_memview;
+-  if (PyType_Ready(&__pyx_type___pyx_array) < 0) __PYX_ERR(2, 103, __pyx_L1_error)
+-  __pyx_type___pyx_array.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_array.tp_dict, __pyx_vtabptr_array) < 0) __PYX_ERR(2, 103, __pyx_L1_error)
+-  __pyx_array_type = &__pyx_type___pyx_array;
+-  if (PyType_Ready(&__pyx_type___pyx_MemviewEnum) < 0) __PYX_ERR(2, 275, __pyx_L1_error)
+-  __pyx_type___pyx_MemviewEnum.tp_print = 0;
+-  __pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum;
+-  __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview;
+-  __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer;
+-  __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice;
+-  __pyx_vtable_memoryview.setitem_slice_assignment = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_slice_assignment;
+-  __pyx_vtable_memoryview.setitem_slice_assign_scalar = (PyObject *(*)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_setitem_slice_assign_scalar;
+-  __pyx_vtable_memoryview.setitem_indexed = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_indexed;
+-  __pyx_vtable_memoryview.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryview_convert_item_to_object;
+-  __pyx_vtable_memoryview.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryview_assign_item_from_object;
+-  if (PyType_Ready(&__pyx_type___pyx_memoryview) < 0) __PYX_ERR(2, 326, __pyx_L1_error)
+-  __pyx_type___pyx_memoryview.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_memoryview.tp_dict, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(2, 326, __pyx_L1_error)
+-  __pyx_memoryview_type = &__pyx_type___pyx_memoryview;
+-  __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice;
+-  __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview;
+-  __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object;
+-  __pyx_vtable__memoryviewslice.__pyx_base.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryviewslice_assign_item_from_object;
+-  __pyx_type___pyx_memoryviewslice.tp_base = __pyx_memoryview_type;
+-  if (PyType_Ready(&__pyx_type___pyx_memoryviewslice) < 0) __PYX_ERR(2, 951, __pyx_L1_error)
+-  __pyx_type___pyx_memoryviewslice.tp_print = 0;
+-  if (__Pyx_SetVtable(__pyx_type___pyx_memoryviewslice.tp_dict, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(2, 951, __pyx_L1_error)
+-  __pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice;
+-  /*--- Type import code ---*/
+-  __pyx_ptype_7cpython_4type_type = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "type", 
+-  #if CYTHON_COMPILING_IN_PYPY
+-  sizeof(PyTypeObject),
+-  #else
+-  sizeof(PyHeapTypeObject),
+-  #endif
+-  0); if (unlikely(!__pyx_ptype_7cpython_4type_type)) __PYX_ERR(3, 9, __pyx_L1_error)
+-  __pyx_ptype_7cpython_4bool_bool = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "bool", sizeof(PyBoolObject), 0); if (unlikely(!__pyx_ptype_7cpython_4bool_bool)) __PYX_ERR(4, 8, __pyx_L1_error)
+-  __pyx_ptype_7cpython_7complex_complex = __Pyx_ImportType(__Pyx_BUILTIN_MODULE_NAME, "complex", sizeof(PyComplexObject), 0); if (unlikely(!__pyx_ptype_7cpython_7complex_complex)) __PYX_ERR(5, 15, __pyx_L1_error)
+-  __pyx_ptype_5numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr), 0); if (unlikely(!__pyx_ptype_5numpy_dtype)) __PYX_ERR(1, 155, __pyx_L1_error)
+-  __pyx_ptype_5numpy_flatiter = __Pyx_ImportType("numpy", "flatiter", sizeof(PyArrayIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_flatiter)) __PYX_ERR(1, 168, __pyx_L1_error)
+-  __pyx_ptype_5numpy_broadcast = __Pyx_ImportType("numpy", "broadcast", sizeof(PyArrayMultiIterObject), 0); if (unlikely(!__pyx_ptype_5numpy_broadcast)) __PYX_ERR(1, 172, __pyx_L1_error)
+-  __pyx_ptype_5numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject), 0); if (unlikely(!__pyx_ptype_5numpy_ndarray)) __PYX_ERR(1, 181, __pyx_L1_error)
+-  __pyx_ptype_5numpy_ufunc = __Pyx_ImportType("numpy", "ufunc", sizeof(PyUFuncObject), 0); if (unlikely(!__pyx_ptype_5numpy_ufunc)) __PYX_ERR(1, 861, __pyx_L1_error)
+-  /*--- Variable import code ---*/
+-  /*--- Function import code ---*/
++  /*--- Global type/function init code ---*/
++  (void)__Pyx_modinit_global_init_code();
++  (void)__Pyx_modinit_variable_export_code();
++  (void)__Pyx_modinit_function_export_code();
++  if (unlikely(__Pyx_modinit_type_init_code() != 0)) goto __pyx_L1_error;
++  if (unlikely(__Pyx_modinit_type_import_code() != 0)) goto __pyx_L1_error;
++  (void)__Pyx_modinit_variable_import_code();
++  (void)__Pyx_modinit_function_import_code();
+   /*--- Execution code ---*/
+   #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
+   if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+@@ -21605,9 +24093,9 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+  *         if self.is_latlong():
+  *             return lons, lats
+  */
+-  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_6MyProj_1__call__, 0, __pyx_n_s_MyProj___call, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__32)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 48, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_CyFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_6MyProj_1__call__, 0, __pyx_n_s_MyProj___call, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__43)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 48, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  if (PyObject_SetItem(__pyx_t_3, __pyx_n_s_call, __pyx_t_4) < 0) __PYX_ERR(0, 48, __pyx_L1_error)
++  if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_call, __pyx_t_4) < 0) __PYX_ERR(0, 48, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ 
+   /* "pyresample/ewa/_ll2cr.pyx":42
+@@ -21658,9 +24146,9 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   __Pyx_INCREF(Py_None);
+   __Pyx_GIVEREF(Py_None);
+   PyTuple_SET_ITEM(__pyx_t_1, 3, Py_None);
+-  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 87, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_2);
+-  __pyx_t_3 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_6_ll2cr_7ll2cr_dynamic, 0, __pyx_n_s_ll2cr_dynamic, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_3 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_6_ll2cr_7ll2cr_dynamic, 0, __pyx_n_s_ll2cr_dynamic, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   if (!__Pyx_CyFunction_InitDefaults(__pyx_t_3, sizeof(__pyx_defaults1), 4)) __PYX_ERR(0, 87, __pyx_L1_error)
+   __Pyx_INCREF(Py_None);
+@@ -21679,7 +24167,7 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   __Pyx_CyFunction_SetDefaultsGetter(__pyx_t_3, __pyx_pf_10pyresample_3ewa_6_ll2cr_16__defaults__);
+   if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_float64_t, __pyx_t_3) < 0) __PYX_ERR(0, 87, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+-  __pyx_t_3 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_3ll2cr_dynamic, 0, __pyx_n_s_ll2cr_dynamic, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error)
++  __pyx_t_3 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_3ll2cr_dynamic, 0, __pyx_n_s_ll2cr_dynamic, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_3);
+   __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_t_1);
+   __Pyx_CyFunction_SetDefaultsGetter(__pyx_t_3, __pyx_pf_10pyresample_3ewa_6_ll2cr_16__defaults__);
+@@ -21696,14 +24184,14 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+  *                       cr_dtype fill_in, str proj4_definition,
+  *                       double cell_width, double cell_height,
+  */
+-  __pyx_t_4 = PyDict_New(); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 229, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_4);
+-  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_6_ll2cr_11ll2cr_static, 0, __pyx_n_s_ll2cr_static, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_fuse_0__pyx_mdef_10pyresample_3ewa_6_ll2cr_11ll2cr_static, 0, __pyx_n_s_ll2cr_static, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 229, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_5, __pyx_empty_tuple);
+   if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_float64_t, __pyx_t_5) < 0) __PYX_ERR(0, 229, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
+-  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_5ll2cr_static, 0, __pyx_n_s_ll2cr_static, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 229, __pyx_L1_error)
++  __pyx_t_5 = __pyx_FusedFunction_NewEx(&__pyx_mdef_10pyresample_3ewa_6_ll2cr_5ll2cr_static, 0, __pyx_n_s_ll2cr_static, NULL, __pyx_n_s_pyresample_ewa__ll2cr, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 229, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_5);
+   __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_5, __pyx_empty_tuple);
+   ((__pyx_FusedFunctionObject *) __pyx_t_5)->__signatures__ = __pyx_t_4;
+@@ -21716,95 +24204,95 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+  * # -*- coding: utf-8 -*-
+  * 
+  */
+-  __pyx_t_6 = PyDict_New(); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_6) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":207
++  /* "View.MemoryView":208
+  *         info.obj = self
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_array_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  *     def __dealloc__(array self):
+  */
+-  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_array_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 207, __pyx_L1_error)
++  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_array_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 208, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+-  if (PyDict_SetItem(__pyx_array_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 207, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_array_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 208, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+   PyType_Modified(__pyx_array_type);
+ 
+-  /* "View.MemoryView":282
++  /* "View.MemoryView":285
+  *         return self.name
+  * 
+  * cdef generic = Enum("")             # <<<<<<<<<<<<<<
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")
+  */
+-  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__39, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 282, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__50, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 285, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_XGOTREF(generic);
+   __Pyx_DECREF_SET(generic, __pyx_t_6);
+   __Pyx_GIVEREF(__pyx_t_6);
+   __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":283
++  /* "View.MemoryView":286
+  * 
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default             # <<<<<<<<<<<<<<
+  * cdef indirect = Enum("")
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__40, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 283, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__51, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 286, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_XGOTREF(strided);
+   __Pyx_DECREF_SET(strided, __pyx_t_6);
+   __Pyx_GIVEREF(__pyx_t_6);
+   __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":284
++  /* "View.MemoryView":287
+  * cdef generic = Enum("")
+  * cdef strided = Enum("") # default
+  * cdef indirect = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 284, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__52, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 287, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_XGOTREF(indirect);
+   __Pyx_DECREF_SET(indirect, __pyx_t_6);
+   __Pyx_GIVEREF(__pyx_t_6);
+   __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":287
++  /* "View.MemoryView":290
+  * 
+  * 
+  * cdef contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * cdef indirect_contiguous = Enum("")
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__42, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 287, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__53, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 290, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_XGOTREF(contiguous);
+   __Pyx_DECREF_SET(contiguous, __pyx_t_6);
+   __Pyx_GIVEREF(__pyx_t_6);
+   __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":288
++  /* "View.MemoryView":291
+  * 
+  * cdef contiguous = Enum("")
+  * cdef indirect_contiguous = Enum("")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__43, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 288, __pyx_L1_error)
++  __pyx_t_6 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__54, NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 291, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+   __Pyx_XGOTREF(indirect_contiguous);
+   __Pyx_DECREF_SET(indirect_contiguous, __pyx_t_6);
+   __Pyx_GIVEREF(__pyx_t_6);
+   __pyx_t_6 = 0;
+ 
+-  /* "View.MemoryView":312
++  /* "View.MemoryView":315
+  * 
+  * DEF THREAD_LOCKS_PREALLOCATED = 8
+  * cdef int __pyx_memoryview_thread_locks_used = 0             # <<<<<<<<<<<<<<
+@@ -21813,7 +24301,7 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+  */
+   __pyx_memoryview_thread_locks_used = 0;
+ 
+-  /* "View.MemoryView":313
++  /* "View.MemoryView":316
+  * DEF THREAD_LOCKS_PREALLOCATED = 8
+  * cdef int __pyx_memoryview_thread_locks_used = 0
+  * cdef PyThread_type_lock[THREAD_LOCKS_PREALLOCATED] __pyx_memoryview_thread_locks = [             # <<<<<<<<<<<<<<
+@@ -21830,38 +24318,48 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   __pyx_t_7[7] = PyThread_allocate_lock();
+   memcpy(&(__pyx_memoryview_thread_locks[0]), __pyx_t_7, sizeof(__pyx_memoryview_thread_locks[0]) * (8));
+ 
+-  /* "View.MemoryView":535
++  /* "View.MemoryView":544
+  *         info.obj = self
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 535, __pyx_L1_error)
++  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 544, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+-  if (PyDict_SetItem(__pyx_memoryview_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 535, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_memoryview_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 544, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+   PyType_Modified(__pyx_memoryview_type);
+ 
+-  /* "View.MemoryView":981
++  /* "View.MemoryView":990
+  *         return self.from_object
+  * 
+  *     __pyx_getbuffer = capsule( &__pyx_memoryview_getbuffer, "getbuffer(obj, view, flags)")             # <<<<<<<<<<<<<<
+  * 
+  * 
+  */
+-  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 981, __pyx_L1_error)
++  __pyx_t_6 = __pyx_capsule_create(((void *)(&__pyx_memoryview_getbuffer)), ((char *)"getbuffer(obj, view, flags)")); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 990, __pyx_L1_error)
+   __Pyx_GOTREF(__pyx_t_6);
+-  if (PyDict_SetItem(__pyx_memoryviewslice_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 981, __pyx_L1_error)
++  if (PyDict_SetItem((PyObject *)__pyx_memoryviewslice_type->tp_dict, __pyx_n_s_pyx_getbuffer, __pyx_t_6) < 0) __PYX_ERR(2, 990, __pyx_L1_error)
+   __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+   PyType_Modified(__pyx_memoryviewslice_type);
+ 
+-  /* "View.MemoryView":1391
+- * 
+- * @cname('__pyx_memoryview__slice_assign_scalar')
+- * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape,             # <<<<<<<<<<<<<<
+- *                               Py_ssize_t *strides, int ndim,
+- *                               size_t itemsize, void *item) nogil:
++  /* "(tree fragment)":1
++ * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state):             # <<<<<<<<<<<<<<
++ *     if __pyx_checksum != 0xb068931:
++ *         from pickle import PickleError as __pyx_PickleError
++ */
++  __pyx_t_6 = PyCFunction_NewEx(&__pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum, NULL, __pyx_n_s_View_MemoryView); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_GOTREF(__pyx_t_6);
++  if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Enum, __pyx_t_6) < 0) __PYX_ERR(2, 1, __pyx_L1_error)
++  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
++
++  /* "(tree fragment)":9
++ *         __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state)
++ *     return __pyx_result
++ * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state):             # <<<<<<<<<<<<<<
++ *     __pyx_result.name = __pyx_state[0]
++ *     if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'):
+  */
+ 
+   /*--- Wrapped vars code ---*/
+@@ -21876,7 +24374,7 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   __Pyx_XDECREF(__pyx_t_6);
+   if (__pyx_m) {
+     if (__pyx_d) {
+-      __Pyx_AddTraceback("init pyresample.ewa._ll2cr", __pyx_clineno, __pyx_lineno, __pyx_filename);
++      __Pyx_AddTraceback("init pyresample.ewa._ll2cr", 0, __pyx_lineno, __pyx_filename);
+     }
+     Py_DECREF(__pyx_m); __pyx_m = 0;
+   } else if (!PyErr_Occurred()) {
+@@ -21884,10 +24382,12 @@ PyMODINIT_FUNC PyInit__ll2cr(void)
+   }
+   __pyx_L0:;
+   __Pyx_RefNannyFinishContext();
+-  #if PY_MAJOR_VERSION < 3
+-  return;
+-  #else
++  #if CYTHON_PEP489_MULTI_PHASE_INIT
++  return (__pyx_m != NULL) ? 0 : -1;
++  #elif PY_MAJOR_VERSION >= 3
+   return __pyx_m;
++  #else
++  return;
+   #endif
+ }
+ 
+@@ -21909,6 +24409,20 @@ end:
+ }
+ #endif
+ 
++/* PyObjectGetAttrStr */
++#if CYTHON_USE_TYPE_SLOTS
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
++    PyTypeObject* tp = Py_TYPE(obj);
++    if (likely(tp->tp_getattro))
++        return tp->tp_getattro(obj, attr_name);
++#if PY_MAJOR_VERSION < 3
++    if (likely(tp->tp_getattr))
++        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
++#endif
++    return PyObject_GetAttr(obj, attr_name);
++}
++#endif
++
+ /* GetBuiltinName */
+ static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
+     PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
+@@ -22065,6 +24579,149 @@ bad:
+     return -1;
+ }
+ 
++/* PyCFunctionFastCall */
++#if CYTHON_FAST_PYCCALL
++static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, PyObject **args, Py_ssize_t nargs) {
++    PyCFunctionObject *func = (PyCFunctionObject*)func_obj;
++    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
++    PyObject *self = PyCFunction_GET_SELF(func);
++    int flags = PyCFunction_GET_FLAGS(func);
++    assert(PyCFunction_Check(func));
++    assert(METH_FASTCALL == (flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS)));
++    assert(nargs >= 0);
++    assert(nargs == 0 || args != NULL);
++    /* _PyCFunction_FastCallDict() must not be called with an exception set,
++       because it may clear it (directly or indirectly) and so the
++       caller loses its exception */
++    assert(!PyErr_Occurred());
++    if ((PY_VERSION_HEX < 0x030700A0) || unlikely(flags & METH_KEYWORDS)) {
++        return (*((__Pyx_PyCFunctionFastWithKeywords)meth)) (self, args, nargs, NULL);
++    } else {
++        return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs);
++    }
++}
++#endif
++
++/* PyFunctionFastCall */
++#if CYTHON_FAST_PYCALL
++#include "frameobject.h"
++static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na,
++                                               PyObject *globals) {
++    PyFrameObject *f;
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
++    PyObject **fastlocals;
++    Py_ssize_t i;
++    PyObject *result;
++    assert(globals != NULL);
++    /* XXX Perhaps we should create a specialized
++       PyFrame_New() that doesn't take locals, but does
++       take builtins without sanity checking them.
++       */
++    assert(tstate != NULL);
++    f = PyFrame_New(tstate, co, globals, NULL);
++    if (f == NULL) {
++        return NULL;
++    }
++    fastlocals = f->f_localsplus;
++    for (i = 0; i < na; i++) {
++        Py_INCREF(*args);
++        fastlocals[i] = *args++;
++    }
++    result = PyEval_EvalFrameEx(f,0);
++    ++tstate->recursion_depth;
++    Py_DECREF(f);
++    --tstate->recursion_depth;
++    return result;
++}
++#if 1 || PY_VERSION_HEX < 0x030600B1
++static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, int nargs, PyObject *kwargs) {
++    PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
++    PyObject *globals = PyFunction_GET_GLOBALS(func);
++    PyObject *argdefs = PyFunction_GET_DEFAULTS(func);
++    PyObject *closure;
++#if PY_MAJOR_VERSION >= 3
++    PyObject *kwdefs;
++#endif
++    PyObject *kwtuple, **k;
++    PyObject **d;
++    Py_ssize_t nd;
++    Py_ssize_t nk;
++    PyObject *result;
++    assert(kwargs == NULL || PyDict_Check(kwargs));
++    nk = kwargs ? PyDict_Size(kwargs) : 0;
++    if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
++        return NULL;
++    }
++    if (
++#if PY_MAJOR_VERSION >= 3
++            co->co_kwonlyargcount == 0 &&
++#endif
++            likely(kwargs == NULL || nk == 0) &&
++            co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
++        if (argdefs == NULL && co->co_argcount == nargs) {
++            result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals);
++            goto done;
++        }
++        else if (nargs == 0 && argdefs != NULL
++                 && co->co_argcount == Py_SIZE(argdefs)) {
++            /* function called with no arguments, but all parameters have
++               a default value: use default values as arguments .*/
++            args = &PyTuple_GET_ITEM(argdefs, 0);
++            result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals);
++            goto done;
++        }
++    }
++    if (kwargs != NULL) {
++        Py_ssize_t pos, i;
++        kwtuple = PyTuple_New(2 * nk);
++        if (kwtuple == NULL) {
++            result = NULL;
++            goto done;
++        }
++        k = &PyTuple_GET_ITEM(kwtuple, 0);
++        pos = i = 0;
++        while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) {
++            Py_INCREF(k[i]);
++            Py_INCREF(k[i+1]);
++            i += 2;
++        }
++        nk = i / 2;
++    }
++    else {
++        kwtuple = NULL;
++        k = NULL;
++    }
++    closure = PyFunction_GET_CLOSURE(func);
++#if PY_MAJOR_VERSION >= 3
++    kwdefs = PyFunction_GET_KW_DEFAULTS(func);
++#endif
++    if (argdefs != NULL) {
++        d = &PyTuple_GET_ITEM(argdefs, 0);
++        nd = Py_SIZE(argdefs);
++    }
++    else {
++        d = NULL;
++        nd = 0;
++    }
++#if PY_MAJOR_VERSION >= 3
++    result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
++                               args, nargs,
++                               k, (int)nk,
++                               d, (int)nd, kwdefs, closure);
++#else
++    result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
++                               args, nargs,
++                               k, (int)nk,
++                               d, (int)nd, closure);
++#endif
++    Py_XDECREF(kwtuple);
++done:
++    Py_LeaveRecursiveCall();
++    return result;
++}
++#endif
++#endif
++
+ /* PyObjectCall */
+ #if CYTHON_COMPILING_IN_CPYTHON
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
+@@ -22118,13 +24775,18 @@ static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
+     return result;
+ }
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
+-#ifdef __Pyx_CyFunction_USED
+-    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
+-#else
+-    if (likely(PyCFunction_Check(func))) {
++#if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(func)) {
++        return __Pyx_PyFunction_FastCall(func, &arg, 1);
++    }
+ #endif
++    if (likely(PyCFunction_Check(func))) {
+         if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
+             return __Pyx_PyObject_CallMethO(func, arg);
++#if CYTHON_FAST_PYCCALL
++        } else if (PyCFunction_GET_FLAGS(func) & METH_FASTCALL) {
++            return __Pyx_PyCFunction_FastCall(func, &arg, 1);
++#endif
+         }
+     }
+     return __Pyx__PyObject_CallOneArg(func, arg);
+@@ -22141,10 +24803,15 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObjec
+ #endif
+ 
+ /* PyObjectCallNoArg */
+-  #if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_COMPILING_IN_CPYTHON
+ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
++#if CYTHON_FAST_PYCALL
++    if (PyFunction_Check(func)) {
++        return __Pyx_PyFunction_FastCall(func, NULL, 0);
++    }
++#endif
+ #ifdef __Pyx_CyFunction_USED
+-    if (likely(PyCFunction_Check(func) || PyObject_TypeCheck(func, __pyx_CyFunctionType))) {
++    if (likely(PyCFunction_Check(func) || __Pyx_TypeCheck(func, __pyx_CyFunctionType))) {
+ #else
+     if (likely(PyCFunction_Check(func))) {
+ #endif
+@@ -22152,12 +24819,140 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+             return __Pyx_PyObject_CallMethO(func, NULL);
+         }
+     }
+-    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
++    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
++}
++#endif
++
++/* UnpackUnboundCMethod */
++  static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
++    PyObject *method;
++    method = __Pyx_PyObject_GetAttrStr(target->type, *target->method_name);
++    if (unlikely(!method))
++        return -1;
++    target->method = method;
++#if CYTHON_COMPILING_IN_CPYTHON
++    #if PY_MAJOR_VERSION >= 3
++    if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type)))
++    #endif
++    {
++        PyMethodDescrObject *descr = (PyMethodDescrObject*) method;
++        target->func = descr->d_method->ml_meth;
++        target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST);
++    }
++#endif
++    return 0;
++}
++
++/* CallUnboundCMethod1 */
++  #if CYTHON_COMPILING_IN_CPYTHON
++static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) {
++    if (likely(cfunc->func)) {
++        int flag = cfunc->flag;
++        if (flag == METH_O) {
++            return (*(cfunc->func))(self, arg);
++        } else if (PY_VERSION_HEX >= 0x030600B1 && flag == METH_FASTCALL) {
++            if (PY_VERSION_HEX >= 0x030700A0) {
++                return (*(__Pyx_PyCFunctionFast)cfunc->func)(self, &arg, 1);
++            } else {
++                return (*(__Pyx_PyCFunctionFastWithKeywords)cfunc->func)(self, &arg, 1, NULL);
++            }
++        } else if (PY_VERSION_HEX >= 0x030700A0 && flag == (METH_FASTCALL | METH_KEYWORDS)) {
++            return (*(__Pyx_PyCFunctionFastWithKeywords)cfunc->func)(self, &arg, 1, NULL);
++        }
++    }
++    return __Pyx__CallUnboundCMethod1(cfunc, self, arg);
++}
++#endif
++static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg){
++    PyObject *args, *result = NULL;
++    if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
++#if CYTHON_COMPILING_IN_CPYTHON
++    if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
++        args = PyTuple_New(1);
++        if (unlikely(!args)) goto bad;
++        Py_INCREF(arg);
++        PyTuple_SET_ITEM(args, 0, arg);
++        if (cfunc->flag & METH_KEYWORDS)
++            result = (*(PyCFunctionWithKeywords)cfunc->func)(self, args, NULL);
++        else
++            result = (*cfunc->func)(self, args);
++    } else {
++        args = PyTuple_New(2);
++        if (unlikely(!args)) goto bad;
++        Py_INCREF(self);
++        PyTuple_SET_ITEM(args, 0, self);
++        Py_INCREF(arg);
++        PyTuple_SET_ITEM(args, 1, arg);
++        result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
++    }
++#else
++    args = PyTuple_Pack(2, self, arg);
++    if (unlikely(!args)) goto bad;
++    result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
++#endif
++bad:
++    Py_XDECREF(args);
++    return result;
++}
++
++/* CallUnboundCMethod2 */
++  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030600B1
++static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2) {
++    if (likely(cfunc->func)) {
++        PyObject *args[2] = {arg1, arg2};
++        if (cfunc->flag == METH_FASTCALL) {
++            #if PY_VERSION_HEX >= 0x030700A0
++            return (*(__Pyx_PyCFunctionFast)cfunc->func)(self, args, 2);
++            #else
++            return (*(__Pyx_PyCFunctionFastWithKeywords)cfunc->func)(self, args, 2, NULL);
++            #endif
++        }
++        #if PY_VERSION_HEX >= 0x030700A0
++        if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
++            return (*(__Pyx_PyCFunctionFastWithKeywords)cfunc->func)(self, args, 2, NULL);
++        #endif
++    }
++    return __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2);
+ }
+ #endif
++static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2){
++    PyObject *args, *result = NULL;
++    if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
++#if CYTHON_COMPILING_IN_CPYTHON
++    if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
++        args = PyTuple_New(2);
++        if (unlikely(!args)) goto bad;
++        Py_INCREF(arg1);
++        PyTuple_SET_ITEM(args, 0, arg1);
++        Py_INCREF(arg2);
++        PyTuple_SET_ITEM(args, 1, arg2);
++        if (cfunc->flag & METH_KEYWORDS)
++            result = (*(PyCFunctionWithKeywords)cfunc->func)(self, args, NULL);
++        else
++            result = (*cfunc->func)(self, args);
++    } else {
++        args = PyTuple_New(3);
++        if (unlikely(!args)) goto bad;
++        Py_INCREF(self);
++        PyTuple_SET_ITEM(args, 0, self);
++        Py_INCREF(arg1);
++        PyTuple_SET_ITEM(args, 1, arg1);
++        Py_INCREF(arg2);
++        PyTuple_SET_ITEM(args, 2, arg2);
++        result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
++    }
++#else
++    args = PyTuple_Pack(3, self, arg1, arg2);
++    if (unlikely(!args)) goto bad;
++    result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
++#endif
++bad:
++    Py_XDECREF(args);
++    return result;
++}
+ 
+ /* dict_getitem_default */
+-    static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) {
++  static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) {
+     PyObject* value;
+ #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
+     value = PyDict_GetItemWithError(d, key);
+@@ -22167,6 +24962,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+         value = default_value;
+     }
+     Py_INCREF(value);
++    if ((1));
+ #else
+     if (PyString_CheckExact(key) || PyUnicode_CheckExact(key) || PyInt_CheckExact(key)) {
+         value = PyDict_GetItem(d, key);
+@@ -22174,24 +24970,34 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+             value = default_value;
+         }
+         Py_INCREF(value);
+-    } else {
+-        if (default_value == Py_None)
+-            default_value = NULL;
+-        value = PyObject_CallMethodObjArgs(
+-            d, __pyx_n_s_get, key, default_value, NULL);
+     }
+ #endif
++    else {
++        if (default_value == Py_None)
++            value = __Pyx_CallUnboundCMethod1(&__pyx_umethod_PyDict_Type_get, d, key);
++        else
++            value = __Pyx_CallUnboundCMethod2(&__pyx_umethod_PyDict_Type_get, d, key, default_value);
++    }
+     return value;
+ }
+ 
+ /* GetModuleGlobalName */
+-    static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
++  static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
+     PyObject *result;
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if !CYTHON_AVOID_BORROWED_REFS
++#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
++    result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
++    if (likely(result)) {
++        Py_INCREF(result);
++    } else if (unlikely(PyErr_Occurred())) {
++        result = NULL;
++    } else {
++#else
+     result = PyDict_GetItem(__pyx_d, name);
+     if (likely(result)) {
+         Py_INCREF(result);
+     } else {
++#endif
+ #else
+     result = PyObject_GetItem(__pyx_d, name);
+     if (!result) {
+@@ -22217,11 +25023,11 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+ 
+ /* IterFinish */
+       static CYTHON_INLINE int __Pyx_IterFinish(void) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    PyThreadState *tstate = PyThreadState_GET();
++#if CYTHON_FAST_THREAD_STATE
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
+     PyObject* exc_type = tstate->curexc_type;
+     if (unlikely(exc_type)) {
+-        if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) {
++        if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) {
+             PyObject *exc_value, *exc_tb;
+             exc_value = tstate->curexc_value;
+             exc_tb = tstate->curexc_traceback;
+@@ -22263,7 +25069,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
+ }
+ 
+ /* PyFloatBinop */
+-      #if CYTHON_COMPILING_IN_CPYTHON
++      #if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyFloat_AddObjC(PyObject *op1, PyObject *op2, double floatval, CYTHON_UNUSED int inplace) {
+     const double b = floatval;
+     double a, result;
+@@ -22276,7 +25082,7 @@ static PyObject* __Pyx_PyFloat_AddObjC(PyObject *op1, PyObject *op2, double floa
+     } else
+     #endif
+     if (likely(PyLong_CheckExact(op1))) {
+-        #if CYTHON_USE_PYLONG_INTERNALS && PY_MAJOR_VERSION >= 3
++        #if CYTHON_USE_PYLONG_INTERNALS
+         const digit* digits = ((PyLongObject*)op1)->ob_digit;
+         const Py_ssize_t size = Py_SIZE(op1);
+         switch (size) {
+@@ -22287,32 +25093,35 @@ static PyObject* __Pyx_PyFloat_AddObjC(PyObject *op1, PyObject *op2, double floa
+             case 2:
+                 if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (1 * PyLong_SHIFT < 53))) {
+                     a = (double) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+-                    if ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (a < (double) (1L<<53))) {
++                    if ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) {
+                         if (size == -2)
+                             a = -a;
+                         break;
+                     }
+                 }
++                CYTHON_FALLTHROUGH;
+             case -3:
+             case 3:
+                 if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53))) {
+                     a = (double) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+-                    if ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53) || (a < (double) (1L<<53))) {
++                    if ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) {
+                         if (size == -3)
+                             a = -a;
+                         break;
+                     }
+                 }
++                CYTHON_FALLTHROUGH;
+             case -4:
+             case 4:
+                 if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53))) {
+                     a = (double) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+-                    if ((8 * sizeof(unsigned long) < 53) || (4 * PyLong_SHIFT < 53) || (a < (double) (1L<<53))) {
++                    if ((8 * sizeof(unsigned long) < 53) || (4 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) {
+                         if (size == -4)
+                             a = -a;
+                         break;
+                     }
+                 }
++                CYTHON_FALLTHROUGH;
+             default:
+         #else
+         {
+@@ -22330,177 +25139,47 @@ static PyObject* __Pyx_PyFloat_AddObjC(PyObject *op1, PyObject *op2, double floa
+ }
+ #endif
+ 
+-/* Import */
+-        static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
+-    PyObject *empty_list = 0;
+-    PyObject *module = 0;
+-    PyObject *global_dict = 0;
+-    PyObject *empty_dict = 0;
+-    PyObject *list;
+-    #if PY_VERSION_HEX < 0x03030000
+-    PyObject *py_import;
+-    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
+-    if (!py_import)
+-        goto bad;
+-    #endif
+-    if (from_list)
+-        list = from_list;
+-    else {
+-        empty_list = PyList_New(0);
+-        if (!empty_list)
+-            goto bad;
+-        list = empty_list;
++/* py_abs */
++        #if CYTHON_USE_PYLONG_INTERNALS
++static PyObject *__Pyx_PyLong_AbsNeg(PyObject *n) {
++    if (likely(Py_SIZE(n) == -1)) {
++        return PyLong_FromLong(((PyLongObject*)n)->ob_digit[0]);
+     }
+-    global_dict = PyModule_GetDict(__pyx_m);
+-    if (!global_dict)
+-        goto bad;
+-    empty_dict = PyDict_New();
+-    if (!empty_dict)
+-        goto bad;
++#if CYTHON_COMPILING_IN_CPYTHON
+     {
+-        #if PY_MAJOR_VERSION >= 3
+-        if (level == -1) {
+-            if (strchr(__Pyx_MODULE_NAME, '.')) {
+-                #if PY_VERSION_HEX < 0x03030000
+-                PyObject *py_level = PyInt_FromLong(1);
+-                if (!py_level)
+-                    goto bad;
+-                module = PyObject_CallFunctionObjArgs(py_import,
+-                    name, global_dict, empty_dict, list, py_level, NULL);
+-                Py_DECREF(py_level);
+-                #else
+-                module = PyImport_ImportModuleLevelObject(
+-                    name, global_dict, empty_dict, list, 1);
+-                #endif
+-                if (!module) {
+-                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
+-                        goto bad;
+-                    PyErr_Clear();
+-                }
+-            }
+-            level = 0;
+-        }
+-        #endif
+-        if (!module) {
+-            #if PY_VERSION_HEX < 0x03030000
+-            PyObject *py_level = PyInt_FromLong(level);
+-            if (!py_level)
+-                goto bad;
+-            module = PyObject_CallFunctionObjArgs(py_import,
+-                name, global_dict, empty_dict, list, py_level, NULL);
+-            Py_DECREF(py_level);
+-            #else
+-            module = PyImport_ImportModuleLevelObject(
+-                name, global_dict, empty_dict, list, level);
+-            #endif
++        PyObject *copy = _PyLong_Copy((PyLongObject*)n);
++        if (likely(copy)) {
++            Py_SIZE(copy) = -(Py_SIZE(copy));
+         }
++        return copy;
+     }
+-bad:
+-    #if PY_VERSION_HEX < 0x03030000
+-    Py_XDECREF(py_import);
+-    #endif
+-    Py_XDECREF(empty_list);
+-    Py_XDECREF(empty_dict);
+-    return module;
+-}
+-
+-/* SaveResetException */
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
+-    *type = tstate->exc_type;
+-    *value = tstate->exc_value;
+-    *tb = tstate->exc_traceback;
+-    Py_XINCREF(*type);
+-    Py_XINCREF(*value);
+-    Py_XINCREF(*tb);
+-}
+-static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    tmp_type = tstate->exc_type;
+-    tmp_value = tstate->exc_value;
+-    tmp_tb = tstate->exc_traceback;
+-    tstate->exc_type = type;
+-    tstate->exc_value = value;
+-    tstate->exc_traceback = tb;
+-    Py_XDECREF(tmp_type);
+-    Py_XDECREF(tmp_value);
+-    Py_XDECREF(tmp_tb);
+-}
++#else
++    return PyNumber_Negative(n);
+ #endif
+-
+-/* PyErrExceptionMatches */
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) {
+-    PyObject *exc_type = tstate->curexc_type;
+-    if (exc_type == err) return 1;
+-    if (unlikely(!exc_type)) return 0;
+-    return PyErr_GivenExceptionMatches(exc_type, err);
+ }
+ #endif
+ 
+-/* GetException */
+-        #if CYTHON_COMPILING_IN_CPYTHON
+-static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
+-#else
+-static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
+-#endif
+-    PyObject *local_type, *local_value, *local_tb;
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    PyObject *tmp_type, *tmp_value, *tmp_tb;
+-    local_type = tstate->curexc_type;
+-    local_value = tstate->curexc_value;
+-    local_tb = tstate->curexc_traceback;
+-    tstate->curexc_type = 0;
+-    tstate->curexc_value = 0;
+-    tstate->curexc_traceback = 0;
+-#else
+-    PyErr_Fetch(&local_type, &local_value, &local_tb);
+-#endif
+-    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (unlikely(tstate->curexc_type))
+-#else
+-    if (unlikely(PyErr_Occurred()))
+-#endif
+-        goto bad;
+-    #if PY_MAJOR_VERSION >= 3
+-    if (local_tb) {
+-        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
+-            goto bad;
++/* DictGetItem */
++        #if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
++static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
++    PyObject *value;
++    value = PyDict_GetItemWithError(d, key);
++    if (unlikely(!value)) {
++        if (!PyErr_Occurred()) {
++            PyObject* args = PyTuple_Pack(1, key);
++            if (likely(args))
++                PyErr_SetObject(PyExc_KeyError, args);
++            Py_XDECREF(args);
++        }
++        return NULL;
+     }
+-    #endif
+-    Py_XINCREF(local_tb);
+-    Py_XINCREF(local_type);
+-    Py_XINCREF(local_value);
+-    *type = local_type;
+-    *value = local_value;
+-    *tb = local_tb;
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    tmp_type = tstate->exc_type;
+-    tmp_value = tstate->exc_value;
+-    tmp_tb = tstate->exc_traceback;
+-    tstate->exc_type = local_type;
+-    tstate->exc_value = local_value;
+-    tstate->exc_traceback = local_tb;
+-    Py_XDECREF(tmp_type);
+-    Py_XDECREF(tmp_value);
+-    Py_XDECREF(tmp_tb);
+-#else
+-    PyErr_SetExcInfo(local_type, local_value, local_tb);
+-#endif
+-    return 0;
+-bad:
+-    *type = 0;
+-    *value = 0;
+-    *tb = 0;
+-    Py_XDECREF(local_type);
+-    Py_XDECREF(local_value);
+-    Py_XDECREF(local_tb);
+-    return -1;
++    Py_INCREF(value);
++    return value;
+ }
++#endif
+ 
+ /* PyErrFetchRestore */
+-          #if CYTHON_COMPILING_IN_CPYTHON
++        #if CYTHON_FAST_THREAD_STATE
+ static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
+     PyObject *tmp_type, *tmp_value, *tmp_tb;
+     tmp_type = tstate->curexc_type;
+@@ -22524,7 +25203,7 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject
+ #endif
+ 
+ /* RaiseException */
+-          #if PY_MAJOR_VERSION < 3
++        #if PY_MAJOR_VERSION < 3
+ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
+                         CYTHON_UNUSED PyObject *cause) {
+     __Pyx_PyThreadState_declare
+@@ -22639,11 +25318,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
+             "raise: exception class must be a subclass of BaseException");
+         goto bad;
+     }
+-#if PY_VERSION_HEX >= 0x03030000
+     if (cause) {
+-#else
+-    if (cause && cause != Py_None) {
+-#endif
+         PyObject *fixed_cause;
+         if (cause == Py_None) {
+             fixed_cause = NULL;
+@@ -22671,7 +25346,7 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
+         PyErr_Restore(tmp_type, tmp_value, tb);
+         Py_XDECREF(tmp_tb);
+ #else
+-        PyThreadState *tstate = PyThreadState_GET();
++        PyThreadState *tstate = __Pyx_PyThreadState_Current;
+         PyObject* tmp_tb = tstate->curexc_traceback;
+         if (tb != tmp_tb) {
+             Py_INCREF(tb);
+@@ -22687,7 +25362,7 @@ bad:
+ #endif
+ 
+ /* UnicodeAsUCS4 */
+-            static CYTHON_INLINE Py_UCS4 __Pyx_PyUnicode_AsPy_UCS4(PyObject* x) {
++        static CYTHON_INLINE Py_UCS4 __Pyx_PyUnicode_AsPy_UCS4(PyObject* x) {
+    Py_ssize_t length;
+    #if CYTHON_PEP393_ENABLED
+    length = PyUnicode_GET_LENGTH(x);
+@@ -22718,7 +25393,7 @@ bad:
+ }
+ 
+ /* object_ord */
+-            static long __Pyx__PyObject_Ord(PyObject* c) {
++        static long __Pyx__PyObject_Ord(PyObject* c) {
+     Py_ssize_t size;
+     if (PyBytes_Check(c)) {
+         size = PyBytes_GET_SIZE(c);
+@@ -22747,7 +25422,7 @@ bad:
+ }
+ 
+ /* SetItemInt */
+-            static CYTHON_INLINE int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) {
++        static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) {
+     int r;
+     if (!j) return -1;
+     r = PyObject_SetItem(o, j, v);
+@@ -22756,7 +25431,7 @@ bad:
+ }
+ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v, int is_list,
+                                                CYTHON_NCP_UNUSED int wraparound, CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
+     if (is_list || PyList_CheckExact(o)) {
+         Py_ssize_t n = (!wraparound) ? i : ((likely(i >= 0)) ? i : i + PyList_GET_SIZE(o));
+         if ((!boundscheck) || likely((n >= 0) & (n < PyList_GET_SIZE(o)))) {
+@@ -22795,11 +25470,11 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
+ }
+ 
+ /* PyObjectCallMethod0 */
+-              static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
++          static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
+     PyObject *method, *result = NULL;
+     method = __Pyx_PyObject_GetAttrStr(obj, method_name);
+     if (unlikely(!method)) goto bad;
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_UNPACK_METHODS
+     if (likely(PyMethod_Check(method))) {
+         PyObject *self = PyMethod_GET_SELF(method);
+         if (likely(self)) {
+@@ -22817,12 +25492,12 @@ bad:
+ }
+ 
+ /* RaiseNoneIterError */
+-              static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
++          static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
+     PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+ }
+ 
+ /* UnpackTupleError */
+-              static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
++          static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) {
+     if (t == Py_None) {
+       __Pyx_RaiseNoneNotIterableError();
+     } else if (PyTuple_GET_SIZE(t) < index) {
+@@ -22833,41 +25508,46 @@ bad:
+ }
+ 
+ /* UnpackTuple2 */
+-              static CYTHON_INLINE int __Pyx_unpack_tuple2(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2,
+-                                             int is_tuple, int has_known_size, int decref_tuple) {
+-    Py_ssize_t index;
+-    PyObject *value1 = NULL, *value2 = NULL, *iter = NULL;
+-    if (!is_tuple && unlikely(!PyTuple_Check(tuple))) {
+-        iternextfunc iternext;
+-        iter = PyObject_GetIter(tuple);
+-        if (unlikely(!iter)) goto bad;
+-        if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; }
+-        iternext = Py_TYPE(iter)->tp_iternext;
+-        value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; }
+-        value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; }
+-        if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad;
+-        Py_DECREF(iter);
+-    } else {
+-        if (!has_known_size && unlikely(PyTuple_GET_SIZE(tuple) != 2)) {
+-            __Pyx_UnpackTupleError(tuple, 2);
+-            goto bad;
+-        }
++          static CYTHON_INLINE int __Pyx_unpack_tuple2_exact(
++        PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2, int decref_tuple) {
++    PyObject *value1 = NULL, *value2 = NULL;
+ #if CYTHON_COMPILING_IN_PYPY
+-        value1 = PySequence_ITEM(tuple, 0);
+-        if (unlikely(!value1)) goto bad;
+-        value2 = PySequence_ITEM(tuple, 1);
+-        if (unlikely(!value2)) goto bad;
++    value1 = PySequence_ITEM(tuple, 0);  if (unlikely(!value1)) goto bad;
++    value2 = PySequence_ITEM(tuple, 1);  if (unlikely(!value2)) goto bad;
+ #else
+-        value1 = PyTuple_GET_ITEM(tuple, 0);
+-        value2 = PyTuple_GET_ITEM(tuple, 1);
+-        Py_INCREF(value1);
+-        Py_INCREF(value2);
++    value1 = PyTuple_GET_ITEM(tuple, 0);  Py_INCREF(value1);
++    value2 = PyTuple_GET_ITEM(tuple, 1);  Py_INCREF(value2);
+ #endif
+-        if (decref_tuple) { Py_DECREF(tuple); }
++    if (decref_tuple) {
++        Py_DECREF(tuple);
+     }
+     *pvalue1 = value1;
+     *pvalue2 = value2;
+     return 0;
++#if CYTHON_COMPILING_IN_PYPY
++bad:
++    Py_XDECREF(value1);
++    Py_XDECREF(value2);
++    if (decref_tuple) { Py_XDECREF(tuple); }
++    return -1;
++#endif
++}
++static int __Pyx_unpack_tuple2_generic(PyObject* tuple, PyObject** pvalue1, PyObject** pvalue2,
++                                       int has_known_size, int decref_tuple) {
++    Py_ssize_t index;
++    PyObject *value1 = NULL, *value2 = NULL, *iter = NULL;
++    iternextfunc iternext;
++    iter = PyObject_GetIter(tuple);
++    if (unlikely(!iter)) goto bad;
++    if (decref_tuple) { Py_DECREF(tuple); tuple = NULL; }
++    iternext = Py_TYPE(iter)->tp_iternext;
++    value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; }
++    value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; }
++    if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad;
++    Py_DECREF(iter);
++    *pvalue1 = value1;
++    *pvalue2 = value2;
++    return 0;
+ unpacking_failed:
+     if (!has_known_size && __Pyx_IterFinish() == 0)
+         __Pyx_RaiseNeedMoreValuesError(index);
+@@ -22880,17 +25560,34 @@ bad:
+ }
+ 
+ /* dict_iter */
+-              static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
++          static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name,
+                                                    Py_ssize_t* p_orig_length, int* p_source_is_dict) {
+     is_dict = is_dict || likely(PyDict_CheckExact(iterable));
+     *p_source_is_dict = is_dict;
+-#if !CYTHON_COMPILING_IN_PYPY
+     if (is_dict) {
++#if !CYTHON_COMPILING_IN_PYPY
+         *p_orig_length = PyDict_Size(iterable);
+         Py_INCREF(iterable);
+         return iterable;
+-    }
++#elif PY_MAJOR_VERSION >= 3
++        static PyObject *py_items = NULL, *py_keys = NULL, *py_values = NULL;
++        PyObject **pp = NULL;
++        if (method_name) {
++            const char *name = PyUnicode_AsUTF8(method_name);
++            if (strcmp(name, "iteritems") == 0) pp = &py_items;
++            else if (strcmp(name, "iterkeys") == 0) pp = &py_keys;
++            else if (strcmp(name, "itervalues") == 0) pp = &py_values;
++            if (pp) {
++                if (!*pp) {
++                    *pp = PyUnicode_FromString(name + 4);
++                    if (!*pp)
++                        return NULL;
++                }
++                method_name = *pp;
++            }
++        }
+ #endif
++    }
+     *p_orig_length = 0;
+     if (method_name) {
+         PyObject* iter;
+@@ -22956,58 +25653,146 @@ static CYTHON_INLINE int __Pyx_dict_iter_next(
+         Py_INCREF(next_item);
+     } else
+ #endif
+-    {
+-        next_item = PyIter_Next(iter_obj);
+-        if (unlikely(!next_item)) {
+-            return __Pyx_IterFinish();
++    {
++        next_item = PyIter_Next(iter_obj);
++        if (unlikely(!next_item)) {
++            return __Pyx_IterFinish();
++        }
++    }
++    if (pitem) {
++        *pitem = next_item;
++    } else if (pkey && pvalue) {
++        if (__Pyx_unpack_tuple2(next_item, pkey, pvalue, source_is_dict, source_is_dict, 1))
++            return -1;
++    } else if (pkey) {
++        *pkey = next_item;
++    } else {
++        *pvalue = next_item;
++    }
++    return 1;
++}
++
++/* GetItemInt */
++          static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
++    PyObject *r;
++    if (!j) return NULL;
++    r = PyObject_GetItem(o, j);
++    Py_DECREF(j);
++    return r;
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
++                                                              CYTHON_NCP_UNUSED int wraparound,
++                                                              CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    Py_ssize_t wrapped_i = i;
++    if (wraparound & unlikely(i < 0)) {
++        wrapped_i += PyList_GET_SIZE(o);
++    }
++    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyList_GET_SIZE(o)))) {
++        PyObject *r = PyList_GET_ITEM(o, wrapped_i);
++        Py_INCREF(r);
++        return r;
++    }
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++#else
++    return PySequence_GetItem(o, i);
++#endif
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
++                                                              CYTHON_NCP_UNUSED int wraparound,
++                                                              CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++    Py_ssize_t wrapped_i = i;
++    if (wraparound & unlikely(i < 0)) {
++        wrapped_i += PyTuple_GET_SIZE(o);
++    }
++    if ((!boundscheck) || likely((0 <= wrapped_i) & (wrapped_i < PyTuple_GET_SIZE(o)))) {
++        PyObject *r = PyTuple_GET_ITEM(o, wrapped_i);
++        Py_INCREF(r);
++        return r;
++    }
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++#else
++    return PySequence_GetItem(o, i);
++#endif
++}
++static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
++                                                     CYTHON_NCP_UNUSED int wraparound,
++                                                     CYTHON_NCP_UNUSED int boundscheck) {
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
++    if (is_list || PyList_CheckExact(o)) {
++        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
++        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
++            PyObject *r = PyList_GET_ITEM(o, n);
++            Py_INCREF(r);
++            return r;
+         }
+     }
+-    if (pitem) {
+-        *pitem = next_item;
+-    } else if (pkey && pvalue) {
+-        if (__Pyx_unpack_tuple2(next_item, pkey, pvalue, source_is_dict, source_is_dict, 1))
+-            return -1;
+-    } else if (pkey) {
+-        *pkey = next_item;
++    else if (PyTuple_CheckExact(o)) {
++        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
++        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
++            PyObject *r = PyTuple_GET_ITEM(o, n);
++            Py_INCREF(r);
++            return r;
++        }
+     } else {
+-        *pvalue = next_item;
++        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
++        if (likely(m && m->sq_item)) {
++            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
++                Py_ssize_t l = m->sq_length(o);
++                if (likely(l >= 0)) {
++                    i += l;
++                } else {
++                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
++                        return NULL;
++                    PyErr_Clear();
++                }
++            }
++            return m->sq_item(o, i);
++        }
+     }
+-    return 1;
++#else
++    if (is_list || PySequence_Check(o)) {
++        return PySequence_GetItem(o, i);
++    }
++#endif
++    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+ }
+ 
+ /* ArgTypeTest */
+-              static void __Pyx_RaiseArgumentTypeInvalid(const char* name, PyObject *obj, PyTypeObject *type) {
+-    PyErr_Format(PyExc_TypeError,
+-        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
+-        name, type->tp_name, Py_TYPE(obj)->tp_name);
+-}
+-static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed,
+-    const char *name, int exact)
++          static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact)
+ {
+     if (unlikely(!type)) {
+         PyErr_SetString(PyExc_SystemError, "Missing type object");
+         return 0;
+     }
+-    if (none_allowed && obj == Py_None) return 1;
+     else if (exact) {
+-        if (likely(Py_TYPE(obj) == type)) return 1;
+         #if PY_MAJOR_VERSION == 2
+-        else if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
++        if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1;
+         #endif
+     }
+     else {
+-        if (likely(PyObject_TypeCheck(obj, type))) return 1;
++        if (likely(__Pyx_TypeCheck(obj, type))) return 1;
+     }
+-    __Pyx_RaiseArgumentTypeInvalid(name, obj, type);
++    PyErr_Format(PyExc_TypeError,
++        "Argument '%.200s' has incorrect type (expected %.200s, got %.200s)",
++        name, type->tp_name, Py_TYPE(obj)->tp_name);
+     return 0;
+ }
+ 
+-/* BufferFormatCheck */
+-              static CYTHON_INLINE int __Pyx_IsLittleEndian(void) {
+-  unsigned int n = 1;
+-  return *(unsigned char*)(&n) != 0;
++/* IsLittleEndian */
++          static CYTHON_INLINE int __Pyx_Is_Little_Endian(void)
++{
++  union {
++    uint32_t u32;
++    uint8_t u8[4];
++  } S;
++  S.u32 = 0x01020304;
++  return S.u8[0] == 4;
+ }
+-static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
++
++/* BufferFormatCheck */
++          static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx,
+                               __Pyx_BufFmt_StackElem* stack,
+                               __Pyx_TypeInfo* type) {
+   stack[0].field = &ctx->root;
+@@ -23328,7 +26113,7 @@ static int __Pyx_BufFmt_ProcessTypeChunk(__Pyx_BufFmt_Context* ctx) {
+   ctx->is_complex = 0;
+   return 0;
+ }
+-static CYTHON_INLINE PyObject *
++static PyObject *
+ __pyx_buffmt_parse_array(__Pyx_BufFmt_Context* ctx, const char** tsp)
+ {
+     const char *ts = *tsp;
+@@ -23393,7 +26178,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+         ++ts;
+         break;
+       case '<':
+-        if (!__Pyx_IsLittleEndian()) {
++        if (!__Pyx_Is_Little_Endian()) {
+           PyErr_SetString(PyExc_ValueError, "Little-endian buffer not supported on big-endian compiler");
+           return NULL;
+         }
+@@ -23402,7 +26187,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+         break;
+       case '>':
+       case '!':
+-        if (__Pyx_IsLittleEndian()) {
++        if (__Pyx_Is_Little_Endian()) {
+           PyErr_SetString(PyExc_ValueError, "Big-endian buffer not supported on little-endian compiler");
+           return NULL;
+         }
+@@ -23466,6 +26251,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+           __Pyx_BufFmt_RaiseUnexpectedChar('Z');
+           return NULL;
+         }
++        CYTHON_FALLTHROUGH;
+       case 'c': case 'b': case 'B': case 'h': case 'H': case 'i': case 'I':
+       case 'l': case 'L': case 'q': case 'Q':
+       case 'f': case 'd': case 'g':
+@@ -23478,6 +26264,7 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+           ++ts;
+           break;
+         }
++        CYTHON_FALLTHROUGH;
+       case 's':
+         if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL;
+         ctx->enc_count = ctx->new_count;
+@@ -23505,24 +26292,30 @@ static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const cha
+     }
+   }
+ }
+-static CYTHON_INLINE void __Pyx_ZeroBuffer(Py_buffer* buf) {
++
++/* BufferGetAndValidate */
++            static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info) {
++  if (unlikely(info->buf == NULL)) return;
++  if (info->suboffsets == __Pyx_minusones) info->suboffsets = NULL;
++  __Pyx_ReleaseBuffer(info);
++}
++static void __Pyx_ZeroBuffer(Py_buffer* buf) {
+   buf->buf = NULL;
+   buf->obj = NULL;
+   buf->strides = __Pyx_zeros;
+   buf->shape = __Pyx_zeros;
+   buf->suboffsets = __Pyx_minusones;
+ }
+-static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
++static int __Pyx__GetBufferAndValidate(
+         Py_buffer* buf, PyObject* obj,  __Pyx_TypeInfo* dtype, int flags,
+         int nd, int cast, __Pyx_BufFmt_StackElem* stack)
+ {
+-  if (obj == Py_None || obj == NULL) {
++  buf->buf = NULL;
++  if (unlikely(__Pyx_GetBuffer(obj, buf, flags) == -1)) {
+     __Pyx_ZeroBuffer(buf);
+-    return 0;
++    return -1;
+   }
+-  buf->buf = NULL;
+-  if (__Pyx_GetBuffer(obj, buf, flags) == -1) goto fail;
+-  if (buf->ndim != nd) {
++  if (unlikely(buf->ndim != nd)) {
+     PyErr_Format(PyExc_ValueError,
+                  "Buffer has wrong number of dimensions (expected %d, got %d)",
+                  nd, buf->ndim);
+@@ -23533,7 +26326,7 @@ static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
+     __Pyx_BufFmt_Init(&ctx, stack, dtype);
+     if (!__Pyx_BufFmt_CheckString(&ctx, buf->format)) goto fail;
+   }
+-  if ((unsigned)buf->itemsize != dtype->size) {
++  if (unlikely((unsigned)buf->itemsize != dtype->size)) {
+     PyErr_Format(PyExc_ValueError,
+       "Item size of buffer (%" CYTHON_FORMAT_SSIZE_T "d byte%s) does not match size of '%s' (%" CYTHON_FORMAT_SSIZE_T "d byte%s)",
+       buf->itemsize, (buf->itemsize > 1) ? "s" : "",
+@@ -23543,17 +26336,12 @@ static CYTHON_INLINE int __Pyx_GetBufferAndValidate(
+   if (buf->suboffsets == NULL) buf->suboffsets = __Pyx_minusones;
+   return 0;
+ fail:;
+-  __Pyx_ZeroBuffer(buf);
++  __Pyx_SafeReleaseBuffer(buf);
+   return -1;
+ }
+-static CYTHON_INLINE void __Pyx_SafeReleaseBuffer(Py_buffer* info) {
+-  if (info->buf == NULL) return;
+-  if (info->suboffsets == __Pyx_minusones) info->suboffsets = NULL;
+-  __Pyx_ReleaseBuffer(info);
+-}
+ 
+ /* MemviewSliceInit */
+-                static int
++            static int
+ __Pyx_init_memviewslice(struct __pyx_memoryview_obj *memview,
+                         int ndim,
+                         __Pyx_memviewslice *memviewslice,
+@@ -23606,7 +26394,10 @@ no_fail:
+     __Pyx_RefNannyFinishContext();
+     return retval;
+ }
+-static CYTHON_INLINE void __pyx_fatalerror(const char *fmt, ...) {
++#ifndef Py_NO_RETURN
++#define Py_NO_RETURN
++#endif
++static void __pyx_fatalerror(const char *fmt, ...) Py_NO_RETURN {
+     va_list vargs;
+     char msg[200];
+ #ifdef HAVE_STDARG_PROTOTYPES
+@@ -23615,8 +26406,8 @@ static CYTHON_INLINE void __pyx_fatalerror(const char *fmt, ...) {
+     va_start(vargs);
+ #endif
+     vsnprintf(msg, 200, fmt, vargs);
+-    Py_FatalError(msg);
+     va_end(vargs);
++    Py_FatalError(msg);
+ }
+ static CYTHON_INLINE int
+ __pyx_add_acquisition_count_locked(__pyx_atomic_int *acquisition_count,
+@@ -23688,20 +26479,154 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+ }
+ 
+ /* ExtTypeTest */
+-                static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
++            static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
+     if (unlikely(!type)) {
+         PyErr_SetString(PyExc_SystemError, "Missing type object");
+         return 0;
+     }
+-    if (likely(PyObject_TypeCheck(obj, type)))
++    if (likely(__Pyx_TypeCheck(obj, type)))
+         return 1;
+     PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
+                  Py_TYPE(obj)->tp_name, type->tp_name);
+     return 0;
+ }
+ 
++/* SaveResetException */
++            #if CYTHON_FAST_THREAD_STATE
++static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++    #if PY_VERSION_HEX >= 0x030700A2
++    *type = tstate->exc_state.exc_type;
++    *value = tstate->exc_state.exc_value;
++    *tb = tstate->exc_state.exc_traceback;
++    #else
++    *type = tstate->exc_type;
++    *value = tstate->exc_value;
++    *tb = tstate->exc_traceback;
++    #endif
++    Py_XINCREF(*type);
++    Py_XINCREF(*value);
++    Py_XINCREF(*tb);
++}
++static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = type;
++    tstate->exc_state.exc_value = value;
++    tstate->exc_state.exc_traceback = tb;
++    #else
++    tmp_type = tstate->exc_type;
++    tmp_value = tstate->exc_value;
++    tmp_tb = tstate->exc_traceback;
++    tstate->exc_type = type;
++    tstate->exc_value = value;
++    tstate->exc_traceback = tb;
++    #endif
++    Py_XDECREF(tmp_type);
++    Py_XDECREF(tmp_value);
++    Py_XDECREF(tmp_tb);
++}
++#endif
++
++/* PyErrExceptionMatches */
++            #if CYTHON_FAST_THREAD_STATE
++static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
++    Py_ssize_t i, n;
++    n = PyTuple_GET_SIZE(tuple);
++#if PY_MAJOR_VERSION >= 3
++    for (i=0; icurexc_type;
++    if (exc_type == err) return 1;
++    if (unlikely(!exc_type)) return 0;
++    if (unlikely(PyTuple_Check(err)))
++        return __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err);
++    return __Pyx_PyErr_GivenExceptionMatches(exc_type, err);
++}
++#endif
++
++/* GetException */
++            #if CYTHON_FAST_THREAD_STATE
++static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
++#else
++static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
++#endif
++    PyObject *local_type, *local_value, *local_tb;
++#if CYTHON_FAST_THREAD_STATE
++    PyObject *tmp_type, *tmp_value, *tmp_tb;
++    local_type = tstate->curexc_type;
++    local_value = tstate->curexc_value;
++    local_tb = tstate->curexc_traceback;
++    tstate->curexc_type = 0;
++    tstate->curexc_value = 0;
++    tstate->curexc_traceback = 0;
++#else
++    PyErr_Fetch(&local_type, &local_value, &local_tb);
++#endif
++    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
++#if CYTHON_FAST_THREAD_STATE
++    if (unlikely(tstate->curexc_type))
++#else
++    if (unlikely(PyErr_Occurred()))
++#endif
++        goto bad;
++    #if PY_MAJOR_VERSION >= 3
++    if (local_tb) {
++        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
++            goto bad;
++    }
++    #endif
++    Py_XINCREF(local_tb);
++    Py_XINCREF(local_type);
++    Py_XINCREF(local_value);
++    *type = local_type;
++    *value = local_value;
++    *tb = local_tb;
++#if CYTHON_FAST_THREAD_STATE
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = local_type;
++    tstate->exc_state.exc_value = local_value;
++    tstate->exc_state.exc_traceback = local_tb;
++    #else
++    tmp_type = tstate->exc_type;
++    tmp_value = tstate->exc_value;
++    tmp_tb = tstate->exc_traceback;
++    tstate->exc_type = local_type;
++    tstate->exc_value = local_value;
++    tstate->exc_traceback = local_tb;
++    #endif
++    Py_XDECREF(tmp_type);
++    Py_XDECREF(tmp_value);
++    Py_XDECREF(tmp_tb);
++#else
++    PyErr_SetExcInfo(local_type, local_value, local_tb);
++#endif
++    return 0;
++bad:
++    *type = 0;
++    *value = 0;
++    *tb = 0;
++    Py_XDECREF(local_type);
++    Py_XDECREF(local_value);
++    Py_XDECREF(local_tb);
++    return -1;
++}
++
+ /* BytesEquals */
+-                static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
++              static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
+ #if CYTHON_COMPILING_IN_PYPY
+     return PyObject_RichCompareBool(s1, s2, equals);
+ #else
+@@ -23719,7 +26644,16 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+         } else if (length == 1) {
+             return (equals == Py_EQ);
+         } else {
+-            int result = memcmp(ps1, ps2, (size_t)length);
++            int result;
++#if CYTHON_USE_UNICODE_INTERNALS
++            Py_hash_t hash1, hash2;
++            hash1 = ((PyBytesObject*)s1)->ob_shash;
++            hash2 = ((PyBytesObject*)s2)->ob_shash;
++            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
++                return (equals == Py_NE);
++            }
++#endif
++            result = memcmp(ps1, ps2, (size_t)length);
+             return (equals == Py_EQ) ? (result == 0) : (result != 0);
+         }
+     } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) {
+@@ -23739,7 +26673,7 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+ }
+ 
+ /* UnicodeEquals */
+-                static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
++              static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
+ #if CYTHON_COMPILING_IN_PYPY
+     return PyObject_RichCompareBool(s1, s2, equals);
+ #else
+@@ -23779,6 +26713,21 @@ static CYTHON_INLINE void __Pyx_XDEC_MEMVIEW(__Pyx_memviewslice *memslice,
+         if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) {
+             goto return_ne;
+         }
++#if CYTHON_USE_UNICODE_INTERNALS
++        {
++            Py_hash_t hash1, hash2;
++        #if CYTHON_PEP393_ENABLED
++            hash1 = ((PyASCIIObject*)s1)->hash;
++            hash2 = ((PyASCIIObject*)s2)->hash;
++        #else
++            hash1 = ((PyUnicodeObject*)s1)->hash;
++            hash2 = ((PyUnicodeObject*)s2)->hash;
++        #endif
++            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
++                goto return_ne;
++            }
++        }
++#endif
+         kind = __Pyx_PyUnicode_KIND(s1);
+         if (kind != __Pyx_PyUnicode_KIND(s2)) {
+             goto return_ne;
+@@ -23823,7 +26772,7 @@ return_ne:
+ }
+ 
+ /* None */
+-                static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) {
++              static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) {
+     Py_ssize_t q = a / b;
+     Py_ssize_t r = a - q*b;
+     q -= ((r != 0) & ((r ^ b) < 0));
+@@ -23831,8 +26780,8 @@ return_ne:
+ }
+ 
+ /* GetAttr */
+-                static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++              static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
++#if CYTHON_USE_TYPE_SLOTS
+ #if PY_MAJOR_VERSION >= 3
+     if (likely(PyUnicode_Check(n)))
+ #else
+@@ -23843,8 +26792,37 @@ return_ne:
+     return PyObject_GetAttr(o, n);
+ }
+ 
++/* ObjectGetItem */
++              #if CYTHON_USE_TYPE_SLOTS
++static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject* index) {
++    PyObject *runerr;
++    Py_ssize_t key_value;
++    PySequenceMethods *m = Py_TYPE(obj)->tp_as_sequence;
++    if (unlikely(!(m && m->sq_item))) {
++        PyErr_Format(PyExc_TypeError, "'%.200s' object is not subscriptable", Py_TYPE(obj)->tp_name);
++        return NULL;
++    }
++    key_value = __Pyx_PyIndex_AsSsize_t(index);
++    if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) {
++        return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1);
++    }
++    if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
++        PyErr_Clear();
++        PyErr_Format(PyExc_IndexError, "cannot fit '%.200s' into an index-sized integer", Py_TYPE(index)->tp_name);
++    }
++    return NULL;
++}
++static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key) {
++    PyMappingMethods *m = Py_TYPE(obj)->tp_as_mapping;
++    if (likely(m && m->mp_subscript)) {
++        return m->mp_subscript(obj, key);
++    }
++    return __Pyx_PyObject_GetIndex(obj, key);
++}
++#endif
++
+ /* decode_c_string */
+-                static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
++              static CYTHON_INLINE PyObject* __Pyx_decode_c_string(
+          const char* cstring, Py_ssize_t start, Py_ssize_t stop,
+          const char* encoding, const char* errors,
+          PyObject* (*decode_func)(const char *s, Py_ssize_t size, const char *errors)) {
+@@ -23876,16 +26854,40 @@ return_ne:
+     }
+ }
+ 
++/* GetAttr3 */
++              static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
++        return NULL;
++    __Pyx_PyErr_Clear();
++    Py_INCREF(d);
++    return d;
++}
++static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
++    PyObject *r = __Pyx_GetAttr(o, n);
++    return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
++}
++
+ /* SwapException */
+-                #if CYTHON_COMPILING_IN_CPYTHON
++              #if CYTHON_FAST_THREAD_STATE
+ static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
+     PyObject *tmp_type, *tmp_value, *tmp_tb;
++    #if PY_VERSION_HEX >= 0x030700A2
++    tmp_type = tstate->exc_state.exc_type;
++    tmp_value = tstate->exc_state.exc_value;
++    tmp_tb = tstate->exc_state.exc_traceback;
++    tstate->exc_state.exc_type = *type;
++    tstate->exc_state.exc_value = *value;
++    tstate->exc_state.exc_traceback = *tb;
++    #else
+     tmp_type = tstate->exc_type;
+     tmp_value = tstate->exc_value;
+     tmp_tb = tstate->exc_traceback;
+     tstate->exc_type = *type;
+     tstate->exc_value = *value;
+     tstate->exc_traceback = *tb;
++    #endif
+     *type = tmp_type;
+     *value = tmp_value;
+     *tb = tmp_tb;
+@@ -23901,89 +26903,145 @@ static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value,
+ }
+ #endif
+ 
+-/* GetItemInt */
+-                static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
+-    PyObject *r;
+-    if (!j) return NULL;
+-    r = PyObject_GetItem(o, j);
+-    Py_DECREF(j);
+-    return r;
+-}
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
+-                                                              CYTHON_NCP_UNUSED int wraparound,
+-                                                              CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (wraparound & unlikely(i < 0)) i += PyList_GET_SIZE(o);
+-    if ((!boundscheck) || likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
+-        PyObject *r = PyList_GET_ITEM(o, i);
+-        Py_INCREF(r);
+-        return r;
++/* Import */
++              static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
++    PyObject *empty_list = 0;
++    PyObject *module = 0;
++    PyObject *global_dict = 0;
++    PyObject *empty_dict = 0;
++    PyObject *list;
++    #if PY_MAJOR_VERSION < 3
++    PyObject *py_import;
++    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
++    if (!py_import)
++        goto bad;
++    #endif
++    if (from_list)
++        list = from_list;
++    else {
++        empty_list = PyList_New(0);
++        if (!empty_list)
++            goto bad;
++        list = empty_list;
++    }
++    global_dict = PyModule_GetDict(__pyx_m);
++    if (!global_dict)
++        goto bad;
++    empty_dict = PyDict_New();
++    if (!empty_dict)
++        goto bad;
++    {
++        #if PY_MAJOR_VERSION >= 3
++        if (level == -1) {
++            if (strchr(__Pyx_MODULE_NAME, '.')) {
++                module = PyImport_ImportModuleLevelObject(
++                    name, global_dict, empty_dict, list, 1);
++                if (!module) {
++                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
++                        goto bad;
++                    PyErr_Clear();
++                }
++            }
++            level = 0;
++        }
++        #endif
++        if (!module) {
++            #if PY_MAJOR_VERSION < 3
++            PyObject *py_level = PyInt_FromLong(level);
++            if (!py_level)
++                goto bad;
++            module = PyObject_CallFunctionObjArgs(py_import,
++                name, global_dict, empty_dict, list, py_level, NULL);
++            Py_DECREF(py_level);
++            #else
++            module = PyImport_ImportModuleLevelObject(
++                name, global_dict, empty_dict, list, level);
++            #endif
++        }
+     }
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+-#else
+-    return PySequence_GetItem(o, i);
+-#endif
++bad:
++    #if PY_MAJOR_VERSION < 3
++    Py_XDECREF(py_import);
++    #endif
++    Py_XDECREF(empty_list);
++    Py_XDECREF(empty_dict);
++    return module;
+ }
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
+-                                                              CYTHON_NCP_UNUSED int wraparound,
+-                                                              CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (wraparound & unlikely(i < 0)) i += PyTuple_GET_SIZE(o);
+-    if ((!boundscheck) || likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
+-        PyObject *r = PyTuple_GET_ITEM(o, i);
+-        Py_INCREF(r);
+-        return r;
++
++/* FastTypeChecks */
++              #if CYTHON_COMPILING_IN_CPYTHON
++static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
++    while (a) {
++        a = a->tp_base;
++        if (a == b)
++            return 1;
+     }
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
+-#else
+-    return PySequence_GetItem(o, i);
+-#endif
++    return b == &PyBaseObject_Type;
+ }
+-static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
+-                                                     CYTHON_NCP_UNUSED int wraparound,
+-                                                     CYTHON_NCP_UNUSED int boundscheck) {
+-#if CYTHON_COMPILING_IN_CPYTHON
+-    if (is_list || PyList_CheckExact(o)) {
+-        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
+-        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
+-            PyObject *r = PyList_GET_ITEM(o, n);
+-            Py_INCREF(r);
+-            return r;
++static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
++    PyObject *mro;
++    if (a == b) return 1;
++    mro = a->tp_mro;
++    if (likely(mro)) {
++        Py_ssize_t i, n;
++        n = PyTuple_GET_SIZE(mro);
++        for (i = 0; i < n; i++) {
++            if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b)
++                return 1;
+         }
++        return 0;
+     }
+-    else if (PyTuple_CheckExact(o)) {
+-        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
+-        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
+-            PyObject *r = PyTuple_GET_ITEM(o, n);
+-            Py_INCREF(r);
+-            return r;
+-        }
+-    } else {
+-        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
+-        if (likely(m && m->sq_item)) {
+-            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
+-                Py_ssize_t l = m->sq_length(o);
+-                if (likely(l >= 0)) {
+-                    i += l;
+-                } else {
+-                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
+-                        return NULL;
+-                    PyErr_Clear();
+-                }
+-            }
+-            return m->sq_item(o, i);
++    return __Pyx_InBases(a, b);
++}
++#if PY_MAJOR_VERSION == 2
++static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) {
++    PyObject *exception, *value, *tb;
++    int res;
++    __Pyx_PyThreadState_declare
++    __Pyx_PyThreadState_assign
++    __Pyx_ErrFetch(&exception, &value, &tb);
++    res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0;
++    if (unlikely(res == -1)) {
++        PyErr_WriteUnraisable(err);
++        res = 0;
++    }
++    if (!res) {
++        res = PyObject_IsSubclass(err, exc_type2);
++        if (unlikely(res == -1)) {
++            PyErr_WriteUnraisable(err);
++            res = 0;
+         }
+     }
++    __Pyx_ErrRestore(exception, value, tb);
++    return res;
++}
+ #else
+-    if (is_list || PySequence_Check(o)) {
+-        return PySequence_GetItem(o, i);
++static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
++    int res = exc_type1 ? __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type1) : 0;
++    if (!res) {
++        res = __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
+     }
++    return res;
++}
+ #endif
+-    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
++    if (likely(err == exc_type)) return 1;
++    if (likely(PyExceptionClass_Check(err))) {
++        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
++    }
++    return PyErr_GivenExceptionMatches(err, exc_type);
+ }
++static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *exc_type1, PyObject *exc_type2) {
++    if (likely(err == exc_type1 || err == exc_type2)) return 1;
++    if (likely(PyExceptionClass_Check(err))) {
++        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, exc_type1, exc_type2);
++    }
++    return (PyErr_GivenExceptionMatches(err, exc_type1) || PyErr_GivenExceptionMatches(err, exc_type2));
++}
++#endif
+ 
+ /* PyIntBinop */
+-                #if CYTHON_COMPILING_IN_CPYTHON
++              #if !CYTHON_COMPILING_IN_PYPY
+ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED long intval, CYTHON_UNUSED int inplace) {
+     #if PY_MAJOR_VERSION < 3
+     if (likely(PyInt_CheckExact(op1))) {
+@@ -23996,12 +27054,14 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+             return PyLong_Type.tp_as_number->nb_add(op1, op2);
+     }
+     #endif
+-    #if CYTHON_USE_PYLONG_INTERNALS && PY_MAJOR_VERSION >= 3
++    #if CYTHON_USE_PYLONG_INTERNALS
+     if (likely(PyLong_CheckExact(op1))) {
+         const long b = intval;
+         long a, x;
++#ifdef HAVE_LONG_LONG
+         const PY_LONG_LONG llb = intval;
+         PY_LONG_LONG lla, llx;
++#endif
+         const digit* digits = ((PyLongObject*)op1)->ob_digit;
+         const Py_ssize_t size = Py_SIZE(op1);
+         if (likely(__Pyx_sst_abs(size) <= 1)) {
+@@ -24013,58 +27073,80 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+                     if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+                         a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 2:
+                     if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+                         a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case -3:
+                     if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+                         a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 3:
+                     if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+                         a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case -4:
+                     if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+                         a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) {
+                         lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 case 4:
+                     if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+                         a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]));
+                         break;
++#ifdef HAVE_LONG_LONG
+                     } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) {
+                         lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0]));
+                         goto long_long;
++#endif
+                     }
++                    CYTHON_FALLTHROUGH;
+                 default: return PyLong_Type.tp_as_number->nb_add(op1, op2);
+             }
+         }
+                 x = a + b;
+             return PyLong_FromLong(x);
++#ifdef HAVE_LONG_LONG
+         long_long:
+                 llx = lla + llb;
+             return PyLong_FromLongLong(llx);
++#endif
++        
++        
+     }
+     #endif
+     if (PyFloat_CheckExact(op1)) {
+@@ -24081,12 +27163,12 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ #endif
+ 
+ /* None */
+-                static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
++              static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
+     PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname);
+ }
+ 
+ /* None */
+-                static CYTHON_INLINE long __Pyx_div_long(long a, long b) {
++              static CYTHON_INLINE long __Pyx_div_long(long a, long b) {
+     long q = a / b;
+     long r = a - q*b;
+     q -= ((r != 0) & ((r ^ b) < 0));
+@@ -24094,7 +27176,7 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ }
+ 
+ /* WriteUnraisableException */
+-                static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
++              static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
+                                   CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
+                                   int full_traceback, CYTHON_UNUSED int nogil) {
+     PyObject *old_exc, *old_val, *old_tb;
+@@ -24135,8 +27217,90 @@ static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, CYTHON_UNUSED
+ #endif
+ }
+ 
++/* ImportFrom */
++              static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
++    PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
++    if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) {
++        PyErr_Format(PyExc_ImportError,
++        #if PY_MAJOR_VERSION < 3
++            "cannot import name %.230s", PyString_AS_STRING(name));
++        #else
++            "cannot import name %S", name);
++        #endif
++    }
++    return value;
++}
++
++/* HasAttr */
++              static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
++    PyObject *r;
++    if (unlikely(!__Pyx_PyBaseString_Check(n))) {
++        PyErr_SetString(PyExc_TypeError,
++                        "hasattr(): attribute name must be string");
++        return -1;
++    }
++    r = __Pyx_GetAttr(o, n);
++    if (unlikely(!r)) {
++        PyErr_Clear();
++        return 0;
++    } else {
++        Py_DECREF(r);
++        return 1;
++    }
++}
++
++/* PyObject_GenericGetAttrNoDict */
++              #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
++    PyErr_Format(PyExc_AttributeError,
++#if PY_MAJOR_VERSION >= 3
++                 "'%.50s' object has no attribute '%U'",
++                 tp->tp_name, attr_name);
++#else
++                 "'%.50s' object has no attribute '%.400s'",
++                 tp->tp_name, PyString_AS_STRING(attr_name));
++#endif
++    return NULL;
++}
++static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name) {
++    PyObject *descr;
++    PyTypeObject *tp = Py_TYPE(obj);
++    if (unlikely(!PyString_Check(attr_name))) {
++        return PyObject_GenericGetAttr(obj, attr_name);
++    }
++    assert(!tp->tp_dictoffset);
++    descr = _PyType_Lookup(tp, attr_name);
++    if (unlikely(!descr)) {
++        return __Pyx_RaiseGenericGetAttributeError(tp, attr_name);
++    }
++    Py_INCREF(descr);
++    #if PY_MAJOR_VERSION < 3
++    if (likely(PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_HAVE_CLASS)))
++    #endif
++    {
++        descrgetfunc f = Py_TYPE(descr)->tp_descr_get;
++        if (unlikely(f)) {
++            PyObject *res = f(descr, obj, (PyObject *)tp);
++            Py_DECREF(descr);
++            return res;
++        }
++    }
++    return descr;
++}
++#endif
++
++/* PyObject_GenericGetAttr */
++              #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
++static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name) {
++    if (unlikely(Py_TYPE(obj)->tp_dictoffset)) {
++        return PyObject_GenericGetAttr(obj, attr_name);
++    }
++    return __Pyx_PyObject_GenericGetAttrNoDict(obj, attr_name);
++}
++#endif
++
+ /* SetVTable */
+-                static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
++              static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
+ #if PY_VERSION_HEX >= 0x02070000
+     PyObject *ob = PyCapsule_New(vtable, 0, 0);
+ #else
+@@ -24153,22 +27317,84 @@ bad:
+     return -1;
+ }
+ 
+-/* ImportFrom */
+-                static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
+-    PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
+-    if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) {
+-        PyErr_Format(PyExc_ImportError,
+-        #if PY_MAJOR_VERSION < 3
+-            "cannot import name %.230s", PyString_AS_STRING(name));
+-        #else
+-            "cannot import name %S", name);
+-        #endif
++/* SetupReduce */
++              static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
++  int ret;
++  PyObject *name_attr;
++  name_attr = __Pyx_PyObject_GetAttrStr(meth, __pyx_n_s_name_2);
++  if (likely(name_attr)) {
++      ret = PyObject_RichCompareBool(name_attr, name, Py_EQ);
++  } else {
++      ret = -1;
++  }
++  if (unlikely(ret < 0)) {
++      PyErr_Clear();
++      ret = 0;
++  }
++  Py_XDECREF(name_attr);
++  return ret;
++}
++static int __Pyx_setup_reduce(PyObject* type_obj) {
++    int ret = 0;
++    PyObject *object_reduce = NULL;
++    PyObject *object_reduce_ex = NULL;
++    PyObject *reduce = NULL;
++    PyObject *reduce_ex = NULL;
++    PyObject *reduce_cython = NULL;
++    PyObject *setstate = NULL;
++    PyObject *setstate_cython = NULL;
++#if CYTHON_USE_PYTYPE_LOOKUP
++    if (_PyType_Lookup((PyTypeObject*)type_obj, __pyx_n_s_getstate)) goto GOOD;
++#else
++    if (PyObject_HasAttr(type_obj, __pyx_n_s_getstate)) goto GOOD;
++#endif
++#if CYTHON_USE_PYTYPE_LOOKUP
++    object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto BAD;
++#else
++    object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto BAD;
++#endif
++    reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_ex); if (unlikely(!reduce_ex)) goto BAD;
++    if (reduce_ex == object_reduce_ex) {
++#if CYTHON_USE_PYTYPE_LOOKUP
++        object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto BAD;
++#else
++        object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto BAD;
++#endif
++        reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce); if (unlikely(!reduce)) goto BAD;
++        if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_n_s_reduce_cython)) {
++            reduce_cython = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_cython); if (unlikely(!reduce_cython)) goto BAD;
++            ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce, reduce_cython); if (unlikely(ret < 0)) goto BAD;
++            ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce_cython); if (unlikely(ret < 0)) goto BAD;
++            setstate = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_setstate);
++            if (!setstate) PyErr_Clear();
++            if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_n_s_setstate_cython)) {
++                setstate_cython = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_setstate_cython); if (unlikely(!setstate_cython)) goto BAD;
++                ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate, setstate_cython); if (unlikely(ret < 0)) goto BAD;
++                ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate_cython); if (unlikely(ret < 0)) goto BAD;
++            }
++            PyType_Modified((PyTypeObject*)type_obj);
++        }
+     }
+-    return value;
++    goto GOOD;
++BAD:
++    if (!PyErr_Occurred())
++        PyErr_Format(PyExc_RuntimeError, "Unable to initialize pickling for %s", ((PyTypeObject*)type_obj)->tp_name);
++    ret = -1;
++GOOD:
++#if !CYTHON_USE_PYTYPE_LOOKUP
++    Py_XDECREF(object_reduce);
++    Py_XDECREF(object_reduce_ex);
++#endif
++    Py_XDECREF(reduce);
++    Py_XDECREF(reduce_ex);
++    Py_XDECREF(reduce_cython);
++    Py_XDECREF(setstate);
++    Py_XDECREF(setstate_cython);
++    return ret;
+ }
+ 
+ /* CalculateMetaclass */
+-                static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) {
++              static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) {
+     Py_ssize_t i, nbases = PyTuple_GET_SIZE(bases);
+     for (i=0; i < nbases; i++) {
+         PyTypeObject *tmptype;
+@@ -24207,7 +27433,7 @@ bad:
+ }
+ 
+ /* FetchCommonType */
+-                static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
++              static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
+     PyObject* fake_module;
+     PyTypeObject* cached_type = NULL;
+     fake_module = PyImport_AddModule((char*) "_cython_" CYTHON_ABI);
+@@ -24246,7 +27472,8 @@ bad:
+ }
+ 
+ /* CythonFunction */
+-                static PyObject *
++              #include 
++static PyObject *
+ __Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
+ {
+     if (unlikely(op->func_doc == NULL)) {
+@@ -24403,7 +27630,7 @@ __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
+     PyObject *res = op->defaults_getter((PyObject *) op);
+     if (unlikely(!res))
+         return -1;
+-    #if CYTHON_COMPILING_IN_CPYTHON
++    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+     op->defaults_tuple = PyTuple_GET_ITEM(res, 0);
+     Py_INCREF(op->defaults_tuple);
+     op->defaults_kwdict = PyTuple_GET_ITEM(res, 1);
+@@ -24528,7 +27755,7 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = {
+     {0, 0, 0, 0, 0}
+ };
+ static PyMemberDef __pyx_CyFunction_members[] = {
+-    {(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
++    {(char *) "__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), PY_WRITE_RESTRICTED, 0},
+     {0, 0, 0,  0, 0}
+ };
+ static PyObject *
+@@ -24606,14 +27833,18 @@ __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
+     }
+     return 0;
+ }
+-static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
++static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m)
+ {
+-    PyObject_GC_UnTrack(m);
+     if (__Pyx_CyFunction_weakreflist(m) != NULL)
+         PyObject_ClearWeakRefs((PyObject *) m);
+     __Pyx_CyFunction_clear(m);
+     PyObject_GC_Del(m);
+ }
++static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
++{
++    PyObject_GC_UnTrack(m);
++    __Pyx__CyFunction_dealloc(m);
++}
+ static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg)
+ {
+     Py_VISIT(m->func_closure);
+@@ -24662,11 +27893,9 @@ __Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
+                                PyString_AsString(op->func_qualname), (void *)op);
+ #endif
+ }
+-#if CYTHON_COMPILING_IN_PYPY
+-static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
++static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) {
+     PyCFunctionObject* f = (PyCFunctionObject*)func;
+     PyCFunction meth = f->m_ml->ml_meth;
+-    PyObject *self = f->m_self;
+     Py_ssize_t size;
+     switch (f->m_ml->ml_flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) {
+     case METH_VARARGS:
+@@ -24690,10 +27919,16 @@ static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject
+         if (likely(kw == NULL || PyDict_Size(kw) == 0)) {
+             size = PyTuple_GET_SIZE(arg);
+             if (likely(size == 1)) {
+-                PyObject *result, *arg0 = PySequence_ITEM(arg, 0);
+-                if (unlikely(!arg0)) return NULL;
++                PyObject *result, *arg0;
++                #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
++                arg0 = PyTuple_GET_ITEM(arg, 0);
++                #else
++                arg0 = PySequence_ITEM(arg, 0); if (unlikely(!arg0)) return NULL;
++                #endif
+                 result = (*meth)(self, arg0);
++                #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+                 Py_DECREF(arg0);
++                #endif
+                 return result;
+             }
+             PyErr_Format(PyExc_TypeError,
+@@ -24712,11 +27947,32 @@ static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject
+                  f->m_ml->ml_name);
+     return NULL;
+ }
+-#else
+-static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
+-	return PyCFunction_Call(func, arg, kw);
++static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
++    return __Pyx_CyFunction_CallMethod(func, ((PyCFunctionObject*)func)->m_self, arg, kw);
++}
++static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) {
++    PyObject *result;
++    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
++    if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) {
++        Py_ssize_t argc;
++        PyObject *new_args;
++        PyObject *self;
++        argc = PyTuple_GET_SIZE(args);
++        new_args = PyTuple_GetSlice(args, 1, argc);
++        if (unlikely(!new_args))
++            return NULL;
++        self = PyTuple_GetItem(args, 0);
++        if (unlikely(!self)) {
++            Py_DECREF(new_args);
++            return NULL;
++        }
++        result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
++        Py_DECREF(new_args);
++    } else {
++        result = __Pyx_CyFunction_Call(func, args, kw);
++    }
++    return result;
+ }
+-#endif
+ static PyTypeObject __pyx_CyFunctionType_type = {
+     PyVarObject_HEAD_INIT(0, 0)
+     "cython_function_or_method",
+@@ -24736,7 +27992,7 @@ static PyTypeObject __pyx_CyFunctionType_type = {
+     0,
+     0,
+     0,
+-    __Pyx_CyFunction_Call,
++    __Pyx_CyFunction_CallAsMethod,
+     0,
+     0,
+     0,
+@@ -24778,11 +28034,8 @@ static PyTypeObject __pyx_CyFunctionType_type = {
+ #endif
+ };
+ static int __pyx_CyFunction_init(void) {
+-#if !CYTHON_COMPILING_IN_PYPY
+-    __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
+-#endif
+     __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
+-    if (__pyx_CyFunctionType == NULL) {
++    if (unlikely(__pyx_CyFunctionType == NULL)) {
+         return -1;
+     }
+     return 0;
+@@ -24790,7 +28043,7 @@ static int __pyx_CyFunction_init(void) {
+ static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
+     __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
+     m->defaults = PyObject_Malloc(size);
+-    if (!m->defaults)
++    if (unlikely(!m->defaults))
+         return PyErr_NoMemory();
+     memset(m->defaults, 0, size);
+     m->defaults_pyobjects = pyobjects;
+@@ -24813,7 +28066,7 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, Py
+ }
+ 
+ /* Py3ClassCreate */
+-                    static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name,
++                  static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name,
+                                            PyObject *qualname, PyObject *mkw, PyObject *modname, PyObject *doc) {
+     PyObject *ns;
+     if (metaclass) {
+@@ -24880,7 +28133,7 @@ static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObj
+ }
+ 
+ /* FusedFunction */
+-                    static PyObject *
++                  static PyObject *
+ __pyx_FusedFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags,
+                         PyObject *qualname, PyObject *self,
+                         PyObject *module, PyObject *globals,
+@@ -24896,9 +28149,14 @@ __pyx_FusedFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags,
+     fusedfunc->self = NULL;
+     return (PyObject *) fusedfunc;
+ }
+-static void __pyx_FusedFunction_dealloc(__pyx_FusedFunctionObject *self) {
+-    __pyx_FusedFunction_clear(self);
+-    __pyx_FusedFunctionType->tp_free((PyObject *) self);
++static void
++__pyx_FusedFunction_dealloc(__pyx_FusedFunctionObject *self)
++{
++    PyObject_GC_UnTrack(self);
++    Py_CLEAR(self->self);
++    Py_CLEAR(self->type);
++    Py_CLEAR(self->__signatures__);
++    __Pyx__CyFunction_dealloc((__pyx_CyFunctionObject *) self);
+ }
+ static int
+ __pyx_FusedFunction_traverse(__pyx_FusedFunctionObject *self,
+@@ -24980,13 +28238,13 @@ __pyx_FusedFunction_getitem(__pyx_FusedFunctionObject *self, PyObject *idx)
+         if (!list)
+             return NULL;
+         for (i = 0; i < n; i++) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+             PyObject *item = PyTuple_GET_ITEM(idx, i);
+ #else
+             PyObject *item = PySequence_ITEM(idx, i);
+ #endif
+             string = _obj_to_str(item);
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+             Py_DECREF(item);
+ #endif
+             if (!string || PyList_Append(list, string) < 0)
+@@ -25027,30 +28285,13 @@ static PyObject *
+ __pyx_FusedFunction_callfunction(PyObject *func, PyObject *args, PyObject *kw)
+ {
+      __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
+-    PyObject *result;
+     int static_specialized = (cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD &&
+                               !((__pyx_FusedFunctionObject *) func)->__signatures__);
+     if (cyfunc->flags & __Pyx_CYFUNCTION_CCLASS && !static_specialized) {
+-        Py_ssize_t argc;
+-        PyObject *new_args;
+-        PyObject *self;
+-        PyObject *m_self;
+-        argc = PyTuple_GET_SIZE(args);
+-        new_args = PyTuple_GetSlice(args, 1, argc);
+-        if (!new_args)
+-            return NULL;
+-        self = PyTuple_GetItem(args, 0);
+-        if (!self)
+-            return NULL;
+-        m_self = cyfunc->func.m_self;
+-        cyfunc->func.m_self = self;
+-        result = __Pyx_CyFunction_Call(func, new_args, kw);
+-        cyfunc->func.m_self = m_self;
+-        Py_DECREF(new_args);
++        return __Pyx_CyFunction_CallAsMethod(func, args, kw);
+     } else {
+-        result = __Pyx_CyFunction_Call(func, args, kw);
++        return __Pyx_CyFunction_Call(func, args, kw);
+     }
+-    return result;
+ }
+ static PyObject *
+ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+@@ -25069,13 +28310,13 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+         if (!new_args)
+             return NULL;
+         self = binding_func->self;
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+         Py_INCREF(self);
+ #endif
+         Py_INCREF(self);
+         PyTuple_SET_ITEM(new_args, 0, self);
+         for (i = 0; i < argc; i++) {
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+             PyObject *item = PyTuple_GET_ITEM(args, i);
+             Py_INCREF(item);
+ #else
+@@ -25089,7 +28330,7 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+             PyErr_SetString(PyExc_TypeError, "Need at least one argument, 0 given.");
+             return NULL;
+         }
+-#if CYTHON_COMPILING_IN_CPYTHON
++#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
+         self = PyTuple_GET_ITEM(args, 0);
+ #else
+         self = PySequence_ITEM(args, 0);  if (unlikely(!self)) return NULL;
+@@ -25107,19 +28348,28 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+             goto bad;
+         }
+     }
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+     Py_XDECREF(self);
+     self = NULL;
+ #endif
+     if (binding_func->__signatures__) {
+-        PyObject *tup = PyTuple_Pack(4, binding_func->__signatures__, args,
+-                                        kw == NULL ? Py_None : kw,
+-                                        binding_func->func.defaults_tuple);
+-        if (!tup)
+-            goto bad;
+-        new_func = (__pyx_FusedFunctionObject *) __pyx_FusedFunction_callfunction(func, tup, NULL);
++        PyObject *tup;
++        if (is_staticmethod && binding_func->func.flags & __Pyx_CYFUNCTION_CCLASS) {
++            tup = PyTuple_Pack(3, args,
++                               kw == NULL ? Py_None : kw,
++                               binding_func->func.defaults_tuple);
++            if (unlikely(!tup)) goto bad;
++            new_func = (__pyx_FusedFunctionObject *) __Pyx_CyFunction_CallMethod(
++                func, binding_func->__signatures__, tup, NULL);
++        } else {
++            tup = PyTuple_Pack(4, binding_func->__signatures__, args,
++                               kw == NULL ? Py_None : kw,
++                               binding_func->func.defaults_tuple);
++            if (unlikely(!tup)) goto bad;
++            new_func = (__pyx_FusedFunctionObject *) __pyx_FusedFunction_callfunction(func, tup, NULL);
++        }
+         Py_DECREF(tup);
+-        if (!new_func)
++        if (unlikely(!new_func))
+             goto bad;
+         Py_XINCREF(binding_func->func.func_classobj);
+         Py_CLEAR(new_func->func.func_classobj);
+@@ -25128,7 +28378,7 @@ __pyx_FusedFunction_call(PyObject *func, PyObject *args, PyObject *kw)
+     }
+     result = __pyx_FusedFunction_callfunction(func, args, kw);
+ bad:
+-#if !CYTHON_COMPILING_IN_CPYTHON
++#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
+     Py_XDECREF(self);
+ #endif
+     Py_XDECREF(new_args);
+@@ -25212,8 +28462,45 @@ static int __pyx_FusedFunction_init(void) {
+     return 0;
+ }
+ 
++/* CLineInTraceback */
++                  #ifndef CYTHON_CLINE_IN_TRACEBACK
++static int __Pyx_CLineForTraceback(CYTHON_UNUSED PyThreadState *tstate, int c_line) {
++    PyObject *use_cline;
++    PyObject *ptype, *pvalue, *ptraceback;
++#if CYTHON_COMPILING_IN_CPYTHON
++    PyObject **cython_runtime_dict;
++#endif
++    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
++#if CYTHON_COMPILING_IN_CPYTHON
++    cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime);
++    if (likely(cython_runtime_dict)) {
++      use_cline = __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_n_s_cline_in_traceback);
++    } else
++#endif
++    {
++      PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback);
++      if (use_cline_obj) {
++        use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True;
++        Py_DECREF(use_cline_obj);
++      } else {
++        PyErr_Clear();
++        use_cline = NULL;
++      }
++    }
++    if (!use_cline) {
++        c_line = 0;
++        PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
++    }
++    else if (PyObject_Not(use_cline) != 0) {
++        c_line = 0;
++    }
++    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
++    return c_line;
++}
++#endif
++
+ /* CodeObjectCache */
+-                    static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
++                  static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
+     int start = 0, mid = 0, end = count - 1;
+     if (end >= 0 && code_line > entries[end].code_line) {
+         return count;
+@@ -25293,7 +28580,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
+ }
+ 
+ /* AddTraceback */
+-                    #include "compile.h"
++                  #include "compile.h"
+ #include "frameobject.h"
+ #include "traceback.h"
+ static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
+@@ -25352,21 +28639,25 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line,
+                                int py_line, const char *filename) {
+     PyCodeObject *py_code = 0;
+     PyFrameObject *py_frame = 0;
+-    py_code = __pyx_find_code_object(c_line ? c_line : py_line);
++    PyThreadState *tstate = __Pyx_PyThreadState_Current;
++    if (c_line) {
++        c_line = __Pyx_CLineForTraceback(tstate, c_line);
++    }
++    py_code = __pyx_find_code_object(c_line ? -c_line : py_line);
+     if (!py_code) {
+         py_code = __Pyx_CreateCodeObjectForTraceback(
+             funcname, c_line, py_line, filename);
+         if (!py_code) goto bad;
+-        __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
++        __pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
+     }
+     py_frame = PyFrame_New(
+-        PyThreadState_GET(), /*PyThreadState *tstate,*/
+-        py_code,             /*PyCodeObject *code,*/
+-        __pyx_d,      /*PyObject *globals,*/
+-        0                    /*PyObject *locals*/
++        tstate,            /*PyThreadState *tstate,*/
++        py_code,           /*PyCodeObject *code,*/
++        __pyx_d,    /*PyObject *globals,*/
++        0                  /*PyObject *locals*/
+     );
+     if (!py_frame) goto bad;
+-    py_frame->f_lineno = py_line;
++    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
+     PyTraceBack_Here(py_frame);
+ bad:
+     Py_XDECREF(py_code);
+@@ -25376,9 +28667,9 @@ bad:
+ #if PY_MAJOR_VERSION < 3
+ static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) {
+     if (PyObject_CheckBuffer(obj)) return PyObject_GetBuffer(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) return __pyx_pw_5numpy_7ndarray_1__getbuffer__(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_array_type)) return __pyx_array_getbuffer(obj, view, flags);
+-        if (PyObject_TypeCheck(obj, __pyx_memoryview_type)) return __pyx_memoryview_getbuffer(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) return __pyx_pw_5numpy_7ndarray_1__getbuffer__(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_array_type)) return __pyx_array_getbuffer(obj, view, flags);
++        if (__Pyx_TypeCheck(obj, __pyx_memoryview_type)) return __pyx_memoryview_getbuffer(obj, view, flags);
+     PyErr_Format(PyExc_TypeError, "'%.200s' does not have the buffer interface", Py_TYPE(obj)->tp_name);
+     return -1;
+ }
+@@ -25389,17 +28680,17 @@ static void __Pyx_ReleaseBuffer(Py_buffer *view) {
+         PyBuffer_Release(view);
+         return;
+     }
+-        if (PyObject_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) { __pyx_pw_5numpy_7ndarray_3__releasebuffer__(obj, view); return; }
+-    Py_DECREF(obj);
++    if ((0)) {}
++        else if (__Pyx_TypeCheck(obj, __pyx_ptype_5numpy_ndarray)) __pyx_pw_5numpy_7ndarray_3__releasebuffer__(obj, view);
+     view->obj = NULL;
++    Py_DECREF(obj);
+ }
+ #endif
+ 
+ 
+-                    /* MemviewSliceIsContig */
+-                    static int
+-__pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+-                             char order, int ndim)
++                  /* MemviewSliceIsContig */
++                  static int
++__pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim)
+ {
+     int i, index, step, start;
+     Py_ssize_t itemsize = mvs.memview->view.itemsize;
+@@ -25420,7 +28711,7 @@ __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs,
+ }
+ 
+ /* OverlappingSlices */
+-                    static void
++                  static void
+ __pyx_get_array_memory_extents(__Pyx_memviewslice *slice,
+                                void **out_start, void **out_end,
+                                int ndim, size_t itemsize)
+@@ -25456,7 +28747,7 @@ __pyx_slices_overlap(__Pyx_memviewslice *slice1,
+ }
+ 
+ /* Capsule */
+-                    static CYTHON_INLINE PyObject *
++                  static CYTHON_INLINE PyObject *
+ __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig)
+ {
+     PyObject *cobj;
+@@ -25469,7 +28760,7 @@ __pyx_capsule_create(void *p, CYTHON_UNUSED const char *sig)
+ }
+ 
+ /* TypeInfoCompare */
+-                    static int
++                  static int
+ __pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b)
+ {
+     int i;
+@@ -25510,7 +28801,7 @@ __pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b)
+ }
+ 
+ /* MemviewSliceValidateAndInit */
+-                    static int
++                  static int
+ __pyx_check_strides(Py_buffer *buf, int dim, int ndim, int spec)
+ {
+     if (buf->shape[dim] <= 1)
+@@ -25692,7 +28983,7 @@ no_fail:
+ }
+ 
+ /* ObjectToMemviewSlice */
+-                    static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *obj) {
++                  static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_dsds_nn___pyx_t_5numpy_float64_t(PyObject *obj, int writable_flag) {
+     __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } };
+     __Pyx_BufFmt_StackElem stack[1];
+     int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED), (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) };
+@@ -25702,7 +28993,7 @@ no_fail:
+         return result;
+     }
+     retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0,
+-                                                 PyBUF_RECORDS, 2,
++                                                 PyBUF_RECORDS_RO | writable_flag, 2,
+                                                  &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, stack,
+                                                  &result, obj);
+     if (unlikely(retcode == -1))
+@@ -25715,7 +29006,7 @@ __pyx_fail:
+ }
+ 
+ /* CIntFromPyVerify */
+-                    #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
++                  #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
+     __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
+ #define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
+     __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1)
+@@ -25737,7 +29028,7 @@ __pyx_fail:
+     }
+ 
+ /* CIntToPy */
+-                    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
++                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
+     const long neg_one = (long) -1, const_zero = (long) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -25745,14 +29036,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(long) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(long) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -25763,19 +29058,8 @@ __pyx_fail:
+     }
+ }
+ 
+-/* BytesContains */
+-                    static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character) {
+-    const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
+-    char* char_start = PyBytes_AS_STRING(bytes);
+-    char* pos;
+-    for (pos=char_start; pos < char_start+length; pos++) {
+-        if (character == pos[0]) return 1;
+-    }
+-    return 0;
+-}
+-
+ /* CIntToPy */
+-                    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value) {
++                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_unsigned_int(unsigned int value) {
+     const unsigned int neg_one = (unsigned int) -1, const_zero = (unsigned int) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -25783,14 +29067,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(unsigned int) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(unsigned int) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(unsigned int) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(unsigned int) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -25801,8 +29089,8 @@ __pyx_fail:
+     }
+ }
+ 
+-/* None */
+-                    #if CYTHON_CCOMPLEX
++/* Declarations */
++                  #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
+       return ::std::complex< float >(x, y);
+@@ -25821,61 +29109,86 @@ __pyx_fail:
+     }
+ #endif
+ 
+-/* None */
+-                    #if CYTHON_CCOMPLEX
++/* Arithmetic */
++                  #if CYTHON_CCOMPLEX
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+        return (a.real == b.real) && (a.imag == b.imag);
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real + b.real;
+         z.imag = a.imag + b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real - b.real;
+         z.imag = a.imag - b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prodf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+         __pyx_t_float_complex z;
+         z.real = a.real * b.real - a.imag * b.imag;
+         z.imag = a.real * b.imag + a.imag * b.real;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+-        __pyx_t_float_complex z;
+-        float denom = b.real * b.real + b.imag * b.imag;
+-        z.real = (a.real * b.real + a.imag * b.imag) / denom;
+-        z.imag = (a.imag * b.real - a.real * b.imag) / denom;
+-        return z;
++    #if 1
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else if (fabsf(b.real) >= fabsf(b.imag)) {
++            if (b.real == 0 && b.imag == 0) {
++                return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.imag);
++            } else {
++                float r = b.imag / b.real;
++                float s = 1.0 / (b.real + b.imag * r);
++                return __pyx_t_float_complex_from_parts(
++                    (a.real + a.imag * r) * s, (a.imag - a.real * r) * s);
++            }
++        } else {
++            float r = b.real / b.imag;
++            float s = 1.0 / (b.imag + b.real * r);
++            return __pyx_t_float_complex_from_parts(
++                (a.real * r + a.imag) * s, (a.imag * r - a.real) * s);
++        }
++    }
++    #else
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else {
++            float denom = b.real * b.real + b.imag * b.imag;
++            return __pyx_t_float_complex_from_parts(
++                (a.real * b.real + a.imag * b.imag) / denom,
++                (a.imag * b.real - a.real * b.imag) / denom);
++        }
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
++    #endif
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex a) {
+         __pyx_t_float_complex z;
+         z.real = -a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+-    static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
++    static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex a) {
+        return (a.real == 0) && (a.imag == 0);
+     }
+-    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
++    static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex a) {
+         __pyx_t_float_complex z;
+         z.real =  a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+     #if 1
+-        static CYTHON_INLINE float __Pyx_c_absf(__pyx_t_float_complex z) {
++        static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex z) {
+           #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
+             return sqrtf(z.real*z.real + z.imag*z.imag);
+           #else
+             return hypotf(z.real, z.imag);
+           #endif
+         }
+-        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
++        static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex a, __pyx_t_float_complex b) {
+             __pyx_t_float_complex z;
+             float r, lnr, theta, z_r, z_theta;
+             if (b.imag == 0 && b.real == (int)b.real) {
+@@ -25893,24 +29206,32 @@ __pyx_fail:
+                     case 1:
+                         return a;
+                     case 2:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(a, a);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(a, a);
+                     case 3:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(z, a);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(z, a);
+                     case 4:
+-                        z = __Pyx_c_prodf(a, a);
+-                        return __Pyx_c_prodf(z, z);
++                        z = __Pyx_c_prod_float(a, a);
++                        return __Pyx_c_prod_float(z, z);
+                 }
+             }
+             if (a.imag == 0) {
+                 if (a.real == 0) {
+                     return a;
++                } else if (b.imag == 0) {
++                    z.real = powf(a.real, b.real);
++                    z.imag = 0;
++                    return z;
++                } else if (a.real > 0) {
++                    r = a.real;
++                    theta = 0;
++                } else {
++                    r = -a.real;
++                    theta = atan2f(0, -1);
+                 }
+-                r = a.real;
+-                theta = 0;
+             } else {
+-                r = __Pyx_c_absf(a);
++                r = __Pyx_c_abs_float(a);
+                 theta = atan2f(a.imag, a.real);
+             }
+             lnr = logf(r);
+@@ -25923,8 +29244,8 @@ __pyx_fail:
+     #endif
+ #endif
+ 
+-/* None */
+-                    #if CYTHON_CCOMPLEX
++/* Declarations */
++                  #if CYTHON_CCOMPLEX
+   #ifdef __cplusplus
+     static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
+       return ::std::complex< double >(x, y);
+@@ -25943,61 +29264,86 @@ __pyx_fail:
+     }
+ #endif
+ 
+-/* None */
+-                    #if CYTHON_CCOMPLEX
++/* Arithmetic */
++                  #if CYTHON_CCOMPLEX
+ #else
+-    static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+        return (a.real == b.real) && (a.imag == b.imag);
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real + b.real;
+         z.imag = a.imag + b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real - b.real;
+         z.imag = a.imag - b.imag;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+         __pyx_t_double_complex z;
+         z.real = a.real * b.real - a.imag * b.imag;
+         z.imag = a.real * b.imag + a.imag * b.real;
+         return z;
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+-        __pyx_t_double_complex z;
+-        double denom = b.real * b.real + b.imag * b.imag;
+-        z.real = (a.real * b.real + a.imag * b.imag) / denom;
+-        z.imag = (a.imag * b.real - a.real * b.imag) / denom;
+-        return z;
++    #if 1
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else if (fabs(b.real) >= fabs(b.imag)) {
++            if (b.real == 0 && b.imag == 0) {
++                return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.imag);
++            } else {
++                double r = b.imag / b.real;
++                double s = 1.0 / (b.real + b.imag * r);
++                return __pyx_t_double_complex_from_parts(
++                    (a.real + a.imag * r) * s, (a.imag - a.real * r) * s);
++            }
++        } else {
++            double r = b.real / b.imag;
++            double s = 1.0 / (b.imag + b.real * r);
++            return __pyx_t_double_complex_from_parts(
++                (a.real * r + a.imag) * s, (a.imag * r - a.real) * s);
++        }
++    }
++    #else
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        if (b.imag == 0) {
++            return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real);
++        } else {
++            double denom = b.real * b.real + b.imag * b.imag;
++            return __pyx_t_double_complex_from_parts(
++                (a.real * b.real + a.imag * b.imag) / denom,
++                (a.imag * b.real - a.real * b.imag) / denom);
++        }
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
++    #endif
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex a) {
+         __pyx_t_double_complex z;
+         z.real = -a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+-    static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
++    static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex a) {
+        return (a.real == 0) && (a.imag == 0);
+     }
+-    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
++    static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex a) {
+         __pyx_t_double_complex z;
+         z.real =  a.real;
+         z.imag = -a.imag;
+         return z;
+     }
+     #if 1
+-        static CYTHON_INLINE double __Pyx_c_abs(__pyx_t_double_complex z) {
++        static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex z) {
+           #if !defined(HAVE_HYPOT) || defined(_MSC_VER)
+             return sqrt(z.real*z.real + z.imag*z.imag);
+           #else
+             return hypot(z.real, z.imag);
+           #endif
+         }
+-        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
++        static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex a, __pyx_t_double_complex b) {
+             __pyx_t_double_complex z;
+             double r, lnr, theta, z_r, z_theta;
+             if (b.imag == 0 && b.real == (int)b.real) {
+@@ -26015,24 +29361,32 @@ __pyx_fail:
+                     case 1:
+                         return a;
+                     case 2:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(a, a);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(a, a);
+                     case 3:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(z, a);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(z, a);
+                     case 4:
+-                        z = __Pyx_c_prod(a, a);
+-                        return __Pyx_c_prod(z, z);
++                        z = __Pyx_c_prod_double(a, a);
++                        return __Pyx_c_prod_double(z, z);
+                 }
+             }
+             if (a.imag == 0) {
+                 if (a.real == 0) {
+                     return a;
++                } else if (b.imag == 0) {
++                    z.real = pow(a.real, b.real);
++                    z.imag = 0;
++                    return z;
++                } else if (a.real > 0) {
++                    r = a.real;
++                    theta = 0;
++                } else {
++                    r = -a.real;
++                    theta = atan2(0, -1);
+                 }
+-                r = a.real;
+-                theta = 0;
+             } else {
+-                r = __Pyx_c_abs(a);
++                r = __Pyx_c_abs_double(a);
+                 theta = atan2(a.imag, a.real);
+             }
+             lnr = log(r);
+@@ -26046,7 +29400,7 @@ __pyx_fail:
+ #endif
+ 
+ /* CIntToPy */
+-                    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
++                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
+     const int neg_one = (int) -1, const_zero = (int) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -26054,14 +29408,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(int) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(int) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -26073,7 +29431,7 @@ __pyx_fail:
+ }
+ 
+ /* CIntToPy */
+-                    static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__NPY_TYPES(enum NPY_TYPES value) {
++                  static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__NPY_TYPES(enum NPY_TYPES value) {
+     const enum NPY_TYPES neg_one = (enum NPY_TYPES) -1, const_zero = (enum NPY_TYPES) 0;
+     const int is_unsigned = neg_one > const_zero;
+     if (is_unsigned) {
+@@ -26081,14 +29439,18 @@ __pyx_fail:
+             return PyInt_FromLong((long) value);
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(unsigned long)) {
+             return PyLong_FromUnsignedLong((unsigned long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(unsigned PY_LONG_LONG)) {
+             return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
++#endif
+         }
+     } else {
+         if (sizeof(enum NPY_TYPES) <= sizeof(long)) {
+             return PyInt_FromLong((long) value);
++#ifdef HAVE_LONG_LONG
+         } else if (sizeof(enum NPY_TYPES) <= sizeof(PY_LONG_LONG)) {
+             return PyLong_FromLongLong((PY_LONG_LONG) value);
++#endif
+         }
+     }
+     {
+@@ -26100,7 +29462,7 @@ __pyx_fail:
+ }
+ 
+ /* MemviewSliceCopyTemplate */
+-                    static __Pyx_memviewslice
++                  static __Pyx_memviewslice
+ __pyx_memoryview_copy_new_contig(const __Pyx_memviewslice *from_mvs,
+                                  const char *mode, int ndim,
+                                  size_t sizeof_dtype, int contig_flag,
+@@ -26167,7 +29529,7 @@ no_fail:
+ }
+ 
+ /* CIntFromPy */
+-                    static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) {
++                  static CYTHON_INLINE unsigned int __Pyx_PyInt_As_unsigned_int(PyObject *x) {
+     const unsigned int neg_one = (unsigned int) -1, const_zero = (unsigned int) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -26234,8 +29596,10 @@ no_fail:
+ #endif
+             if (sizeof(unsigned int) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(unsigned int) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -26302,8 +29666,10 @@ no_fail:
+ #endif
+             if (sizeof(unsigned int) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(unsigned int) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(unsigned int, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -26351,8 +29717,15 @@ raise_neg_overflow:
+     return (unsigned int) -1;
+ }
+ 
++/* BytesContains */
++                  static CYTHON_INLINE int __Pyx_BytesContains(PyObject* bytes, char character) {
++    const Py_ssize_t length = PyBytes_GET_SIZE(bytes);
++    char* char_start = PyBytes_AS_STRING(bytes);
++    return memchr(char_start, (unsigned char)character, (size_t)length) != NULL;
++}
++
+ /* CIntFromPy */
+-                    static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
++                  static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
+     const int neg_one = (int) -1, const_zero = (int) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -26419,8 +29792,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(int) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -26485,10 +29860,227 @@ raise_neg_overflow:
+                     break;
+             }
+ #endif
+-            if (sizeof(int) <= sizeof(long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
+-            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
++            if (sizeof(int) <= sizeof(long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
++            }
++        }
++        {
++#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
++            PyErr_SetString(PyExc_RuntimeError,
++                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
++#else
++            int val;
++            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
++ #if PY_MAJOR_VERSION < 3
++            if (likely(v) && !PyLong_Check(v)) {
++                PyObject *tmp = v;
++                v = PyNumber_Long(tmp);
++                Py_DECREF(tmp);
++            }
++ #endif
++            if (likely(v)) {
++                int one = 1; int is_little = (int)*(unsigned char *)&one;
++                unsigned char *bytes = (unsigned char *)&val;
++                int ret = _PyLong_AsByteArray((PyLongObject *)v,
++                                              bytes, sizeof(val),
++                                              is_little, !is_unsigned);
++                Py_DECREF(v);
++                if (likely(!ret))
++                    return val;
++            }
++#endif
++            return (int) -1;
++        }
++    } else {
++        int val;
++        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
++        if (!tmp) return (int) -1;
++        val = __Pyx_PyInt_As_int(tmp);
++        Py_DECREF(tmp);
++        return val;
++    }
++raise_overflow:
++    PyErr_SetString(PyExc_OverflowError,
++        "value too large to convert to int");
++    return (int) -1;
++raise_neg_overflow:
++    PyErr_SetString(PyExc_OverflowError,
++        "can't convert negative value to int");
++    return (int) -1;
++}
++
++/* ImportNumPyArray */
++                  static PyObject* __Pyx__ImportNumPyArray(void) {
++    PyObject *numpy_module, *ndarray_object = NULL;
++    numpy_module = __Pyx_Import(__pyx_n_s_numpy, NULL, 0);
++    if (likely(numpy_module)) {
++        ndarray_object = PyObject_GetAttrString(numpy_module, "ndarray");
++        Py_DECREF(numpy_module);
++    }
++    if (unlikely(!ndarray_object)) {
++        PyErr_Clear();
++    }
++    if (unlikely(!ndarray_object || !PyObject_TypeCheck(ndarray_object, &PyType_Type))) {
++        Py_XDECREF(ndarray_object);
++        Py_INCREF(Py_None);
++        ndarray_object = Py_None;
++    }
++    return ndarray_object;
++}
++static CYTHON_INLINE PyObject* __Pyx_ImportNumPyArrayTypeIfAvailable(void) {
++    if (unlikely(!__pyx_numpy_ndarray)) {
++        __pyx_numpy_ndarray = __Pyx__ImportNumPyArray();
++    }
++    Py_INCREF(__pyx_numpy_ndarray);
++    return __pyx_numpy_ndarray;
++}
++
++/* CIntFromPy */
++                  static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
++    const long neg_one = (long) -1, const_zero = (long) 0;
++    const int is_unsigned = neg_one > const_zero;
++#if PY_MAJOR_VERSION < 3
++    if (likely(PyInt_Check(x))) {
++        if (sizeof(long) < sizeof(long)) {
++            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
++        } else {
++            long val = PyInt_AS_LONG(x);
++            if (is_unsigned && unlikely(val < 0)) {
++                goto raise_neg_overflow;
++            }
++            return (long) val;
++        }
++    } else
++#endif
++    if (likely(PyLong_Check(x))) {
++        if (is_unsigned) {
++#if CYTHON_USE_PYLONG_INTERNALS
++            const digit* digits = ((PyLongObject*)x)->ob_digit;
++            switch (Py_SIZE(x)) {
++                case  0: return (long) 0;
++                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
++                case 2:
++                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
++                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                        }
++                    }
++                    break;
++                case 3:
++                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
++                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                        }
++                    }
++                    break;
++                case 4:
++                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
++                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
++                        }
++                    }
++                    break;
++            }
++#endif
++#if CYTHON_COMPILING_IN_CPYTHON
++            if (unlikely(Py_SIZE(x) < 0)) {
++                goto raise_neg_overflow;
++            }
++#else
++            {
++                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
++                if (unlikely(result < 0))
++                    return (long) -1;
++                if (unlikely(result == 1))
++                    goto raise_neg_overflow;
++            }
++#endif
++            if (sizeof(long) <= sizeof(unsigned long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
++            }
++        } else {
++#if CYTHON_USE_PYLONG_INTERNALS
++            const digit* digits = ((PyLongObject*)x)->ob_digit;
++            switch (Py_SIZE(x)) {
++                case  0: return (long) 0;
++                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
++                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
++                case -2:
++                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++                case 2:
++                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++                case -3:
++                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++                case 3:
++                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++                case -4:
++                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
++                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++                case 4:
++                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
++                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
++                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
++                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
++                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
++                        }
++                    }
++                    break;
++            }
++#endif
++            if (sizeof(long) <= sizeof(long)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
++            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
++                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -26496,7 +30088,7 @@ raise_neg_overflow:
+             PyErr_SetString(PyExc_RuntimeError,
+                             "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
+ #else
+-            int val;
++            long val;
+             PyObject *v = __Pyx_PyNumber_IntOrLong(x);
+  #if PY_MAJOR_VERSION < 3
+             if (likely(v) && !PyLong_Check(v)) {
+@@ -26516,28 +30108,28 @@ raise_neg_overflow:
+                     return val;
+             }
+ #endif
+-            return (int) -1;
++            return (long) -1;
+         }
+     } else {
+-        int val;
++        long val;
+         PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+-        if (!tmp) return (int) -1;
+-        val = __Pyx_PyInt_As_int(tmp);
++        if (!tmp) return (long) -1;
++        val = __Pyx_PyInt_As_long(tmp);
+         Py_DECREF(tmp);
+         return val;
+     }
+ raise_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "value too large to convert to int");
+-    return (int) -1;
++        "value too large to convert to long");
++    return (long) -1;
+ raise_neg_overflow:
+     PyErr_SetString(PyExc_OverflowError,
+-        "can't convert negative value to int");
+-    return (int) -1;
++        "can't convert negative value to long");
++    return (long) -1;
+ }
+ 
+ /* CIntFromPy */
+-                    static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) {
++                  static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) {
+     const char neg_one = (char) -1, const_zero = (char) 0;
+     const int is_unsigned = neg_one > const_zero;
+ #if PY_MAJOR_VERSION < 3
+@@ -26604,8 +30196,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(char) <= sizeof(unsigned long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(char, unsigned long, PyLong_AsUnsignedLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(char) <= sizeof(unsigned PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(char, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
++#endif
+             }
+         } else {
+ #if CYTHON_USE_PYLONG_INTERNALS
+@@ -26672,8 +30266,10 @@ raise_neg_overflow:
+ #endif
+             if (sizeof(char) <= sizeof(long)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(char, long, PyLong_AsLong(x))
++#ifdef HAVE_LONG_LONG
+             } else if (sizeof(char) <= sizeof(PY_LONG_LONG)) {
+                 __PYX_VERIFY_RETURN_INT_EXC(char, PY_LONG_LONG, PyLong_AsLongLong(x))
++#endif
+             }
+         }
+         {
+@@ -26721,193 +30317,8 @@ raise_neg_overflow:
+     return (char) -1;
+ }
+ 
+-/* CIntFromPy */
+-                    static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
+-    const long neg_one = (long) -1, const_zero = (long) 0;
+-    const int is_unsigned = neg_one > const_zero;
+-#if PY_MAJOR_VERSION < 3
+-    if (likely(PyInt_Check(x))) {
+-        if (sizeof(long) < sizeof(long)) {
+-            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x))
+-        } else {
+-            long val = PyInt_AS_LONG(x);
+-            if (is_unsigned && unlikely(val < 0)) {
+-                goto raise_neg_overflow;
+-            }
+-            return (long) val;
+-        }
+-    } else
+-#endif
+-    if (likely(PyLong_Check(x))) {
+-        if (is_unsigned) {
+-#if CYTHON_USE_PYLONG_INTERNALS
+-            const digit* digits = ((PyLongObject*)x)->ob_digit;
+-            switch (Py_SIZE(x)) {
+-                case  0: return (long) 0;
+-                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
+-                case 2:
+-                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
+-                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+-                        }
+-                    }
+-                    break;
+-                case 3:
+-                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
+-                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+-                        }
+-                    }
+-                    break;
+-                case 4:
+-                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
+-                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
+-                        }
+-                    }
+-                    break;
+-            }
+-#endif
+-#if CYTHON_COMPILING_IN_CPYTHON
+-            if (unlikely(Py_SIZE(x) < 0)) {
+-                goto raise_neg_overflow;
+-            }
+-#else
+-            {
+-                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
+-                if (unlikely(result < 0))
+-                    return (long) -1;
+-                if (unlikely(result == 1))
+-                    goto raise_neg_overflow;
+-            }
+-#endif
+-            if (sizeof(long) <= sizeof(unsigned long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
+-            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
+-            }
+-        } else {
+-#if CYTHON_USE_PYLONG_INTERNALS
+-            const digit* digits = ((PyLongObject*)x)->ob_digit;
+-            switch (Py_SIZE(x)) {
+-                case  0: return (long) 0;
+-                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
+-                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
+-                case -2:
+-                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-                case 2:
+-                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+-                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-                case -3:
+-                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-                case 3:
+-                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+-                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-                case -4:
+-                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+-                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-                case 4:
+-                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
+-                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
+-                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+-                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
+-                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
+-                        }
+-                    }
+-                    break;
+-            }
+-#endif
+-            if (sizeof(long) <= sizeof(long)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
+-            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
+-                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
+-            }
+-        }
+-        {
+-#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
+-            PyErr_SetString(PyExc_RuntimeError,
+-                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
+-#else
+-            long val;
+-            PyObject *v = __Pyx_PyNumber_IntOrLong(x);
+- #if PY_MAJOR_VERSION < 3
+-            if (likely(v) && !PyLong_Check(v)) {
+-                PyObject *tmp = v;
+-                v = PyNumber_Long(tmp);
+-                Py_DECREF(tmp);
+-            }
+- #endif
+-            if (likely(v)) {
+-                int one = 1; int is_little = (int)*(unsigned char *)&one;
+-                unsigned char *bytes = (unsigned char *)&val;
+-                int ret = _PyLong_AsByteArray((PyLongObject *)v,
+-                                              bytes, sizeof(val),
+-                                              is_little, !is_unsigned);
+-                Py_DECREF(v);
+-                if (likely(!ret))
+-                    return val;
+-            }
+-#endif
+-            return (long) -1;
+-        }
+-    } else {
+-        long val;
+-        PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+-        if (!tmp) return (long) -1;
+-        val = __Pyx_PyInt_As_long(tmp);
+-        Py_DECREF(tmp);
+-        return val;
+-    }
+-raise_overflow:
+-    PyErr_SetString(PyExc_OverflowError,
+-        "value too large to convert to long");
+-    return (long) -1;
+-raise_neg_overflow:
+-    PyErr_SetString(PyExc_OverflowError,
+-        "can't convert negative value to long");
+-    return (long) -1;
+-}
+-
+ /* ObjectToMemviewSlice */
+-                    static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyObject *obj) {
++                  static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_d_dc_nn___pyx_t_5numpy_float64_t(PyObject *obj, int writable_flag) {
+     __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } };
+     __Pyx_BufFmt_StackElem stack[1];
+     int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_FOLLOW), (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_CONTIG) };
+@@ -26917,7 +30328,7 @@ raise_neg_overflow:
+         return result;
+     }
+     retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, __Pyx_IS_C_CONTIG,
+-                                                 (PyBUF_C_CONTIGUOUS | PyBUF_FORMAT | PyBUF_WRITABLE), 2,
++                                                 (PyBUF_C_CONTIGUOUS | PyBUF_FORMAT) | writable_flag, 2,
+                                                  &__Pyx_TypeInfo_nn___pyx_t_5numpy_float64_t, stack,
+                                                  &result, obj);
+     if (unlikely(retcode == -1))
+@@ -26930,7 +30341,7 @@ __pyx_fail:
+ }
+ 
+ /* CheckBinaryVersion */
+-                    static int __Pyx_check_binary_version(void) {
++                  static int __Pyx_check_binary_version(void) {
+     char ctversion[4], rtversion[4];
+     PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
+     PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
+@@ -26946,7 +30357,7 @@ __pyx_fail:
+ }
+ 
+ /* ModuleImport */
+-                    #ifndef __PYX_HAVE_RT_ImportModule
++                  #ifndef __PYX_HAVE_RT_ImportModule
+ #define __PYX_HAVE_RT_ImportModule
+ static PyObject *__Pyx_ImportModule(const char *name) {
+     PyObject *py_name = 0;
+@@ -26964,7 +30375,7 @@ bad:
+ #endif
+ 
+ /* TypeImport */
+-                    #ifndef __PYX_HAVE_RT_ImportType
++                  #ifndef __PYX_HAVE_RT_ImportType
+ #define __PYX_HAVE_RT_ImportType
+ static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
+     size_t size, int strict)
+@@ -27029,7 +30440,7 @@ bad:
+ #endif
+ 
+ /* InitStrings */
+-                    static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
++                  static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
+     while (t->p) {
+         #if PY_MAJOR_VERSION < 3
+         if (t->is_unicode) {
+@@ -27054,6 +30465,8 @@ bad:
+         #endif
+         if (!*t->p)
+             return -1;
++        if (PyObject_Hash(*t->p) == -1)
++            return -1;
+         ++t;
+     }
+     return 0;
+@@ -27062,50 +30475,57 @@ bad:
+ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
+     return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
+ }
+-static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
++static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
+     Py_ssize_t ignore;
+     return __Pyx_PyObject_AsStringAndSize(o, &ignore);
+ }
+-static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
+-#if CYTHON_COMPILING_IN_CPYTHON && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
+-    if (
+-#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-            __Pyx_sys_getdefaultencoding_not_ascii &&
+-#endif
+-            PyUnicode_Check(o)) {
+-#if PY_VERSION_HEX < 0x03030000
+-        char* defenc_c;
+-        PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
+-        if (!defenc) return NULL;
+-        defenc_c = PyBytes_AS_STRING(defenc);
++#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
++#if !CYTHON_PEP393_ENABLED
++static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++    char* defenc_c;
++    PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
++    if (!defenc) return NULL;
++    defenc_c = PyBytes_AS_STRING(defenc);
+ #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-        {
+-            char* end = defenc_c + PyBytes_GET_SIZE(defenc);
+-            char* c;
+-            for (c = defenc_c; c < end; c++) {
+-                if ((unsigned char) (*c) >= 128) {
+-                    PyUnicode_AsASCIIString(o);
+-                    return NULL;
+-                }
++    {
++        char* end = defenc_c + PyBytes_GET_SIZE(defenc);
++        char* c;
++        for (c = defenc_c; c < end; c++) {
++            if ((unsigned char) (*c) >= 128) {
++                PyUnicode_AsASCIIString(o);
++                return NULL;
+             }
+         }
++    }
+ #endif
+-        *length = PyBytes_GET_SIZE(defenc);
+-        return defenc_c;
++    *length = PyBytes_GET_SIZE(defenc);
++    return defenc_c;
++}
+ #else
+-        if (__Pyx_PyUnicode_READY(o) == -1) return NULL;
++static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
+ #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
+-        if (PyUnicode_IS_ASCII(o)) {
+-            *length = PyUnicode_GET_LENGTH(o);
+-            return PyUnicode_AsUTF8(o);
+-        } else {
+-            PyUnicode_AsASCIIString(o);
+-            return NULL;
+-        }
++    if (likely(PyUnicode_IS_ASCII(o))) {
++        *length = PyUnicode_GET_LENGTH(o);
++        return PyUnicode_AsUTF8(o);
++    } else {
++        PyUnicode_AsASCIIString(o);
++        return NULL;
++    }
+ #else
+-        return PyUnicode_AsUTF8AndSize(o, length);
++    return PyUnicode_AsUTF8AndSize(o, length);
++#endif
++}
++#endif
+ #endif
++static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
++#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
++    if (
++#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
++            __Pyx_sys_getdefaultencoding_not_ascii &&
+ #endif
++            PyUnicode_Check(o)) {
++        return __Pyx_PyUnicode_AsStringAndSize(o, length);
+     } else
+ #endif
+ #if (!CYTHON_COMPILING_IN_PYPY) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))
+@@ -27129,43 +30549,67 @@ static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
+    if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
+    else return PyObject_IsTrue(x);
+ }
++static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
++#if PY_MAJOR_VERSION >= 3
++    if (PyLong_Check(result)) {
++        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
++                "__int__ returned non-int (type %.200s).  "
++                "The ability to return an instance of a strict subclass of int "
++                "is deprecated, and may be removed in a future version of Python.",
++                Py_TYPE(result)->tp_name)) {
++            Py_DECREF(result);
++            return NULL;
++        }
++        return result;
++    }
++#endif
++    PyErr_Format(PyExc_TypeError,
++                 "__%.4s__ returned non-%.4s (type %.200s)",
++                 type_name, type_name, Py_TYPE(result)->tp_name);
++    Py_DECREF(result);
++    return NULL;
++}
+ static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) {
++#if CYTHON_USE_TYPE_SLOTS
+   PyNumberMethods *m;
++#endif
+   const char *name = NULL;
+   PyObject *res = NULL;
+ #if PY_MAJOR_VERSION < 3
+-  if (PyInt_Check(x) || PyLong_Check(x))
++  if (likely(PyInt_Check(x) || PyLong_Check(x)))
+ #else
+-  if (PyLong_Check(x))
++  if (likely(PyLong_Check(x)))
+ #endif
+     return __Pyx_NewRef(x);
++#if CYTHON_USE_TYPE_SLOTS
+   m = Py_TYPE(x)->tp_as_number;
+-#if PY_MAJOR_VERSION < 3
++  #if PY_MAJOR_VERSION < 3
+   if (m && m->nb_int) {
+     name = "int";
+-    res = PyNumber_Int(x);
++    res = m->nb_int(x);
+   }
+   else if (m && m->nb_long) {
+     name = "long";
+-    res = PyNumber_Long(x);
++    res = m->nb_long(x);
+   }
+-#else
+-  if (m && m->nb_int) {
++  #else
++  if (likely(m && m->nb_int)) {
+     name = "int";
+-    res = PyNumber_Long(x);
++    res = m->nb_int(x);
++  }
++  #endif
++#else
++  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
++    res = PyNumber_Int(x);
+   }
+ #endif
+-  if (res) {
++  if (likely(res)) {
+ #if PY_MAJOR_VERSION < 3
+-    if (!PyInt_Check(res) && !PyLong_Check(res)) {
++    if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) {
+ #else
+-    if (!PyLong_Check(res)) {
++    if (unlikely(!PyLong_CheckExact(res))) {
+ #endif
+-      PyErr_Format(PyExc_TypeError,
+-                   "__%.4s__ returned non-%.4s (type %.200s)",
+-                   name, name, Py_TYPE(res)->tp_name);
+-      Py_DECREF(res);
+-      return NULL;
++        return __Pyx_PyNumber_IntOrLongWrongResultType(res, name);
+     }
+   }
+   else if (!PyErr_Occurred()) {
diff -Nru pyresample-1.9.3/debian/patches/0005-Fix-StopIteration-handling.patch pyresample-1.10.1/debian/patches/0005-Fix-StopIteration-handling.patch
--- pyresample-1.9.3/debian/patches/0005-Fix-StopIteration-handling.patch	1970-01-01 00:00:00.000000000 +0000
+++ pyresample-1.10.1/debian/patches/0005-Fix-StopIteration-handling.patch	2018-07-14 11:50:40.000000000 +0000
@@ -0,0 +1,23 @@
+From: Antonio Valentino 
+Date: Sat, 14 Jul 2018 10:36:51 +0000
+Subject: Fix StopIteration handling
+
+Compatibility with Python 3.7 and PEP 479.
+See also https://github.com/pytroll/pyresample/pull/134.
+---
+ pyresample/_multi_proc.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyresample/_multi_proc.py b/pyresample/_multi_proc.py
+index e40c293..1f318a3 100644
+--- a/pyresample/_multi_proc.py
++++ b/pyresample/_multi_proc.py
+@@ -71,7 +71,7 @@ class Scheduler(object):
+                 yield slice(s0, s1)
+             else:
+                 self._lock.release()
+-                raise StopIteration
++                return
+ 
+ 
+ def shmem_as_ndarray(raw_array):
diff -Nru pyresample-1.9.3/debian/patches/series pyresample-1.10.1/debian/patches/series
--- pyresample-1.9.3/debian/patches/series	2018-06-12 12:55:34.000000000 +0000
+++ pyresample-1.10.1/debian/patches/series	2018-07-14 11:50:40.000000000 +0000
@@ -1,3 +1,5 @@
 0001-fix-doc-build.patch
 0002-fix-proj4-initialization.patch
-test_spherical.patch
+0003-Skip-TestXArrayResamplerNN-if-dask-is-not-available.patch
+0004-Regenerate-cython-extensions.patch
+0005-Fix-StopIteration-handling.patch
diff -Nru pyresample-1.9.3/debian/patches/test_spherical.patch pyresample-1.10.1/debian/patches/test_spherical.patch
--- pyresample-1.9.3/debian/patches/test_spherical.patch	2018-06-12 12:55:34.000000000 +0000
+++ pyresample-1.10.1/debian/patches/test_spherical.patch	1970-01-01 00:00:00.000000000 +0000
@@ -1,15 +0,0 @@
-Description: Fix TestArc failure on some architectures.
- AssertionError: array([5.0575149]) != 5.057514896828209
-Author: Bas Couwenberg 
-
---- a/pyresample/test/test_spherical.py
-+++ b/pyresample/test/test_spherical.py
-@@ -185,7 +185,7 @@ class TestArc(unittest.TestCase):
-         lon, lat = arc1.intersection(arc2)
- 
-         self.assertTrue(np.allclose(np.rad2deg(lon), 5))
--        self.assertEquals(np.rad2deg(lat), 5.0575148968282093)
-+        self.assertEquals(np.rad2deg(lat).round(7), round(5.0575148968282093, 7))
- 
-         arc1 = Arc(SCoordinate(0, 0),
-                    SCoordinate(np.deg2rad(10), np.deg2rad(10)))
diff -Nru pyresample-1.9.3/docs/source/installation.rst pyresample-1.10.1/docs/source/installation.rst
--- pyresample-1.9.3/docs/source/installation.rst	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/docs/source/installation.rst	2018-07-03 08:44:15.000000000 +0000
@@ -65,14 +65,5 @@
 
 As of pyresample v1.0.0 numexpr_ will be used for minor bottleneck optimization if available
 
-Show active plugins
-*******************
-The active drop-in plugins can be show using:
-
- >>> import pyresample as pr
- >>> pr.get_capabilities()
-
 .. _pykdtree: https://github.com/storpipfugl/pykdtree
 .. _numexpr: https://code.google.com/p/numexpr/
- 
- 
\ No newline at end of file
diff -Nru pyresample-1.9.3/pyresample/geometry.py pyresample-1.10.1/pyresample/geometry.py
--- pyresample-1.9.3/pyresample/geometry.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/geometry.py	2018-07-03 08:44:15.000000000 +0000
@@ -195,6 +195,20 @@
         else:
             return self.lons[data_slice], self.lats[data_slice]
 
+    def get_lonlats_dask(self, chunks=CHUNK_SIZE):
+        """Get the lon lats as a single dask array."""
+        import dask.array as da
+        lons, lats = self.get_lonlats()
+
+        if isinstance(lons.data, da.Array):
+            return lons.data, lats.data
+        else:
+            lons = da.from_array(np.asanyarray(lons),
+                                 chunks=chunks)
+            lats = da.from_array(np.asanyarray(lats),
+                                 chunks=chunks)
+        return lons, lats
+
     def get_boundary_lonlats(self):
         """Return Boundary objects."""
         s1_lon, s1_lat = self.get_lonlats(data_slice=(0, slice(None)))
@@ -529,20 +543,6 @@
             pass
         return the_hash
 
-    def get_lonlats_dask(self, chunks=CHUNK_SIZE):
-        """Get the lon lats as a single dask array."""
-        import dask.array as da
-        lons, lats = self.get_lonlats()
-
-        if isinstance(lons.data, da.Array):
-            return lons.data, lats.data
-        else:
-            lons = da.from_array(np.asanyarray(lons),
-                                 chunks=chunks)
-            lats = da.from_array(np.asanyarray(lats),
-                                 chunks=chunks)
-        return lons, lats
-
     def _compute_omerc_parameters(self, ellipsoid):
         """Compute the oblique mercator projection bouding box parameters."""
         lines, cols = self.lons.shape
@@ -1344,7 +1344,8 @@
         # Intersection only required for two different projections
         if area_to_cover.proj_str == self.proj_str:
             logger.debug('Projections for data and slice areas are'
-                         ' identical: %s', area_to_cover.proj_dict['proj'])
+                         ' identical: %s',
+                         area_to_cover.proj_dict.get('proj', area_to_cover.proj_dict.get('init')))
             # Get xy coordinates
             llx, lly, urx, ury = area_to_cover.area_extent
             x, y = self.get_xy_from_proj_coords([llx, urx], [lly, ury])
@@ -1362,7 +1363,7 @@
                                       "equal.")
 
         data_boundary = Boundary(*get_geostationary_bounding_box(self))
-        if area_to_cover.proj_dict['proj'] == 'geos':
+        if area_to_cover.proj_dict.get('proj') == 'geos':
             area_boundary = Boundary(
                 *get_geostationary_bounding_box(area_to_cover))
         else:
diff -Nru pyresample-1.9.3/pyresample/__init__.py pyresample-1.10.1/pyresample/__init__.py
--- pyresample-1.9.3/pyresample/__init__.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/__init__.py	2018-07-03 08:44:15.000000000 +0000
@@ -38,21 +38,3 @@
 
 __all__ = ['grid', 'image', 'kd_tree',
            'utils', 'plot', 'geo_filter', 'geometry', 'CHUNK_SIZE']
-
-
-def get_capabilities():
-    cap = {}
-
-    try:
-        from pykdtree.kdtree import KDTree  # noqa
-        cap['pykdtree'] = True
-    except ImportError:
-        cap['pykdtree'] = False
-
-    try:
-        import numexpr  # noqa
-        cap['numexpr'] = True
-    except ImportError:
-        cap['numexpr'] = False
-
-    return cap
diff -Nru pyresample-1.9.3/pyresample/kd_tree.py pyresample-1.10.1/pyresample/kd_tree.py
--- pyresample-1.9.3/pyresample/kd_tree.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/kd_tree.py	2018-07-03 08:44:15.000000000 +0000
@@ -26,44 +26,29 @@
 from logging import getLogger
 
 import numpy as np
-
+from pykdtree.kdtree import KDTree
 from pyresample import _spatial_mp, data_reduce, geometry
+from pyresample import CHUNK_SIZE
 
 logger = getLogger(__name__)
 
 try:
     from xarray import DataArray
     import dask.array as da
+    import dask
 except ImportError:
     DataArray = None
     da = None
+    dask = None
 
 if sys.version >= '3':
     long = int
 
-kd_tree_name = None
-try:
-    from pykdtree.kdtree import KDTree
-    kd_tree_name = 'pykdtree'
-except ImportError:
-    try:
-        import scipy.spatial as sp
-        kd_tree_name = 'scipy.spatial'
-    except ImportError:
-        raise ImportError('Either pykdtree or scipy must be available')
-
 
 class EmptyResult(ValueError):
     pass
 
 
-def which_kdtree():
-    """Returns the name of the kdtree used for resampling
-    """
-
-    return kd_tree_name
-
-
 def resample_nearest(source_geo_def,
                      data,
                      target_geo_def,
@@ -510,12 +495,10 @@
         raise EmptyResult('No valid data points in input data')
 
     # Build kd-tree on input
-    if kd_tree_name == 'pykdtree':
-        resample_kdtree = KDTree(input_coords)
-    elif nprocs > 1:
+    if nprocs > 1:
         resample_kdtree = _spatial_mp.cKDTree_MP(input_coords, nprocs=nprocs)
     else:
-        resample_kdtree = sp.cKDTree(input_coords)
+        resample_kdtree = KDTree(input_coords)
 
     return resample_kdtree
 
@@ -914,12 +897,21 @@
         (x_coords.ravel(), y_coords.ravel(), z_coords.ravel()), axis=-1)
 
 
-def query_no_distance(target_lons, target_lats,
-                      valid_output_index, kdtree, neighbours, epsilon, radius):
-    """Query the kdtree. No distances are returned."""
+def query_no_distance(target_lons, target_lats, valid_output_index,
+                      mask=None, valid_input_index=None,
+                      neighbours=None, epsilon=None, radius=None,
+                      kdtree=None):
+    """Query the kdtree. No distances are returned.
+
+    NOTE: Dask array arguments must always come before other keyword arguments
+          for `da.atop` arguments to work.
+
+    """
     voi = valid_output_index
-    shape = voi.shape
+    shape = voi.shape + (neighbours,)
     voir = voi.ravel()
+    if mask is not None:
+        mask = mask.ravel()[valid_input_index.ravel()]
     target_lons_valid = target_lons.ravel()[voir]
     target_lats_valid = target_lats.ravel()[voir]
 
@@ -928,30 +920,36 @@
         coords.compute(),
         k=neighbours,
         eps=epsilon,
-        distance_upper_bound=radius)
+        distance_upper_bound=radius,
+        mask=mask)
+
+    if index_array.ndim == 1:
+        index_array = index_array[:, None]
 
     # KDTree query returns out-of-bounds neighbors as `len(arr)`
     # which is an invalid index, we mask those out so -1 represents
     # invalid values
-    # voi is 2D, index_array is 1D
+    # voi is 2D (trows, tcols)
+    # index_array is 2D (valid output pixels, neighbors)
+    # there are as many Trues in voi as rows in index_array
     good_pixels = index_array < kdtree.n
-    voi[voi] = good_pixels
-    res_ia = np.full(shape, fill_value=-1, dtype=np.int)
-    res_ia[voi] = index_array[good_pixels]
+    res_ia = np.empty(shape, dtype=np.int)
+    mask = np.zeros(shape, dtype=np.bool)
+    mask[voi, :] = good_pixels
+    res_ia[mask] = index_array[good_pixels]
+    res_ia[~mask] = -1
     return res_ia
 
 
-class XArrayResamplerNN():
+class XArrayResamplerNN(object):
     def __init__(self,
                  source_geo_def,
                  target_geo_def,
                  radius_of_influence,
-                 neighbours=8,
-                 epsilon=0,
-                 reduce_data=True,
-                 nprocs=1,
-                 segments=None):
+                 neighbours=1,
+                 epsilon=0):
         """
+
         Parameters
         ----------
         source_geo_def : object
@@ -961,18 +959,12 @@
         radius_of_influence : float
             Cut off distance in meters
         neighbours : int, optional
-            The number of neigbours to consider for each grid point
+            The number of neigbours to consider for each grid point.
+            Default 1. Currently 1 is the only supported number.
         epsilon : float, optional
             Allowed uncertainty in meters. Increasing uncertainty
             reduces execution time
-        reduce_data : bool, optional
-            Perform initial coarse reduction of source dataset in order
-            to reduce execution time
-        nprocs : int, optional
-            Number of processor cores to be used
-        segments : int or None
-            Number of segments to use when resampling.
-            If set to None an estimate will be calculated
+
         """
         if DataArray is None:
             raise ImportError("Missing 'xarray' and 'dask' dependencies")
@@ -981,52 +973,52 @@
         self.valid_output_index = None
         self.index_array = None
         self.distance_array = None
+        self.delayed_kdtree = None
         self.neighbours = neighbours
         self.epsilon = epsilon
-        self.reduce_data = reduce_data
-        self.nprocs = nprocs
-        self.segments = segments
         self.source_geo_def = source_geo_def
         self.target_geo_def = target_geo_def
         self.radius_of_influence = radius_of_influence
+        assert (self.target_geo_def.ndim == 2), \
+            "Target area definition must be 2 dimensions"
 
-    def _create_resample_kdtree(self):
+    def _create_resample_kdtree(self, chunks=CHUNK_SIZE):
         """Set up kd tree on input"""
-        source_lons, source_lats = self.source_geo_def.get_lonlats_dask()
+        source_lons, source_lats = self.source_geo_def.get_lonlats_dask(
+            chunks=chunks)
         valid_input_idx = ((source_lons >= -180) & (source_lons <= 180) &
                            (source_lats <= 90) & (source_lats >= -90))
-
-        # FIXME: Is dask smart enough to only compute the pixels we end up
-        #        using even with this complicated indexing
         input_coords = lonlat2xyz(source_lons, source_lats)
         input_coords = input_coords[valid_input_idx.ravel(), :]
 
         # Build kd-tree on input
         input_coords = input_coords.astype(np.float)
-        valid_input_idx, input_coords = da.compute(valid_input_idx,
-                                                   input_coords)
-        if kd_tree_name == 'pykdtree':
-            resample_kdtree = KDTree(input_coords)
-        else:
-            resample_kdtree = sp.cKDTree(input_coords)
-
-        return valid_input_idx, resample_kdtree
+        delayed_kdtree = dask.delayed(KDTree, pure=True)(input_coords)
+        return valid_input_idx, delayed_kdtree
 
-    def _query_resample_kdtree(self,
-                               resample_kdtree,
-                               tlons,
-                               tlats,
-                               valid_oi,
-                               reduce_data=True):
+    def query_resample_kdtree(self,
+                              resample_kdtree,
+                              tlons,
+                              tlats,
+                              valid_oi,
+                              mask):
         """Query kd-tree on slice of target coordinates."""
-
-        res = da.map_blocks(query_no_distance, tlons, tlats,
-                            valid_oi, dtype=np.int, kdtree=resample_kdtree,
-                            neighbours=self.neighbours, epsilon=self.epsilon,
-                            radius=self.radius_of_influence)
+        if mask is None:
+            args = tuple()
+        else:
+            ndims = self.source_geo_def.ndim
+            dims = 'mn'[:ndims]
+            args = (mask, dims, self.valid_input_index, dims)
+        # res.shape = rows, cols, neighbors
+        # j=rows, i=cols, k=neighbors, m=source rows, n=source cols
+        res = da.atop(query_no_distance, 'jik', tlons, 'ji', tlats, 'ji',
+                      valid_oi, 'ji', *args, kdtree=resample_kdtree,
+                      neighbours=self.neighbours, epsilon=self.epsilon,
+                      radius=self.radius_of_influence, dtype=np.int,
+                      new_axes={'k': self.neighbours}, concatenate=True)
         return res, None
 
-    def get_neighbour_info(self):
+    def get_neighbour_info(self, mask=None):
         """Return neighbour info.
 
         Returns
@@ -1041,27 +1033,22 @@
                           (self.neighbours, self.source_geo_def.size))
 
         # Create kd-tree
-        valid_input_idx, resample_kdtree = self._create_resample_kdtree()
-        # This is a numpy array
+        chunks = mask.chunks if mask is not None else CHUNK_SIZE
+        valid_input_idx, resample_kdtree = self._create_resample_kdtree(
+            chunks=chunks)
         self.valid_input_index = valid_input_idx
-
-        if resample_kdtree.n == 0:
-            # Handle if all input data is reduced away
-            valid_output_idx, index_arr, distance_arr = \
-                _create_empty_info(self.source_geo_def,
-                                   self.target_geo_def, self.neighbours)
-
-            self.valid_output_index = valid_output_idx
-            self.index_array = index_arr
-            self.distance_array = distance_arr
-            return valid_input_idx, valid_output_idx, index_arr, distance_arr
+        self.delayed_kdtree = resample_kdtree
 
         target_lons, target_lats = self.target_geo_def.get_lonlats_dask()
         valid_output_idx = ((target_lons >= -180) & (target_lons <= 180) &
                             (target_lats <= 90) & (target_lats >= -90))
 
-        index_arr, distance_arr = self._query_resample_kdtree(
-            resample_kdtree, target_lons, target_lats, valid_output_idx)
+        if mask is not None:
+            assert (mask.shape == self.source_geo_def.shape), \
+                "'mask' must be the same shape as the source geo definition"
+            mask = mask.data
+        index_arr, distance_arr = self.query_resample_kdtree(
+            resample_kdtree, target_lons, target_lats, valid_output_idx, mask)
 
         self.valid_output_index, self.index_array = valid_output_idx, index_arr
         self.distance_array = distance_arr
@@ -1072,54 +1059,151 @@
                 self.distance_array)
 
     def get_sample_from_neighbour_info(self, data, fill_value=np.nan):
+        """Get the pixels matching the target area.
 
-        try:
-            self.index_array = self.index_array.compute()
-        except AttributeError:
-            pass
+        This method should work for any dimensionality of the provided data
+        array as long as the geolocation dimensions match in size and name in
+        ``data.dims``. Where source area definition are `AreaDefinition`
+        objects the corresponding dimensions in the data should be
+        ``('y', 'x')``.
+
+        This method also attempts to preserve chunk sizes of dask arrays,
+        but does require loading/sharing the fully computed source data before
+        it can actually compute the values to write to the destination array.
+        This can result in large memory usage for large source data arrays,
+        but is a necessary evil until fancier indexing is supported by dask
+        and/or pykdtree.
+
+        Args:
+            data (dask.array.Array): Source data pixels to sample
+            fill_value (float): Output fill value when no source data is
+                                near the target pixel. If the input data
+                                is a integer array then the minimum value
+                                for that integer type is used. Otherwise,
+                                NaN is used and can be detected in the result
+                                with ``res.isnull()``.
 
-        flat_src_shape = []
-        dst_shape = []
-        dst_2d_shape = self.index_array.shape
-        vii_slices = []
-        ia_slices = []
-        where_slices = []
-        flat_done = False
-        coords = {}
-        ia = self.index_array
+        """
+        if fill_value is not None and np.isnan(fill_value) and \
+                np.issubdtype(data.dtype, np.integer):
+            fill_value = _get_fill_mask_value(data.dtype)
+            logger.warning("Fill value incompatible with integer data "
+                           "using {:d} instead.".format(fill_value))
+
+        # Convert back to 1 neighbor
+        if self.neighbours > 1:
+            raise NotImplementedError("Nearest neighbor resampling can not "
+                                      "handle more than 1 neighbor yet.")
+        # Convert from multiple neighbor shape to 1 neighbor
+        ia = self.index_array[:, :, 0]
+        vii = self.valid_input_index
+
+        if isinstance(self.source_geo_def, geometry.SwathDefinition):
+            # could be 1D or 2D
+            src_geo_dims = self.source_geo_def.lons.dims
+        else:
+            # assume AreaDefinitions and everything else are 2D with 'y', 'x'
+            src_geo_dims = ('y', 'x')
+        dst_geo_dims = ('y', 'x')
+        # verify that source dims are the same between geo and data
+        data_geo_dims = tuple(d for d in data.dims if d in src_geo_dims)
+        assert (data_geo_dims == src_geo_dims), \
+            "Data dimensions do not match source area dimensions"
+        # verify that the dims are next to each other
+        first_dim_idx = data.dims.index(src_geo_dims[0])
+        num_dims = len(src_geo_dims)
+        assert (data.dims[first_dim_idx:first_dim_idx + num_dims] ==
+                data_geo_dims), "Data's geolocation dimensions are not " \
+                                "consecutive."
+
+        # FIXME: Can't include coordinates whose dimensions depend on the geo
+        #        dims either
+        def contain_coords(var, coord_list):
+            return bool(set(coord_list).intersection(set(var.dims)))
 
+        coords = {c: c_var for c, c_var in data.coords.items()
+                  if not contain_coords(c_var, src_geo_dims + dst_geo_dims)}
         try:
             coord_x, coord_y = self.target_geo_def.get_proj_vectors_dask()
+            coords['y'] = coord_y
+            coords['x'] = coord_x
         except AttributeError:
-            coord_x, coord_y = None, None
+            logger.debug("No geo coordinates created")
 
+        # shape of the source data after we flatten the geo dimensions
+        flat_src_shape = []
+        # slice objects to index in to the source data
+        vii_slices = []
+        ia_slices = []
+        # whether we have seen the geo dims in our analysis
+        geo_handled = False
+        # dimension indexes for da.atop
+        src_adims = []
+        flat_adim = []
+        # map source dimension name to dimension number for da.atop
+        src_dim_to_ind = {}
+        # destination array dimension indexes for da.atop
+        dst_dims = []
         for i, dim in enumerate(data.dims):
-            if dim in ['y', 'x']:
-                if not flat_done:
-                    flat_src_shape.append(-1)
-                    vii_slices.append(self.valid_input_index.ravel())
-                    ia_slices.append(ia.ravel())
-                    flat_done = True
-                dst_shape.append(dst_2d_shape[0])
-                where_slices.append(slice(None))
-                dst_2d_shape = dst_2d_shape[1:]
-                coords[dim] = coord_x if dim == 'x' else coord_y
-            else:
+            src_dim_to_ind[dim] = i
+            if dim in src_geo_dims and not geo_handled:
+                flat_src_shape.append(-1)
+                vii_slices.append(None)  # mark for replacement
+                ia_slices.append(None)  # mark for replacement
+                flat_adim.append(i)
+                src_adims.append(i)
+                dst_dims.extend(dst_geo_dims)
+                geo_handled = True
+            elif dim not in src_geo_dims:
                 flat_src_shape.append(data.sizes[dim])
                 vii_slices.append(slice(None))
                 ia_slices.append(slice(None))
-                where_slices.append(np.newaxis)
-                dst_shape.append(data.sizes[dim])
-                coords[dim] = data.coords[dim]
-
-        new_data = data.data.reshape(*flat_src_shape)[tuple(vii_slices)]
-        res = new_data[tuple(ia_slices)].reshape(dst_shape)
-
-        res = DataArray(res, dims=data.dims, coords=coords)
-        if fill_value is None:
-            fill_value = np.nan
-        res = res.where(ia[tuple(where_slices)] != -1, fill_value)
-
+                src_adims.append(i)
+                dst_dims.append(dim)
+        # map destination dimension names to atop dimension indexes
+        dst_dim_to_ind = src_dim_to_ind.copy()
+        dst_dim_to_ind['y'] = i + 1
+        dst_dim_to_ind['x'] = i + 2
+        # FUTURE: when we allow more than one neighbor
+        # neighbors_dim = i + 3
+
+        def _my_index(index_arr, vii, data_arr, vii_slices=None,
+                      ia_slices=None, fill_value=np.nan):
+            vii_slices = tuple(
+                x if x is not None else vii.ravel() for x in vii_slices)
+            mask_slices = tuple(
+                x if x is not None else (index_arr == -1) for x in ia_slices)
+            ia_slices = tuple(
+                x if x is not None else index_arr for x in ia_slices)
+            res = data_arr[vii_slices][ia_slices]
+            res[mask_slices] = fill_value
+            return res
+
+        new_data = data.data.reshape(flat_src_shape)
+        vii = vii.ravel()
+        dst_adims = [dst_dim_to_ind[dim] for dim in dst_dims]
+        ia_adims = [dst_dim_to_ind[dim] for dim in dst_geo_dims]
+        # FUTURE: when we allow more than one neighbor add neighbors dimension
+        # dst_adims.append(neighbors_dim)
+        # ia_adims.append(neighbors_dim)
+        # FUTURE: when we allow more than one neighbor we need to add
+        #         the new axis to atop:
+        #         `new_axes={neighbor_dim: self.neighbors}`
+        # FUTURE: if/when dask can handle index arrays that are dask arrays
+        #         then we can avoid all of this complicated atop stuff
+        res = da.atop(_my_index, dst_adims,
+                      ia, ia_adims,
+                      vii, flat_adim,
+                      new_data, src_adims,
+                      vii_slices=vii_slices, ia_slices=ia_slices,
+                      fill_value=fill_value,
+                      dtype=new_data.dtype, concatenate=True)
+        res = DataArray(res, dims=dst_dims, coords=coords,
+                        attrs=data.attrs.copy())
+        res.attrs['_FillValue'] = fill_value
+        # if fill_value isn't NaN then we have to tell xarray what null is
+        if not np.isnan(fill_value):
+            res = res.where(res != fill_value)
         return res
 
 
diff -Nru pyresample-1.9.3/pyresample/test/test_geometry.py pyresample-1.10.1/pyresample/test/test_geometry.py
--- pyresample-1.9.3/pyresample/test/test_geometry.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/test/test_geometry.py	2018-07-03 08:44:15.000000000 +0000
@@ -788,7 +788,6 @@
         self.assertEqual(slice(46, 3667, None), slice_x)
         self.assertEqual(slice(52, 3663, None), slice_y)
 
-
         area_to_cover = geometry.AreaDefinition('areaD', 'Europe (3km, HRV, VTC)', 'areaD',
                                                 {'a': 6378144.0,
                                                  'b': 6356759.0,
@@ -806,6 +805,19 @@
         self.assertEqual(slice_x, slice(1610, 2343))
         self.assertEqual(slice_y, slice(158, 515, None))
 
+        # totally different area
+        area_to_cover = geometry.AreaDefinition('epsg4326', 'Global equal latitude/longitude grid for global sphere',
+                                                'epsg4326',
+                                                {"init": 'EPSG:4326',
+                                                 'units': 'degrees'},
+                                                8192,
+                                                4096,
+                                                [-180.0, -90.0, 180.0, 90.0])
+
+        slice_x, slice_y = area_def.get_area_slices(area_to_cover)
+        self.assertEqual(slice_x, slice(46, 3667, None))
+        self.assertEqual(slice_y, slice(52, 3663, None))
+
     def test_get_area_slices_nongeos(self):
         """Check area slicing for non-geos projections."""
         from pyresample import utils
diff -Nru pyresample-1.9.3/pyresample/test/test_kd_tree.py pyresample-1.10.1/pyresample/test/test_kd_tree.py
--- pyresample-1.9.3/pyresample/test/test_kd_tree.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/test/test_kd_tree.py	2018-07-03 08:44:15.000000000 +0000
@@ -2,8 +2,9 @@
 
 import os
 import sys
+import six
 
-import numpy
+import numpy as np
 
 from pyresample import geometry, kd_tree, utils
 from pyresample.test.utils import catch_warnings
@@ -34,12 +35,12 @@
                                                    1029087.28,
                                                    1490031.3600000001])
 
-        cls.tdata = numpy.array([1, 2, 3])
-        cls.tlons = numpy.array([11.280789, 12.649354, 12.080402])
-        cls.tlats = numpy.array([56.011037, 55.629675, 55.641535])
+        cls.tdata = np.array([1, 2, 3])
+        cls.tlons = np.array([11.280789, 12.649354, 12.080402])
+        cls.tlats = np.array([56.011037, 55.629675, 55.641535])
         cls.tswath = geometry.SwathDefinition(lons=cls.tlons, lats=cls.tlats)
         cls.tgrid = geometry.CoordinateDefinition(
-            lons=numpy.array([12.562036]), lats=numpy.array([55.715613]))
+            lons=np.array([12.562036]), lats=np.array([55.715613]))
 
     def test_nearest_base(self):
         res = kd_tree.resample_nearest(self.tswath,
@@ -100,9 +101,9 @@
         self.assertEqual(counts[0], 3)
 
     def test_nearest(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, segments=1)
@@ -112,14 +113,14 @@
 
     def test_nearest_masked_swath_target(self):
         """Test that a masked array works as a target."""
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
-        mask = numpy.ones_like(lons, dtype=numpy.bool)
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
+        mask = np.ones_like(lons, dtype=np.bool)
         mask[::2, ::2] = False
         swath_def = geometry.SwathDefinition(
-            lons=numpy.ma.masked_array(lons, mask=mask),
-            lats=numpy.ma.masked_array(lats, mask=False)
+            lons=np.ma.masked_array(lons, mask=mask),
+            lats=np.ma.masked_array(lats, mask=False)
         )
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        swath_def, 50000, segments=3)
@@ -129,9 +130,9 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_1d(self):
-        data = numpy.fromfunction(lambda x, y: x * y, (800, 800))
-        lons = numpy.fromfunction(lambda x: 3 + x / 100., (500,))
-        lats = numpy.fromfunction(lambda x: 75 - x / 10., (500,))
+        data = np.fromfunction(lambda x, y: x * y, (800, 800))
+        lons = np.fromfunction(lambda x: 3 + x / 100., (500,))
+        lats = np.fromfunction(lambda x: 75 - x / 10., (500,))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(self.area_def, data.ravel(),
                                        swath_def, 50000, segments=1)
@@ -141,9 +142,9 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_empty(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 165 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 165 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, segments=1)
@@ -152,11 +153,11 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_empty_multi(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 165 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 165 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data_multi,
                                        self.area_def, 50000, segments=1)
@@ -164,11 +165,11 @@
                          msg='Swath resampling nearest empty multi failed')
 
     def test_nearest_empty_multi_masked(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 165 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 165 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data_multi,
                                        self.area_def, 50000, segments=1,
@@ -176,9 +177,9 @@
         self.assertEqual(res.shape, (800, 800, 3))
 
     def test_nearest_empty_masked(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 165 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 165 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, segments=1,
@@ -188,9 +189,9 @@
         self.assertTrue(cross_sum == expected)
 
     def test_nearest_segments(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, segments=2)
@@ -199,9 +200,9 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_remap(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, segments=1)
@@ -212,9 +213,9 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_mp(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, nprocs=2, segments=1)
@@ -223,12 +224,12 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_multi(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         res = kd_tree.resample_nearest(swath_def, data_multi,
                                        self.area_def, 50000, segments=1)
         cross_sum = res.sum()
@@ -236,11 +237,11 @@
         self.assertEqual(cross_sum, expected)
 
     def test_nearest_multi_unraveled(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.dstack((data, data, data))
+        data_multi = np.dstack((data, data, data))
         res = kd_tree.resample_nearest(swath_def, data_multi,
                                        self.area_def, 50000, segments=1)
         cross_sum = res.sum()
@@ -248,9 +249,9 @@
         self.assertEqual(cross_sum, expected)
 
     def test_gauss_sparse(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_gauss(swath_def, data.ravel(),
                                      self.area_def, 50000, 25000, fill_value=-1, segments=1)
@@ -259,10 +260,10 @@
         self.assertAlmostEqual(cross_sum, expected, places=3)
 
     def test_gauss(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         with catch_warnings() as w:
@@ -275,10 +276,10 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_gauss_fwhm(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         with catch_warnings() as w:
@@ -291,14 +292,14 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_gauss_multi(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         with catch_warnings() as w:
             res = kd_tree.resample_gauss(swath_def, data_multi,
                                          self.area_def, 50000, [25000, 15000, 10000], segments=1)
@@ -309,14 +310,14 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_gauss_multi_uncert(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         with catch_warnings() as w:
             # The assertion below checks if there is only one warning raised
             # and whether it contains a specific message from pyresample
@@ -345,14 +346,14 @@
         self.assertAlmostEqual(cross_sum_counts, expected_counts)
 
     def test_gauss_multi_mp(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         with catch_warnings() as w:
             res = kd_tree.resample_gauss(swath_def, data_multi,
                                          self.area_def, 50000, [
@@ -365,14 +366,14 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_gauss_multi_mp_segments(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         with catch_warnings() as w:
             res = kd_tree.resample_gauss(swath_def, data_multi,
                                          self.area_def, 50000, [
@@ -385,14 +386,14 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_gauss_multi_mp_segments_empty(self):
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 165 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         res = kd_tree.resample_gauss(swath_def, data_multi,
                                      self.area_def, 50000, [
                                          25000, 15000, 10000],
@@ -404,10 +405,10 @@
         def wf(dist):
             return 1 - dist / 100000.0
 
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -5, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         with catch_warnings() as w:
@@ -427,16 +428,16 @@
             return 1
 
         def wf3(dist):
-            return numpy.cos(dist) ** 2
+            return np.cos(dist) ** 2
 
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
         with catch_warnings() as w:
             res = kd_tree.resample_custom(swath_def, data_multi,
                                           self.area_def, 50000, [wf1, wf2, wf3], segments=1)
@@ -447,150 +448,150 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_masked_nearest(self):
-        data = numpy.ones((50, 10))
+        data = np.ones((50, 10))
         data[:, 5:] = 2
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        mask = numpy.ones((50, 10))
+        mask = np.ones((50, 10))
         mask[:, :5] = 0
-        masked_data = numpy.ma.array(data, mask=mask)
+        masked_data = np.ma.array(data, mask=mask)
         res = kd_tree.resample_nearest(swath_def, masked_data.ravel(),
                                        self.area_def, 50000, segments=1)
-        expected_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                    'test_files',
-                                                    'mask_test_nearest_mask.dat'),
-                                       sep=' ').reshape((800, 800))
-        expected_data = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                    'test_files',
-                                                    'mask_test_nearest_data.dat'),
-                                       sep=' ').reshape((800, 800))
-        self.assertTrue(numpy.array_equal(expected_mask, res.mask))
-        self.assertTrue(numpy.array_equal(expected_data, res.data))
+        expected_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                 'test_files',
+                                                 'mask_test_nearest_mask.dat'),
+                                    sep=' ').reshape((800, 800))
+        expected_data = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                 'test_files',
+                                                 'mask_test_nearest_data.dat'),
+                                    sep=' ').reshape((800, 800))
+        self.assertTrue(np.array_equal(expected_mask, res.mask))
+        self.assertTrue(np.array_equal(expected_data, res.data))
 
     def test_masked_nearest_1d(self):
-        data = numpy.ones((800, 800))
+        data = np.ones((800, 800))
         data[:400, :] = 2
-        lons = numpy.fromfunction(lambda x: 3 + x / 100., (500,))
-        lats = numpy.fromfunction(lambda x: 75 - x / 10., (500,))
+        lons = np.fromfunction(lambda x: 3 + x / 100., (500,))
+        lats = np.fromfunction(lambda x: 75 - x / 10., (500,))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        mask = numpy.ones((800, 800))
+        mask = np.ones((800, 800))
         mask[400:, :] = 0
-        masked_data = numpy.ma.array(data, mask=mask)
+        masked_data = np.ma.array(data, mask=mask)
         res = kd_tree.resample_nearest(self.area_def, masked_data.ravel(),
                                        swath_def, 50000, segments=1)
         self.assertEqual(res.mask.sum(), 112)
 
     def test_masked_gauss(self):
-        data = numpy.ones((50, 10))
+        data = np.ones((50, 10))
         data[:, 5:] = 2
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        mask = numpy.ones((50, 10))
+        mask = np.ones((50, 10))
         mask[:, :5] = 0
-        masked_data = numpy.ma.array(data, mask=mask)
+        masked_data = np.ma.array(data, mask=mask)
         res = kd_tree.resample_gauss(swath_def, masked_data.ravel(),
                                      self.area_def, 50000, 25000, segments=1)
-        expected_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                    'test_files',
-                                                    'mask_test_mask.dat'),
-                                       sep=' ').reshape((800, 800))
-        expected_data = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                    'test_files',
-                                                    'mask_test_data.dat'),
-                                       sep=' ').reshape((800, 800))
+        expected_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                 'test_files',
+                                                 'mask_test_mask.dat'),
+                                    sep=' ').reshape((800, 800))
+        expected_data = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                 'test_files',
+                                                 'mask_test_data.dat'),
+                                    sep=' ').reshape((800, 800))
         expected = expected_data.sum()
         cross_sum = res.data.sum()
 
-        self.assertTrue(numpy.array_equal(expected_mask, res.mask))
+        self.assertTrue(np.array_equal(expected_mask, res.mask))
         self.assertAlmostEqual(cross_sum, expected, places=3)
 
     def test_masked_fill_float(self):
-        data = numpy.ones((50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.ones((50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, fill_value=None, segments=1)
-        expected_fill_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                         'test_files',
-                                                         'mask_test_fill_value.dat'),
-                                            sep=' ').reshape((800, 800))
+        expected_fill_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                      'test_files',
+                                                      'mask_test_fill_value.dat'),
+                                         sep=' ').reshape((800, 800))
         fill_mask = res.mask
-        self.assertTrue(numpy.array_equal(fill_mask, expected_fill_mask))
+        self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
 
     def test_masked_fill_int(self):
-        data = numpy.ones((50, 10)).astype('int')
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.ones((50, 10)).astype('int')
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def, data.ravel(),
                                        self.area_def, 50000, fill_value=None, segments=1)
-        expected_fill_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                         'test_files',
-                                                         'mask_test_fill_value.dat'),
-                                            sep=' ').reshape((800, 800))
+        expected_fill_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                      'test_files',
+                                                      'mask_test_fill_value.dat'),
+                                         sep=' ').reshape((800, 800))
         fill_mask = res.mask
-        self.assertTrue(numpy.array_equal(fill_mask, expected_fill_mask))
+        self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
 
     def test_masked_full(self):
-        data = numpy.ones((50, 10))
+        data = np.ones((50, 10))
         data[:, 5:] = 2
-        mask = numpy.ones((50, 10))
+        mask = np.ones((50, 10))
         mask[:, :5] = 0
-        masked_data = numpy.ma.array(data, mask=mask)
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        masked_data = np.ma.array(data, mask=mask)
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def,
                                        masked_data.ravel(
                                        ), self.area_def, 50000,
                                        fill_value=None, segments=1)
-        expected_fill_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                         'test_files',
-                                                         'mask_test_full_fill.dat'),
-                                            sep=' ').reshape((800, 800))
+        expected_fill_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                      'test_files',
+                                                      'mask_test_full_fill.dat'),
+                                         sep=' ').reshape((800, 800))
         fill_mask = res.mask
 
-        self.assertTrue(numpy.array_equal(fill_mask, expected_fill_mask))
+        self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
 
     def test_masked_full_multi(self):
-        data = numpy.ones((50, 10))
+        data = np.ones((50, 10))
         data[:, 5:] = 2
-        mask1 = numpy.ones((50, 10))
+        mask1 = np.ones((50, 10))
         mask1[:, :5] = 0
-        mask2 = numpy.ones((50, 10))
+        mask2 = np.ones((50, 10))
         mask2[:, 5:] = 0
-        mask3 = numpy.ones((50, 10))
+        mask3 = np.ones((50, 10))
         mask3[:25, :] = 0
-        data_multi = numpy.column_stack(
+        data_multi = np.column_stack(
             (data.ravel(), data.ravel(), data.ravel()))
-        mask_multi = numpy.column_stack(
+        mask_multi = np.column_stack(
             (mask1.ravel(), mask2.ravel(), mask3.ravel()))
-        masked_data = numpy.ma.array(data_multi, mask=mask_multi)
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        masked_data = np.ma.array(data_multi, mask=mask_multi)
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         res = kd_tree.resample_nearest(swath_def,
                                        masked_data, self.area_def, 50000,
                                        fill_value=None, segments=1)
-        expected_fill_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                         'test_files',
-                                                         'mask_test_full_fill_multi.dat'),
-                                            sep=' ').reshape((800, 800, 3))
+        expected_fill_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                      'test_files',
+                                                      'mask_test_full_fill_multi.dat'),
+                                         sep=' ').reshape((800, 800, 3))
         fill_mask = res.mask
         cross_sum = res.sum()
         expected = 357140.0
         self.assertAlmostEqual(cross_sum, expected)
-        self.assertTrue(numpy.array_equal(fill_mask, expected_fill_mask))
+        self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
 
     def test_dtype(self):
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         grid_def = geometry.GridDefinition(lons, lats)
-        lons = numpy.asarray(lons, dtype='f4')
-        lats = numpy.asarray(lats, dtype='f4')
+        lons = np.asarray(lons, dtype='f4')
+        lats = np.asarray(lats, dtype='f4')
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         valid_input_index, valid_output_index, index_array, distance_array = \
             kd_tree.get_neighbour_info(swath_def,
@@ -598,9 +599,9 @@
                                        50000, neighbours=1, segments=1)
 
     def test_nearest_from_sample(self):
-        data = numpy.fromfunction(lambda y, x: y * x, (50, 10))
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        data = np.fromfunction(lambda y, x: y * x, (50, 10))
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         valid_input_index, valid_output_index, index_array, distance_array = \
             kd_tree.get_neighbour_info(swath_def,
@@ -621,16 +622,16 @@
             return 1
 
         def wf3(dist):
-            return numpy.cos(dist) ** 2
+            return np.cos(dist) ** 2
 
-        data = numpy.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
-        lons = numpy.fromfunction(
+        data = np.fromfunction(lambda y, x: (y + x) * 10 ** -6, (5000, 100))
+        lons = np.fromfunction(
             lambda y, x: 3 + (10.0 / 100) * x, (5000, 100))
-        lats = numpy.fromfunction(
+        lats = np.fromfunction(
             lambda y, x: 75 - (50.0 / 5000) * y, (5000, 100))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
-        data_multi = numpy.column_stack((data.ravel(), data.ravel(),
-                                         data.ravel()))
+        data_multi = np.column_stack((data.ravel(), data.ravel(),
+                                      data.ravel()))
 
         with catch_warnings() as w:
             valid_input_index, valid_output_index, index_array, distance_array = \
@@ -662,21 +663,21 @@
         self.assertAlmostEqual(cross_sum, expected)
 
     def test_masked_multi_from_sample(self):
-        data = numpy.ones((50, 10))
+        data = np.ones((50, 10))
         data[:, 5:] = 2
-        mask1 = numpy.ones((50, 10))
+        mask1 = np.ones((50, 10))
         mask1[:, :5] = 0
-        mask2 = numpy.ones((50, 10))
+        mask2 = np.ones((50, 10))
         mask2[:, 5:] = 0
-        mask3 = numpy.ones((50, 10))
+        mask3 = np.ones((50, 10))
         mask3[:25, :] = 0
-        data_multi = numpy.column_stack(
+        data_multi = np.column_stack(
             (data.ravel(), data.ravel(), data.ravel()))
-        mask_multi = numpy.column_stack(
+        mask_multi = np.column_stack(
             (mask1.ravel(), mask2.ravel(), mask3.ravel()))
-        masked_data = numpy.ma.array(data_multi, mask=mask_multi)
-        lons = numpy.fromfunction(lambda y, x: 3 + x, (50, 10))
-        lats = numpy.fromfunction(lambda y, x: 75 - y, (50, 10))
+        masked_data = np.ma.array(data_multi, mask=mask_multi)
+        lons = np.fromfunction(lambda y, x: 3 + x, (50, 10))
+        lats = np.fromfunction(lambda y, x: 75 - y, (50, 10))
         swath_def = geometry.SwathDefinition(lons=lons, lats=lats)
         valid_input_index, valid_output_index, index_array, distance_array = \
             kd_tree.get_neighbour_info(swath_def,
@@ -687,20 +688,218 @@
                                                      valid_input_index,
                                                      valid_output_index, index_array,
                                                      fill_value=None)
-        expected_fill_mask = numpy.fromfile(os.path.join(os.path.dirname(__file__),
-                                                         'test_files',
-                                                         'mask_test_full_fill_multi.dat'),
-                                            sep=' ').reshape((800, 800, 3))
+        expected_fill_mask = np.fromfile(os.path.join(os.path.dirname(__file__),
+                                                      'test_files',
+                                                      'mask_test_full_fill_multi.dat'),
+                                         sep=' ').reshape((800, 800, 3))
         fill_mask = res.mask
-        self.assertTrue(numpy.array_equal(fill_mask, expected_fill_mask))
+        self.assertTrue(np.array_equal(fill_mask, expected_fill_mask))
+
+
+class TestXArrayResamplerNN(unittest.TestCase):
+    """Test the XArrayResamplerNN class."""
+
+    @classmethod
+    def setUpClass(cls):
+        import xarray as xr
+        import dask.array as da
+        cls.area_def = geometry.AreaDefinition('areaD',
+                                               'Europe (3km, HRV, VTC)',
+                                               'areaD',
+                                               {'a': '6378144.0',
+                                                'b': '6356759.0',
+                                                'lat_0': '50.00',
+                                                'lat_ts': '50.00',
+                                                'lon_0': '8.00',
+                                                'proj': 'stere'},
+                                               800,
+                                               800,
+                                               [-1370912.72,
+                                                -909968.64000000001,
+                                                1029087.28,
+                                                1490031.3600000001])
+
+        dfa = da.from_array  # shortcut
+        cls.chunks = chunks = 5
+        cls.tgrid = geometry.CoordinateDefinition(
+            lons=dfa(np.array([
+                [11.5, 12.562036, 12.9],
+                [11.5, 12.562036, 12.9],
+                [11.5, 12.562036, 12.9],
+                [11.5, 12.562036, 12.9],
+            ]), chunks=chunks),
+            lats=dfa(np.array([
+                [55.715613, 55.715613, 55.715613],
+                [55.715613, 55.715613, 55.715613],
+                [55.715613, np.nan, 55.715613],
+                [55.715613, 55.715613, 55.715613],
+            ]), chunks=chunks))
+
+        cls.tdata_1d = xr.DataArray(
+            dfa(np.array([1., 2., 3.]), chunks=chunks), dims=('my_dim1',))
+        cls.tlons_1d = xr.DataArray(
+            dfa(np.array([11.280789, 12.649354, 12.080402]), chunks=chunks),
+            dims=('my_dim1',))
+        cls.tlats_1d = xr.DataArray(
+            dfa(np.array([56.011037, 55.629675, 55.641535]), chunks=chunks),
+            dims=('my_dim1',))
+        cls.tswath_1d = geometry.SwathDefinition(lons=cls.tlons_1d,
+                                                 lats=cls.tlats_1d)
+
+        cls.data_2d = xr.DataArray(
+            da.from_array(np.fromfunction(lambda y, x: y * x, (50, 10)),
+                          chunks=5),
+            dims=('my_dim_y', 'my_dim_x'))
+        cls.data_3d = xr.DataArray(
+            da.from_array(np.fromfunction(lambda y, x, b: y * x * b, (50, 10, 3)),
+                          chunks=5),
+            dims=('my_dim_y', 'my_dim_x', 'bands'),
+            coords={'bands': ['r', 'g', 'b']})
+        cls.lons_2d = xr.DataArray(
+            da.from_array(np.fromfunction(lambda y, x: 3 + x, (50, 10)),
+                          chunks=5),
+            dims=('my_dim_y', 'my_dim_x'))
+        cls.lats_2d = xr.DataArray(
+            da.from_array(np.fromfunction(lambda y, x: 75 - y, (50, 10)),
+                          chunks=5),
+            dims=('my_dim_y', 'my_dim_x'))
+        cls.swath_def_2d = geometry.SwathDefinition(lons=cls.lons_2d,
+                                                    lats=cls.lats_2d)
+        cls.src_area_2d = geometry.AreaDefinition(
+            'areaD_src', 'Europe (3km, HRV, VTC)', 'areaD',
+            {'a': '6378144.0', 'b': '6356759.0', 'lat_0': '52.00',
+             'lat_ts': '52.00', 'lon_0': '5.00', 'proj': 'stere'}, 50, 10,
+            [-1370912.72, -909968.64000000001, 1029087.28,
+             1490031.3600000001])
+
+    def test_nearest_swath_1d_mask_to_grid_1n(self):
+        """Test 1D swath definition to 2D grid definition; 1 neighbor."""
+        from pyresample.kd_tree import XArrayResamplerNN
+        import xarray as xr
+        import dask.array as da
+        resampler = XArrayResamplerNN(self.tswath_1d, self.tgrid,
+                                      radius_of_influence=100000,
+                                      neighbours=1)
+        data = self.tdata_1d
+        ninfo = resampler.get_neighbour_info(mask=data.isnull())
+        for val in ninfo[:3]:
+            # vii, ia, voi
+            self.assertIsInstance(val, da.Array)
+        res = resampler.get_sample_from_neighbour_info(data)
+        self.assertIsInstance(res, xr.DataArray)
+        self.assertIsInstance(res.data, da.Array)
+        actual = res.values
+        expected = np.array([
+            [1., 2., 2.],
+            [1., 2., 2.],
+            [1., np.nan, 2.],
+            [1., 2., 2.],
+        ])
+        np.testing.assert_allclose(actual, expected)
+
+    def test_nearest_swath_2d_mask_to_area_1n(self):
+        """Test 2D swath definition to 2D area definition; 1 neighbor."""
+        from pyresample.kd_tree import XArrayResamplerNN
+        import xarray as xr
+        import dask.array as da
+        swath_def = self.swath_def_2d
+        data = self.data_2d
+        resampler = XArrayResamplerNN(swath_def, self.area_def,
+                                      radius_of_influence=50000,
+                                      neighbours=1)
+        ninfo = resampler.get_neighbour_info(mask=data.isnull())
+        for val in ninfo[:3]:
+            # vii, ia, voi
+            self.assertIsInstance(val, da.Array)
+        res = resampler.get_sample_from_neighbour_info(data)
+        self.assertIsInstance(res, xr.DataArray)
+        self.assertIsInstance(res.data, da.Array)
+        res = res.values
+        cross_sum = np.nansum(res)
+        expected = 15874591.0
+        self.assertEqual(cross_sum, expected)
+
+    def test_nearest_area_2d_to_area_1n(self):
+        """Test 2D area definition to 2D area definition; 1 neighbor."""
+        from pyresample.kd_tree import XArrayResamplerNN
+        import xarray as xr
+        import dask.array as da
+        data = self.data_2d
+        resampler = XArrayResamplerNN(self.src_area_2d, self.area_def,
+                                      radius_of_influence=50000,
+                                      neighbours=1)
+        ninfo = resampler.get_neighbour_info()
+        for val in ninfo[:3]:
+            # vii, ia, voi
+            self.assertIsInstance(val, da.Array)
+        self.assertRaises(AssertionError,
+                          resampler.get_sample_from_neighbour_info, data)
+
+        # rename data dimensions to match the expected area dimensions
+        data = data.rename({'my_dim_y': 'y', 'my_dim_x': 'x'})
+        res = resampler.get_sample_from_neighbour_info(data)
+        self.assertIsInstance(res, xr.DataArray)
+        self.assertIsInstance(res.data, da.Array)
+        res = res.values
+        cross_sum = np.nansum(res)
+        expected = 27706753.0
+        self.assertEqual(cross_sum, expected)
+
+    def test_nearest_area_2d_to_area_1n_3d_data(self):
+        """Test 2D area definition to 2D area definition; 1 neighbor, 3d data."""
+        from pyresample.kd_tree import XArrayResamplerNN
+        import xarray as xr
+        import dask.array as da
+        data = self.data_3d
+        resampler = XArrayResamplerNN(self.src_area_2d, self.area_def,
+                                      radius_of_influence=50000,
+                                      neighbours=1)
+        ninfo = resampler.get_neighbour_info()
+        for val in ninfo[:3]:
+            # vii, ia, voi
+            self.assertIsInstance(val, da.Array)
+        self.assertRaises(AssertionError,
+                          resampler.get_sample_from_neighbour_info, data)
+
+        # rename data dimensions to match the expected area dimensions
+        data = data.rename({'my_dim_y': 'y', 'my_dim_x': 'x'})
+        res = resampler.get_sample_from_neighbour_info(data)
+        self.assertIsInstance(res, xr.DataArray)
+        self.assertIsInstance(res.data, da.Array)
+        six.assertCountEqual(self, res.coords['bands'], ['r', 'g', 'b'])
+        res = res.values
+        cross_sum = np.nansum(res)
+        expected = 83120259.0
+        self.assertEqual(cross_sum, expected)
+
+    @unittest.skipIf(True, "Multiple neighbors not supported yet")
+    def test_nearest_swath_1d_mask_to_grid_8n(self):
+        """Test 1D swath definition to 2D grid definition; 8 neighbors."""
+        from pyresample.kd_tree import XArrayResamplerNN
+        import xarray as xr
+        import dask.array as da
+        resampler = XArrayResamplerNN(self.tswath_1d, self.tgrid,
+                                      radius_of_influence=100000,
+                                      neighbours=8)
+        data = self.tdata_1d
+        ninfo = resampler.get_neighbour_info(mask=data.isnull())
+        for val in ninfo[:3]:
+            # vii, ia, voi
+            self.assertIsInstance(val, da.Array)
+        res = resampler.get_sample_from_neighbour_info(data)
+        self.assertIsInstance(res, xr.DataArray)
+        self.assertIsInstance(res.data, da.Array)
+        # actual = res.values
+        # expected = TODO
+        # np.testing.assert_allclose(actual, expected)
 
 
 def suite():
-    """The test suite.
-    """
+    """The test suite."""
     loader = unittest.TestLoader()
     mysuite = unittest.TestSuite()
     mysuite.addTest(loader.loadTestsFromTestCase(Test))
+    mysuite.addTest(loader.loadTestsFromTestCase(TestXArrayResamplerNN))
 
     return mysuite
 
diff -Nru pyresample-1.9.3/pyresample/test/test_spherical.py pyresample-1.10.1/pyresample/test/test_spherical.py
--- pyresample-1.9.3/pyresample/test/test_spherical.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/test/test_spherical.py	2018-07-03 08:44:15.000000000 +0000
@@ -185,7 +185,7 @@
         lon, lat = arc1.intersection(arc2)
 
         self.assertTrue(np.allclose(np.rad2deg(lon), 5))
-        self.assertEquals(np.rad2deg(lat), 5.0575148968282093)
+        self.assertEquals(np.rad2deg(lat).round(7), round(5.0575148968282093, 7))
 
         arc1 = Arc(SCoordinate(0, 0),
                    SCoordinate(np.deg2rad(10), np.deg2rad(10)))
diff -Nru pyresample-1.9.3/pyresample/version.py pyresample-1.10.1/pyresample/version.py
--- pyresample-1.9.3/pyresample/version.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/pyresample/version.py	2018-07-03 08:44:15.000000000 +0000
@@ -16,4 +16,4 @@
 # You should have received a copy of the GNU Lesser General Public License
 # along with this program.  If not, see .
 
-__version__ = '1.9.3'
+__version__ = '1.10.1'
diff -Nru pyresample-1.9.3/setup.py pyresample-1.10.1/setup.py
--- pyresample-1.9.3/setup.py	2018-06-08 20:33:37.000000000 +0000
+++ pyresample-1.10.1/setup.py	2018-07-03 08:44:15.000000000 +0000
@@ -27,7 +27,7 @@
 version = imp.load_source('pyresample.version', 'pyresample/version.py')
 
 requirements = ['setuptools>=3.2', 'pyproj>=1.9.5.1', 'numpy>=1.10.0', 'configobj',
-                'pykdtree>=1.1.1', 'pyyaml', 'six']
+                'pykdtree>=1.3.1', 'pyyaml', 'six']
 extras_require = {'pykdtree': ['pykdtree>=1.1.1'],
                   'numexpr': ['numexpr'],
                   'quicklook': ['matplotlib', 'cartopy', 'pillow'],