[FIX, FEATURE] Started to convert BAM to new stream module.