np.min and np.max would be much faster