Also, as mentioned in the error statement, there is no use for values given to constant not present in y are not useful. WDYT @jnothman ?