Added required input validation to boundSizeCheck (untested)