Updated about space complexity