Add fn to pad with leading zeros