merge and colored shifts