add padding factor for the fit functionallity