Fixed an issue with padding assignment in program.