improving liquid boundary behavior