Adding the least loss fd with subset method of solving it