Added a dynamic version of the throwaway_bits post-processing.