roundify separated into functions

fixed minimal radius