fixed subtracting box count
more precise narrow phase type