rework 'last bit' processing for data frames