Patch files for numpy constructor performance issue