Made the static booleanvalues shared pointers

This is basically the same trick as we applied to the EmptyValue