change the beam layout on the inside to the reference image