pushed list of states to graph class (PROBCORE-284)
Use long instead of BigInteger (PROBCORE-284)
- Implementation is simpler and we do not expect to get too many states for a long value