fix: scaling based on preprocessor instead of grid estimation and padding 2eed778 verified ajinauser commited on Jul 11