added iPow/Pow, better memory use in AABB_GatherEdges, fixed some dumb stuff