 teamutils   = require './teamutils'
 konstraints = require 'konstraints'
 
+MAX_INT     = Math.pow(2, 32) - 1
 
 module.exports = class ComputeProvider extends Base
 


    plan = group.getAt 'config.plan'

    if plan
      plan       = teamutils.getPlanData plan
      maxAllowed = plan.member
    else
      maxAllowed = 9999

    JCounter = require '../counter'
    JCounter[change]

    plan = group.getAt 'config.plan'
    return callback null  if amount is 0

    maxAllowed   = MAX_INT
    if plan
      plan       = teamutils.getPlanData plan
      maxAllowed = plan.maxInstance

    JCounter = require '../counter'
    JCounter[change]
