solved
brute force plus a lot of clever chaos