Works. Completed 66 on Kattis with 79 bits max size.