Influence of shell structure on multipole pairing