improve time of matrix gener by 60% and remove completely "noninherited" logic for arp gen