Reviewed-by: kvn, iignatyev
Don't rely on the RPO order to find the "first" and "last" loads of the pack Reviewed-by: kvn