update ptime_shape.c; bug of read file fixed