Every dollar removed from the 401k costs a significant amount due to taxes and penalty. If you can, always avoid taking money out.