tweaked B1, qs is around 30% faster now