init pair shifting