Revert "assert cost obj"

This reverts commit 2a2d29bdf6bab9eb57343b3deecb6739b8ca712c.