improved coordinate intersector to keep the attributes of the bed format