Moved helper function inside bstm_time_block class.