Optimize Shr and Shrs.