An Iterative Method For Hypothetical Reference Decoder