Allocate a box in Boolean on the GC instead of the heap