as_strided is fixed in numpy