switching order of dimensions in fp example.