"Surface Area Heuristic" implementation