Removed Stack with array

See the previous explanation for more info