Correct operator== signature for sparse_stack.
Use sparse_stack to store values in proto environment.