Renamed sampleBox to box
Implemented initFixedBoxes