Marcus Foster finished with 21 points and six assists