detail optimization.