Solved B-small with pypy