updated drawBox.R to have less stringent zero test