modulo bisect

White Monkey