Embedded system cost optimization via data path width adjustment