[feature] improvement of the behaviour when preserving the ratio