Added functions parsing, fixed jump reduction optimization