Automated implant configuration optimisation for high dose rate brachytherapy