fixed grid since we don't know the order of the output