re-organize lb function by creating fixedPointPrimal, fixedPointDual ...