stockLevel rebuild

remove array access