Jesus Christ!! I must be the stupidest person in the world! I just looked at my code again and found so many errors I couldn't believe them. And all this after hours and hours of searching. 1) I screwed up my for...loops 2) I used mulu where rol would probably be better 3) I screwed up with variable levelptr 4) Probably more but I don't know it yet