rework of fibgen, added multi tracks