Completed forced justification algorithm