It takes too many time to run one for iteration because the quantity of if in it, if its a better solution for it and someone can help me i would be very greatfull. The func