Bug in partione routine.