optimize hlcross