Model-driven engineering of supramolecular buffering by multivalency