fixed condition stock generation