An optimized hybrid algorithm in term of energy and performance for mapping real time workloads on 2d based on-chip networks