VIB.segment.CustomStackWindow: Improved speed for both adding to and
removing from material.