big performance boost for y_from_x