gen interval cst for inheritance.