total memory util
unit tests fix
fixed SP_NEXT_POWER_OF_2() macro
stats fix
cleanup