made vacban checking more efficient