solved numpy DeprecationWarning: using a non-integer number instead of an integer will
result in an error in the future
  return c.reshape(shape)