simplexn extended and polished