calculate rounded icon