def _round_up(value, n):
  """Rounds up the given value to the next number divisible by n.
  Args:
    value: int to be rounded up.
    n: the number that should be divisible into value.
  Returns:
    the result of value rounded up to the next multiple of n.
  """
  return n * ((value + (n - 1)) // n)