An implicit algorithm for capturing sharp fluid interfaces in the volume of fluid advection method