implement snapshot sequence and region caculate

implement snapshot sequence and region caculate