Ofast optimization