code: public static long nextPowOf2(long v) {
          v--;
          v |= v >> 1;
          v |= v >> 2;
          v |= v >> 4;
          v |= v >> 8;
          v |= v >> 16;
          v++;
          return v;
  
      }
docs: See: http://stackoverflow.com/questions/466204/rounding-off-to-nearest-power-of-2
  @param v the number to getFromOrigin the next power of 2 for
  @return the next power of 2 for the passed in value