Calculate only once.