add a bed in the same placement as the reference image