refine the BED file object to build up output
output the results