Allocate operator context lazily; register context stack with valgrind