Better interface for child process

Need to improve fault tolerance
Added split_payload_range()