added box case code
input file modified for box case