Routines for efficient yield mapping