Resurrect cost_size (w/ DeprecationWarning), write test for it.