async def METHOD_NAME(db, size):
    @transaction(db)
    async def _find_chunks(tx) -> List[Optional[Tuple[int, int, str]]]:
        start_time = time.time()
        await tx.just_execute('SET @rank=0;')
        query = f'''