use relation-to-scalar-cast instead of CROSS