fast methods for manipulating one single shift register