Updated to correct halving value and changed max cap