In-treatment dose adaptation