Get pointers of inside/outside scores outside loops

It makes 20~25% faster