Computing orientation assignment