[SfM] Code style fixes