Update randomblock.cc