Removed debugging flags
Optimized cmp and changed a bit during some testing
Experiments and performace script.