improved score checking - less memory usage