Return an error if not the same length