Optimization&Readability
Created by: Koward
Small changes : caching of axis-aligned bounding boxes, more readable code (no more vanilla i1, i2, i3 but more meaningful names).
I have reworked my previous PR (I closed it due to an out-of-sync master branch showing many already merged commits, polluting logs). I fixed it, now the log should be clean and easy to review.