changed the range for PDF weights from 1-45 to 1-44

+ some indentation fixes