First time here? Check out the FAQ!
answered 2013-05-29 01:18:15 -0600
IF this code is exactly as implemented, you have a wrong parameter. NumStages is assigned 2. Knowing it starts at stage 0, it is actually perfectly normal to stop at that criteria. Try upping NumStages to 20 for example.