modified:   interval.c
    fixed the bug of error of alloc