Add assert to cross

this includes the other fix, but also adds an assert for when 'out' makes no sense and is unused.