Spatial optimization for radiation therapy of brain tumours