fixed max bug in SimpleVector