Finished -- modified to account for not only transcripts with single PAS but also for the transcripts with several PASs