Refactored pre determined shuffler