calculate outline icon