I think this condition can be rephrased as `abs(vecs[1][1]) <= abs(vecs[1][0])`. It's shorter and doesn't require division or checking for 0.