Removed jumps (ifs)
Merged optimalizations.