added bead penalties, fixed corridor