Modified padding syntax in the write_value function of the DSG