mass-conservation/obstacle-deflection working