Graph-to-Segment Transformation Technique minimizing the number of processors for Real-time Multiprocessor Systems