account for keyspace for cached statemets