making iteration counts to be compile time constant and passed as compiler flags