Removed checkpoweroftwo.
Removed checkpoweroftwo.
Removed outdated flags.