Made frontier estimate computation more efficient.