optimised box_in_tree and hypothetically optimised screen blit