Started to move the credits stored in gids to log2 base representation. Not completely done yet...
Switching credits in gids to be log2 encoded
Merge branch 'fixing_987'