Ok, I am going to give it a try! Unfortunately I haven't still work with dynamic variables (pointers), and this and assembly code is difficult for me to understand... By the way, what do you mean that its going to be 2x faster in 32bit?? How to do this (if use a 32bit pascal, right?) ? Anyway, thanks man! Once I put it in my program I am making,I am going to post again!