- if(l && hit_in_bucket(*(bucket-1), x, y, shape)) return true;
- if(t && hit_in_bucket(*(bucket-bw), x, y, shape)) return true;
- if(l && t && hit_in_bucket(*(bucket-(1+bw)), x, y, shape)) return true;
+ if(l > 0 && hit_in_bucket(*(bucket-1), x, y, shape)) return true;
+ if(t > 0 && hit_in_bucket(*(bucket-bw), x, y, shape)) return true;
+ if(l > 0 && t > 0 && hit_in_bucket(*(bucket-1-bw), x, y, shape)) return true;