init value computation