Modified F.java for new Model -> Performance Boost ~90%