somehow working. still need to consider rescaling of radius