Bring all codes to a single standard, optimize with improved algorithms and the use of pointers instead of managed arrays.