Fixed issue with box_i thanks to FROGGS++