put runtime computed pads values to files
some refactoring