improve quality measure of frontiers