The invention relates to a system for delivering a radiation treatment to a structure (21) within a body. In the system, a plurality of treatments plans is provided, each treatment plan being associated to one of a plurality of predefined possible position (33a 33b) of the structure (21), which area regularly distributed on at least one predefined surface (32a 32b). A control unit is configured to determine the position of the structure during the treatment and to select a treatment plan which is associated with a predefined possible position having a smallest distance to the determined position, for controlling the radiation source in response to the detection of the position. Moreover, the invention relates to a computer program for controlling the system and to a planning unit for generating the treatment plans.