Fixed padding to take into account different data types.