finish steepest and fix its bug