Added checks on Node output when `size_out` is provided.