try to add bitwise loop