[FIX] first version of a heavy and lightweight BAM I/O context