calculate crowdbar amount