apply_size_from_tdl