fixed divide by error for some edgae case metagenomes